-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathracer.yaml
134 lines (118 loc) · 3.53 KB
/
racer.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#
# Copyright (c) 2023 Composiv.ai
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v2.0
# and Eclipse Distribution License v1.0 which accompany this distribution.
#
# Licensed under the Eclipse Public License v2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# The Eclipse Public License is available at
# http://www.eclipse.org/legal/epl-v20.html
# and the Eclipse Distribution License is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#
# Contributors:
# Composiv.ai - initial API and implementation
#
#
/**:
ros__parameters:
twin_url: "http://ditto:[email protected]"
anonymous: false
prefix: muto
namespace: org.eclipse.muto.sandbox
name: hackracer-98
type: real_car
attributes: '{"brand": "Traxxas", "model": "Slash 4x4"}'
stack_topic: "stack"
twin_topic: "twin"
agent_to_gateway_topic: "agent_to_gateway_hackracer"
gateway_to_agent_topic: "gateway_to_agent_hackracer"
agent_to_commands_topic: "agent_to_command_hackracer"
commands_to_agent_topic: "command_to_agent_hackracer"
/**/mqtt_gateway:
ros__parameters:
host: sandbox.composiv.ai # subject to change
port: 1883
keep_alive: 60
user: null
password: null
prefix: muto
namespace: org.eclipse.muto.sandbox
/**/commands_plugin:
ros__parameters:
commands:
command1:
name: ros/topic
service: rostopic_list
plugin: CommandPlugin
command2:
name: ros/topic/info
service: rostopic_info
plugin: CommandPlugin
command3:
name: ros/topic/echo
service: rostopic_echo
plugin: CommandPlugin
command4:
name: ros/node
service: rosnode_list
plugin: CommandPlugin
command5:
name: ros/node/info
service: rosnode_info
plugin: CommandPlugin
command6:
name: ros/param
service: rosparam_list
plugin: CommandPlugin
command7:
name: ros/param/get
service: rosparam_get
plugin: CommandPlugin
/**/muto_composer:
ros__parameters:
nav_topic: /nav
pipelines:
- name: start
pipeline:
- sequence:
- service: muto_compose
plugin: ComposePlugin
- service: muto_start_stack
plugin: ComposePlugin
compensation:
- service: muto_kill_stack
plugin: ComposePlugin
- name: kill
pipeline:
- sequence:
- service: muto_compose
plugin: ComposePlugin
- service: muto_kill_stack
plugin: ComposePlugin
compensation:
- service: muto_kill_stack
plugin: ComposePlugin
- name: apply
pipeline:
- sequence:
- service: muto_compose
plugin: ComposePlugin
- service: muto_apply_stack
plugin: ComposePlugin
compensation:
- service: muto_kill_stack
plugin: ComposePlugin
mqtt:
host: sandbox.composiv.ai # subject to change
port: 1883
keep_alive: 60
user: none
password: none
thing:
namespace: org.eclipse.muto.sandbox # subject to change
anonymous: False # Use this for automatically generated id (uuid based)
# if anonymous is True or anynoymous param is missing, name/id will be auto generated