|
|
|
@ -14,7 +14,7 @@
@@ -14,7 +14,7 @@
|
|
|
|
|
<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/rcS"/> |
|
|
|
|
<arg name="rcS" default="$(find px4)/posix-configs/SITL/init/$(arg est)/$(arg vehicle)"/> |
|
|
|
|
|
|
|
|
|
<!-- gazebo configs --> |
|
|
|
|
<arg name="gui" default="true"/> |
|
|
|
@ -28,7 +28,7 @@
@@ -28,7 +28,7 @@
|
|
|
|
|
<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="$(arg rootfs) $(arg rcS) $(arg px4_command_arg1)" /> |
|
|
|
|
args="$(find px4)/ROMFS/px4fmu_common -s $(arg rcS) $(arg px4_command_arg1)" required="true"/> |
|
|
|
|
|
|
|
|
|
<!-- Gazebo sim --> |
|
|
|
|
<include file="$(find gazebo_ros)/launch/empty_world.launch"> |
|
|
|
@ -41,7 +41,6 @@
@@ -41,7 +41,6 @@
|
|
|
|
|
</include> |
|
|
|
|
<!-- gazebo model --> |
|
|
|
|
<node name="$(anon vehicle_spawn)" pkg="gazebo_ros" type="spawn_model" output="screen" 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)"/> |
|
|
|
|
</launch> |
|
|
|
|
|
|
|
|
|
<!-- This will set the environment variable needed to select iris in the startup. --> |
|
|
|
|
<machine name="px4" env-loader="iris_env.sh" address="none" /> |
|
|
|
|