ROS launch: cleanup

* remove non-functional gazebo headless arg
* remove unused namespace args
* simplify mavros launch, use mavros's px4.launch instead
* fix single_vehicle_spawn spelling
* formatting with xmllint: remove empty lines, set intent to 4 spaces, add xml tag for editors, add comments to break up spections
* remove old and deprecated launch files
This commit is contained in:
Anthony Lamping
2018-02-09 13:40:38 -05:00
committed by Lorenz Meier
parent a637063965
commit b1f08a9640
27 changed files with 104 additions and 595 deletions
+5 -10
View File
@@ -1,22 +1,17 @@
<?xml version="1.0"?>
<launch>
<!-- Posix SITL MAVROS integration tests -->
<arg name="ns" default="/"/>
<arg name="headless" default="true"/>
<!-- Test offboard attitude control with iris -->
<arg name="gui" default="false"/>
<arg name="est" default="ekf2"/>
<arg name="respawn_gazebo" default="true"/>
<!-- MAVROS, PX4 SITL, Gazebo -->
<include file="$(find px4)/launch/mavros_posix_sitl.launch">
<arg name="ns" value="$(arg ns)"/>
<arg name="headless" value="$(arg headless)"/>
<arg name="gui" value="$(arg gui)"/>
<arg name="vehicle" value="iris"/>
<arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
</include>
<group ns="$(arg ns)">
<test test-name="mavros_offboard_attctl_test" pkg="px4" type="mavros_offboard_attctl_test.py" time-limit="120.0"/>
</group>
<!-- ROStest -->
<test test-name="mavros_offboard_attctl_test" pkg="px4" type="mavros_offboard_attctl_test.py" time-limit="120.0"/>
</launch>