Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 1.41 KB
<launch>
<!-- Flag to start recoding a rosbag -->
<arg name="record" default="false"/>
<arg name="use_ned_frame" default="false"/>
<!-- Initialize the Gazebo world -->
<include file="$(find uuv_gazebo_worlds)/launch/ocean_waves.launch"/>
<!-- Add the RexROV vehicle to the world -->
<include file="$(find uuv_descriptions)/launch/upload_rexrov.launch">
<arg name="x" default="20"/>
<arg name="y" default="0"/>
<arg name="z" default="-20"/>
<arg name="yaw" default="0"/>
<arg name="use_ned_frame" value="$(arg use_ned_frame)"/>
</include>
<!-- Start the model-free sliding mode controller with its default parameters for the RexROV vehicle -->
<include file="$(find uuv_trajectory_control)/launch/rov_nmb_sm_controller.launch">
<arg name="uuv_name" value="rexrov"/>
<arg name="model_name" value="rexrov"/>
<arg name="use_ned_frame" value="$(arg use_ned_frame)"/>
</include>
<!-- Initialize the recording fo the simulation according to the record flag -->
<include file="$(find uuv_gazebo)/launch/controller_demos/record_demo.launch">
<arg name="record" value="$(arg record)"/>
<arg name="use_ned_frame" value="$(arg use_ned_frame)"/>
</include>
<!-- Start RViz -->
<node name="rviz" pkg="rviz" type="rviz" output="screen" args="-d $(find uuv_gazebo)/rviz/controller_demo.rviz"/>
</launch>
You can’t perform that action at this time.