2016-04-20 11:51:58 -03:00
|
|
|
<launch>
|
2016-08-25 16:47:45 -03:00
|
|
|
|
2016-04-20 11:51:58 -03:00
|
|
|
<!-- Posix SITL environment launch script -->
|
2016-08-25 16:47:45 -03:00
|
|
|
<arg name="x" default="0"/>
|
|
|
|
<arg name="y" default="0"/>
|
|
|
|
<arg name="z" default="0"/>
|
|
|
|
<arg name="R" default="0"/>
|
|
|
|
<arg name="P" default="0"/>
|
2016-12-12 20:46:09 -04:00
|
|
|
<arg name="Y" default="0"/>
|
2016-08-25 16:47:45 -03:00
|
|
|
<arg name="est" default="lpe"/>
|
|
|
|
<arg name="vehicle" default="iris"/>
|
|
|
|
<arg name="world" default="$(find mavlink_sitl_gazebo)/worlds/empty.world"/>
|
|
|
|
<arg name="sdf" default="$(find mavlink_sitl_gazebo)/models/$(arg vehicle)/$(arg vehicle).sdf"/>
|
|
|
|
<arg name="rcS" default="$(find px4)/posix-configs/SITL/init/$(arg est)/$(arg vehicle)"/>
|
2016-04-20 11:51:58 -03:00
|
|
|
|
|
|
|
<arg name="headless" default="false"/>
|
|
|
|
<arg name="gui" default="true"/>
|
|
|
|
<arg name="ns" default="/"/>
|
|
|
|
|
2016-08-25 16:47:45 -03:00
|
|
|
<arg name="debug" default="false"/>
|
|
|
|
<arg name="verbose" default="false"/>
|
|
|
|
<arg name="paused" default="false"/>
|
|
|
|
|
|
|
|
<node name="sitl" pkg="px4" type="px4" output="screen"
|
|
|
|
args="$(find px4) $(arg rcS)">
|
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-25 16:47:45 -03:00
|
|
|
<arg name="world_name" value="$(arg world)" />
|
|
|
|
<arg name="debug" value="$(arg debug)" />
|
|
|
|
<arg name="verbose" value="$(arg verbose)" />
|
|
|
|
<arg name="paused" value="$(arg paused)" />
|
2016-04-20 11:51:58 -03:00
|
|
|
</include>
|
2016-08-25 16:47:45 -03:00
|
|
|
|
|
|
|
<node name="$(anon vehicle_spawn)" output="screen" pkg="gazebo_ros" type="spawn_model"
|
|
|
|
args="-sdf -file $(arg sdf) -model $(arg vehicle) -x $(arg x) -y $(arg y) -z $(arg z) -R $(arg R) -P $(arg P) -Y $(arg Y)"/>
|
|
|
|
|
|
|
|
|
2016-04-20 11:51:58 -03:00
|
|
|
</launch>
|
2016-08-25 16:47:45 -03:00
|
|
|
|
2016-12-12 20:46:09 -04:00
|
|
|
<!-- vim: set et ft=xml fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : -->
|