From b1f08a96406c806b3f8891b1786a3e304d6cff9d Mon Sep 17 00:00:00 2001 From: Anthony Lamping Date: Fri, 9 Feb 2018 13:40:38 -0500 Subject: [PATCH] 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 --- launch/ardrone.launch | 22 ----- launch/example.launch | 8 -- launch/gazebo_ardrone_empty_world.launch | 21 ---- ...e_empty_world_offboard_attitudedemo.launch | 14 --- ...e_empty_world_offboard_positiondemo.launch | 14 --- launch/gazebo_ardrone_house_world.launch | 21 ---- launch/gazebo_iris_empty_world.launch | 21 ---- launch/gazebo_iris_house_world.launch | 21 ---- launch/gazebo_iris_mavros_posix_sitl.launch | 23 ----- launch/gazebo_iris_outdoor_world.launch | 21 ---- launch/hippocampus.launch | 59 ------------ launch/iris.launch | 23 ----- launch/mavros.launch | 25 ----- launch/mavros_posix_sitl.launch | 35 +++---- launch/mavros_sitl.launch | 21 ---- launch/multi_uav.launch | 55 ----------- launch/multi_uav_mavros_sitl.launch | 95 +++++++------------ launch/multicopter.launch | 20 ---- launch/multicopter_w.launch | 14 --- launch/multicopter_x.launch | 14 --- launch/posix_sitl.launch | 36 +++---- ...awn.launch => single_vehicle_spawn.launch} | 29 +++--- test/mavros_posix_test_mission.test | 15 +-- test/mavros_posix_tests_iris_opt_flow.test | 17 ++-- test/mavros_posix_tests_missions.test | 25 ++--- test/mavros_posix_tests_offboard_attctl.test | 15 +-- test/mavros_posix_tests_offboard_posctl.test | 15 +-- 27 files changed, 104 insertions(+), 595 deletions(-) delete mode 100644 launch/ardrone.launch delete mode 100644 launch/example.launch delete mode 100644 launch/gazebo_ardrone_empty_world.launch delete mode 100644 launch/gazebo_ardrone_empty_world_offboard_attitudedemo.launch delete mode 100644 launch/gazebo_ardrone_empty_world_offboard_positiondemo.launch delete mode 100644 launch/gazebo_ardrone_house_world.launch delete mode 100644 launch/gazebo_iris_empty_world.launch delete mode 100644 launch/gazebo_iris_house_world.launch delete mode 100644 launch/gazebo_iris_mavros_posix_sitl.launch delete mode 100644 launch/gazebo_iris_outdoor_world.launch delete mode 100644 launch/hippocampus.launch delete mode 100644 launch/iris.launch delete mode 100644 launch/mavros.launch delete mode 100644 launch/mavros_sitl.launch delete mode 100644 launch/multi_uav.launch delete mode 100644 launch/multicopter.launch delete mode 100644 launch/multicopter_w.launch delete mode 100644 launch/multicopter_x.launch rename launch/{single_vehcile_spawn.launch => single_vehicle_spawn.launch} (60%) diff --git a/launch/ardrone.launch b/launch/ardrone.launch deleted file mode 100644 index db980731fe..0000000000 --- a/launch/ardrone.launch +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/example.launch b/launch/example.launch deleted file mode 100644 index 39da4b3d42..0000000000 --- a/launch/example.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/launch/gazebo_ardrone_empty_world.launch b/launch/gazebo_ardrone_empty_world.launch deleted file mode 100644 index 7243e7476e..0000000000 --- a/launch/gazebo_ardrone_empty_world.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/gazebo_ardrone_empty_world_offboard_attitudedemo.launch b/launch/gazebo_ardrone_empty_world_offboard_attitudedemo.launch deleted file mode 100644 index 1309529b63..0000000000 --- a/launch/gazebo_ardrone_empty_world_offboard_attitudedemo.launch +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/launch/gazebo_ardrone_empty_world_offboard_positiondemo.launch b/launch/gazebo_ardrone_empty_world_offboard_positiondemo.launch deleted file mode 100644 index 0371306ce5..0000000000 --- a/launch/gazebo_ardrone_empty_world_offboard_positiondemo.launch +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/launch/gazebo_ardrone_house_world.launch b/launch/gazebo_ardrone_house_world.launch deleted file mode 100644 index 89f27c901f..0000000000 --- a/launch/gazebo_ardrone_house_world.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/gazebo_iris_empty_world.launch b/launch/gazebo_iris_empty_world.launch deleted file mode 100644 index 0e80208e67..0000000000 --- a/launch/gazebo_iris_empty_world.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/gazebo_iris_house_world.launch b/launch/gazebo_iris_house_world.launch deleted file mode 100644 index d0e824d4b5..0000000000 --- a/launch/gazebo_iris_house_world.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/gazebo_iris_mavros_posix_sitl.launch b/launch/gazebo_iris_mavros_posix_sitl.launch deleted file mode 100644 index 8662dad9a8..0000000000 --- a/launch/gazebo_iris_mavros_posix_sitl.launch +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/gazebo_iris_outdoor_world.launch b/launch/gazebo_iris_outdoor_world.launch deleted file mode 100644 index e75e57b877..0000000000 --- a/launch/gazebo_iris_outdoor_world.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/hippocampus.launch b/launch/hippocampus.launch deleted file mode 100644 index 56e5720c4e..0000000000 --- a/launch/hippocampus.launch +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/iris.launch b/launch/iris.launch deleted file mode 100644 index 798b761d76..0000000000 --- a/launch/iris.launch +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/mavros.launch b/launch/mavros.launch deleted file mode 100644 index ddb78f955a..0000000000 --- a/launch/mavros.launch +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/mavros_posix_sitl.launch b/launch/mavros_posix_sitl.launch index 390452cd86..e521795c18 100644 --- a/launch/mavros_posix_sitl.launch +++ b/launch/mavros_posix_sitl.launch @@ -1,34 +1,29 @@ + - + + - - + - - - + - - - - - - - + + + @@ -40,22 +35,16 @@ - - - - - - + + + + - - - - diff --git a/launch/mavros_sitl.launch b/launch/mavros_sitl.launch deleted file mode 100644 index 50ede33f9c..0000000000 --- a/launch/mavros_sitl.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/multi_uav.launch b/launch/multi_uav.launch deleted file mode 100644 index 6fb1589e80..0000000000 --- a/launch/multi_uav.launch +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/multi_uav_mavros_sitl.launch b/launch/multi_uav_mavros_sitl.launch index ebedfc3c3e..5bea67c670 100644 --- a/launch/multi_uav_mavros_sitl.launch +++ b/launch/multi_uav_mavros_sitl.launch @@ -1,42 +1,31 @@ + - - - - - - + + - - + - - - - - - + + + + - - - - - + + + + - - + - - - - - + - - + + + @@ -44,32 +33,25 @@ - + - - - - - - - - - + + + + + + - - + - - - - - + - - + + + @@ -77,21 +59,16 @@ - + - - - - - - - - - + + + + + + - - diff --git a/launch/multicopter.launch b/launch/multicopter.launch deleted file mode 100644 index bf68da95dd..0000000000 --- a/launch/multicopter.launch +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/launch/multicopter_w.launch b/launch/multicopter_w.launch deleted file mode 100644 index 617357452f..0000000000 --- a/launch/multicopter_w.launch +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/launch/multicopter_x.launch b/launch/multicopter_x.launch deleted file mode 100644 index b7db46dcb5..0000000000 --- a/launch/multicopter_x.launch +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/launch/posix_sitl.launch b/launch/posix_sitl.launch index 9e828182c2..215716db07 100644 --- a/launch/posix_sitl.launch +++ b/launch/posix_sitl.launch @@ -1,45 +1,37 @@ + - + + + - - + - - - - - - + + + - - - - - + + + + - - - - + + - - diff --git a/launch/single_vehcile_spawn.launch b/launch/single_vehicle_spawn.launch similarity index 60% rename from launch/single_vehcile_spawn.launch rename to launch/single_vehicle_spawn.launch index 62edecb7e2..556fda1a3d 100644 --- a/launch/single_vehcile_spawn.launch +++ b/launch/single_vehicle_spawn.launch @@ -1,33 +1,26 @@ + - + + + - - - - + + - - - - - + + + - - - - + + - - diff --git a/test/mavros_posix_test_mission.test b/test/mavros_posix_test_mission.test index 5b48ce16d8..06b92aa14a 100644 --- a/test/mavros_posix_test_mission.test +++ b/test/mavros_posix_test_mission.test @@ -1,24 +1,19 @@ + - - - + - + - - - - - - + + diff --git a/test/mavros_posix_tests_iris_opt_flow.test b/test/mavros_posix_tests_iris_opt_flow.test index ae174029fd..0ecc9a5dd9 100644 --- a/test/mavros_posix_tests_iris_opt_flow.test +++ b/test/mavros_posix_tests_iris_opt_flow.test @@ -1,23 +1,18 @@ + - - - + - + - - - - - - - + + + diff --git a/test/mavros_posix_tests_missions.test b/test/mavros_posix_tests_missions.test index 2ac8217ad4..88d0b3c42f 100644 --- a/test/mavros_posix_tests_missions.test +++ b/test/mavros_posix_tests_missions.test @@ -1,27 +1,22 @@ + - - - + - + - - - - - - - - - - - + + + + + + + diff --git a/test/mavros_posix_tests_offboard_attctl.test b/test/mavros_posix_tests_offboard_attctl.test index e6407166f1..0db15caf23 100644 --- a/test/mavros_posix_tests_offboard_attctl.test +++ b/test/mavros_posix_tests_offboard_attctl.test @@ -1,22 +1,17 @@ + - - - + - + - - - - - - + + diff --git a/test/mavros_posix_tests_offboard_posctl.test b/test/mavros_posix_tests_offboard_posctl.test index 92905e6870..d8a6adee01 100644 --- a/test/mavros_posix_tests_offboard_posctl.test +++ b/test/mavros_posix_tests_offboard_posctl.test @@ -1,22 +1,17 @@ + - - - + - + - - - - - - + +