-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1835 from vacabun/multi_uas_launch_fix
Multi-UAS launch
- Loading branch information
Showing
4 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<launch> | ||
<!-- px4_0 --> | ||
<group> | ||
<arg name="id" default="0" /> | ||
<arg name="fcu_url" default="udp://:14540@127.0.0.1:14580" /> | ||
<include file="$(find-pkg-share mavros)/launch/px4.launch"> | ||
<arg name="tgt_system" value="$(eval '1 + int(\'$(var id)\') ')" /> | ||
<arg name="namespace" value="$(eval ' \'mavros/uas_\' + \'$(var tgt_system)\' ')" /> | ||
</include> | ||
</group> | ||
<!-- px4_1 --> | ||
<group> | ||
<arg name="id" default="1" /> | ||
<arg name="fcu_url" default="udp://:14541@127.0.0.1:14581" /> | ||
<include file="$(find-pkg-share mavros)/launch/px4.launch"> | ||
<arg name="tgt_system" value="$(eval '1 + int(\'$(var id)\') ')" /> | ||
<arg name="namespace" value="$(eval ' \'mavros/uas_\' + \'$(var tgt_system)\' ')" /> | ||
</include> | ||
</group> | ||
</launch> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters