-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_mavlink.yaml
49 lines (43 loc) · 1.19 KB
/
config_mavlink.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
# config.yaml for uav_mavlink
# Section 1: rates for polling HIGHRES_IMU and ATTITUDE_QUATERNION
# Recommended for VINS Mono, 100Hz
mavlink_rate: 100
# Section 2: link between ardupilot and uav_mavlink
# "uart" --> UART
# "udpc" --> UDP Client
# "udps" --> UDP Server
# "split" --> splitter, which is used for time critical image&imu sync data
mavlink_activate: "split"
# Section 3: drone links
# Currently, there is only one link, dual link might be considered for backup.
# Please check above activated link.
uav_com:
- type: "uart"
path: "/dev/ttyUSB0"
baud: 921600
- type: "udps"
port-s: 14550
- type: "udpc"
port: 14550
addr: "192.168.1.15"
- type: "split"
port-s: 5600
port: 5700
addr: "127.0.0.1"
clock: 95000
sync: 50
frame: 15
threshold: 10
# Section 4: IPC links between VINS Mono/Fusion, ego-planner and uav_mavlink
# "ipc1" --> for att_pos_mocap/vision_speed_estimate
# "ipc2" --> for MAV_FRAME_BODY_OFFSET_NED commands
ipcs:
- type: "ipc1"
path: "/tmp/uav_server"
- type: "ipc2"
path: "/tmp/uav_server2"
# Section 5: ROS topic for IMU data/IMG time
uav_imu: "/tmp/uav_imu"
uav_img: "/tmp/uav_tim0"
# Section 6: debug
debug: true