diff options
Diffstat (limited to 'launch/gazebo_ardrone_empty_world.launch')
-rw-r--r-- | launch/gazebo_ardrone_empty_world.launch | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/launch/gazebo_ardrone_empty_world.launch b/launch/gazebo_ardrone_empty_world.launch index 22bfb0c79..122a27867 100644 --- a/launch/gazebo_ardrone_empty_world.launch +++ b/launch/gazebo_ardrone_empty_world.launch @@ -4,15 +4,18 @@ <arg name="gui" default="true"/> <arg name="enable_logging" default="false"/> <arg name="enable_ground_truth" default="false"/> - <arg name="log_file" default="ardrone"/> + <arg name="ns" default="ardrone"/> + <arg name="log_file" default="$(arg ns)"/> - <include file="$(find rotors_gazebo)/launch/ardrone_empty_world_with_joy.launch"> + <include file="$(find rotors_gazebo)/launch/ardrone_empty_world.launch"> <arg name="headless" value="$(arg headless)"/> <arg name="gui" value="$(arg gui)"/> <arg name="enable_logging" value="$(arg enable_logging)" /> <arg name="enable_ground_truth" value="$(arg enable_ground_truth)" /> <arg name="log_file" value="$(arg log_file)"/> </include> - <include file="$(find px4)/launch/ardrone.launch" /> + <include file="$(find px4)/launch/ardrone.launch"> + <arg name="ns" value="$(arg ns)"/> + </include> </launch> |