-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsample_config.json
92 lines (92 loc) · 1.78 KB
/
sample_config.json
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
{
"modules": [
{
"type": "local",
"name": "ros2",
"executable_path": "/home/ubuntu/viam-ros2-module/run.sh"
},
{
"executable_path": "/usr/local/bin/cartographer-module",
"type": "local",
"name": "cartographer-module"
}
],
"services": [
{
"type": "slam",
"model": "viam:slam:cartographer",
"attributes": {
"config_params": {
"mode": "2d"
},
"data_dir": "/root/cdir",
"sensors": [
"lidar"
]
},
"name": "slam"
},
{
"name": "datacapture",
"type": "data_manager",
"attributes": {
"capture_dir": "",
"tags": [
"ros2"
],
"additional_sync_paths": [
"/opt/rosbags"
],
"sync_interval_mins": 5
}
},
{
"type": "shell",
"attributes": {},
"name": "shell"
}
],
"components": [
{
"name": "rosbase",
"type": "base",
"model": "viamlabs:ros2:base",
"attributes": {
"ros_topic": "/cmd_vel",
"publish_rate": "0.2"
},
"depends_on": []
},
{
"depends_on": [],
"name": "imu",
"type": "movement_sensor",
"model": "viamlabs:ros2:imu",
"attributes": {
"ros_topic": "/imu"
}
},
{
"model": "viamlabs:ros2:lidar",
"attributes": {
"ros_topic": "/scan"
},
"depends_on": [],
"name": "lidar",
"type": "camera"
},
{
"depends_on": [],
"name": "sensor",
"type": "sensor",
"model": "viamlabs:ros2:sensor",
"attributes": {
"ros_msg_type": "HazardDetectionVector",
"ros_topic": "/hazard_detection"
}
}
],
"network": {
"bind_address": ":9090"
}
}