2016-04-20 11:51:58 -03:00
|
|
|
<launch>
|
|
|
|
<!-- Posix SITL environment launch script -->
|
|
|
|
|
|
|
|
<arg name="headless" default="false"/>
|
|
|
|
<arg name="gui" default="true"/>
|
|
|
|
<arg name="ns" default="/"/>
|
2016-08-05 16:29:49 -03:00
|
|
|
<arg name="world" default="iris"/>
|
2016-04-20 11:51:58 -03:00
|
|
|
<arg name="build" default="posix_sitl_default"/>
|
|
|
|
|
2016-08-05 16:29:49 -03:00
|
|
|
<node pkg="px4" type="sitl_run.sh" name="simulator" args="posix-configs/SITL/init/rcS none gazebo $(arg world) $(find px4)/build_$(arg build)">
|
|
|
|
<env name="no_sim" value="1" />
|
2016-04-20 11:51:58 -03:00
|
|
|
</node>
|
|
|
|
|
|
|
|
<include file="$(find gazebo_ros)/launch/empty_world.launch">
|
|
|
|
<arg name="headless" value="$(arg headless)"/>
|
|
|
|
<arg name="gui" value="$(arg gui)"/>
|
2016-08-05 16:29:49 -03:00
|
|
|
<arg name="world_name" value="$(find px4)/Tools/sitl_gazebo/worlds/$(arg world).world" />
|
2016-04-20 11:51:58 -03:00
|
|
|
</include>
|
|
|
|
</launch>
|