Skip to content

Commit a5fbda3

Browse files
committed
[feat] updated params for multi-vehicle simulation
1 parent 0e6b4df commit a5fbda3

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

config/mavros_config.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,33 @@
11
/**:
22
ros__parameters:
3-
fcu_url: "udp://:[email protected]:14557" # Autopilot address for connection
3+
# fcu_url: "udp://:[email protected]:14557" # Autopilot address for connection
44
gcs_url: "" # URL for the GCS
5-
tgt_system: 1 # Target system ID
5+
# tgt_system: 1 # Target system ID
66
tgt_component: 1 # Target component ID
77
log_output: "screen" # Logging output type
88
fcu_protocol: "v2.0" # Protocol version for the FCU
99
respawn_mavros: "false" # Respawn mavros node if it dies
10+
11+
drone0:
12+
mavros/mavros_node:
13+
ros__parameters:
14+
fcu_url: "udp://:[email protected]:14557" # Autopilot address for connection
15+
tgt_system: 1 # Target system ID
16+
17+
drone1:
18+
mavros/mavros_node:
19+
ros__parameters:
20+
fcu_url: "udp://:[email protected]:14558" # Autopilot address for connection
21+
tgt_system: 2 # Target system ID
22+
23+
drone2:
24+
mavros/mavros_node:
25+
ros__parameters:
26+
fcu_url: "udp://:[email protected]:14559" # Autopilot address for connection
27+
tgt_system: 3 # Target system ID
28+
29+
drone3:
30+
mavros/mavros_node:
31+
ros__parameters:
32+
fcu_url: "udp://:[email protected]:14560" # Autopilot address for connection
33+
tgt_system: 4 # Target system ID

0 commit comments

Comments
 (0)