From e263af359e18902949f547d2feba7a9e3a0e9d1e Mon Sep 17 00:00:00 2001
From: Anthony Lamping <lamping.ap@gmail.com>
Date: Thu, 14 Jun 2018 20:37:25 -0400
Subject: [PATCH] launch: make px4 required (#9682)

---
 launch/posix_sitl.launch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/launch/posix_sitl.launch b/launch/posix_sitl.launch
index a9c7dc5259..64df6d349d 100644
--- a/launch/posix_sitl.launch
+++ b/launch/posix_sitl.launch
@@ -26,7 +26,7 @@
     <!-- PX4 SITL -->
     <arg unless="$(arg interactive)" name="px4_command_arg1" value="-d"/>
     <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 -->
     <include file="$(find gazebo_ros)/launch/empty_world.launch">
         <arg name="gui" value="$(arg gui)"/>
-- 
GitLab