launch: make px4 required (#9682)

This commit is contained in:
Anthony Lamping 2018-06-14 20:37:25 -04:00 committed by Daniel Agar
parent 1da87aa173
commit e263af359e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<!-- PX4 SITL --> <!-- PX4 SITL -->
<arg unless="$(arg interactive)" name="px4_command_arg1" value="-d"/> <arg unless="$(arg interactive)" name="px4_command_arg1" value="-d"/>
<arg if="$(arg interactive)" name="px4_command_arg1" value=""/> <arg if="$(arg interactive)" name="px4_command_arg1" value=""/>
<node name="sitl" pkg="px4" type="px4" output="screen" args="$(find px4) $(arg rcS) $(arg px4_command_arg1)"/> <node name="sitl" pkg="px4" type="px4" output="screen" args="$(find px4) $(arg rcS) $(arg px4_command_arg1)" required="true"/>
<!-- Gazebo sim --> <!-- Gazebo sim -->
<include file="$(find gazebo_ros)/launch/empty_world.launch"> <include file="$(find gazebo_ros)/launch/empty_world.launch">
<arg name="gui" value="$(arg gui)"/> <arg name="gui" value="$(arg gui)"/>