|
@ -1,9 +1,10 @@ |
|
|
<launch> |
|
|
<launch> |
|
|
|
|
|
|
|
|
<arg name="rviz" default="true"/> |
|
|
|
|
|
<arg name="gazebo_gpu_lidar" default="false"/> |
|
|
|
|
|
<arg name="gazebo_visualize_lidar" default="false"/> |
|
|
|
|
|
<arg name="gazebo_world" default="worlds/empty.world"/> |
|
|
|
|
|
|
|
|
<arg name="rviz" default="true" doc="whether to show Rviz" /> |
|
|
|
|
|
<arg name="teleop_type" default="keyboard" doc="how to teleop ('keyboard', 'joystick', or 'none')" /> |
|
|
|
|
|
<arg name="gazebo_world" default="worlds/willowgarage.world" doc="the environment within which Stretch is loaded in Gazebo" /> |
|
|
|
|
|
<arg name="gazebo_gpu_lidar" default="false" doc="whether to compute lidar with hardware acceleration (requires GPU)" /> |
|
|
|
|
|
<arg name="gazebo_visualize_lidar" default="false" doc="whether to visualize planar lidar within Gazebo" /> |
|
|
|
|
|
|
|
|
<!-- GAZEBO SIMULATION --> |
|
|
<!-- GAZEBO SIMULATION --> |
|
|
<include file="$(find stretch_gazebo)/launch/gazebo.launch"> |
|
|
<include file="$(find stretch_gazebo)/launch/gazebo.launch"> |
|
@ -13,16 +14,17 @@ |
|
|
</include> |
|
|
</include> |
|
|
|
|
|
|
|
|
<!-- TELEOP --> |
|
|
<!-- TELEOP --> |
|
|
<node name="teleop_twist_keyboard" pkg="teleop_twist_keyboard" type="teleop_twist_keyboard.py" output="screen" > |
|
|
|
|
|
<param name="speed" type="double" value="1.0" /> |
|
|
|
|
|
<param name="turn" type="double" value="2.0" /> |
|
|
|
|
|
<remap from="/cmd_vel" to="/stretch_diff_drive_controller/cmd_vel" /> |
|
|
|
|
|
</node> |
|
|
|
|
|
|
|
|
|
|
|
<!-- RVIZ --> |
|
|
|
|
|
<node name="rviz" pkg="rviz" type="rviz" output="log" args="-d $(find stretch_navigation)/rviz/mapping.rviz" if="$(arg rviz)" /> |
|
|
|
|
|
|
|
|
<include file="$(find stretch_core)/launch/teleop_twist.launch"> |
|
|
|
|
|
<arg name="teleop_type" value="$(arg teleop_type)" /> |
|
|
|
|
|
<arg name="linear" value="1.0" /> |
|
|
|
|
|
<arg name="angular" value="2.0" /> |
|
|
|
|
|
<arg name="twist_topic" value="/stretch_diff_drive_controller/cmd_vel" /> |
|
|
|
|
|
</include> |
|
|
|
|
|
|
|
|
<!-- GMAPPING --> |
|
|
|
|
|
|
|
|
<!-- MAPPING --> |
|
|
<node pkg="gmapping" type="slam_gmapping" name="gmapping_record_map" output="log" /> |
|
|
<node pkg="gmapping" type="slam_gmapping" name="gmapping_record_map" output="log" /> |
|
|
|
|
|
|
|
|
|
|
|
<!-- VISUALIZE --> |
|
|
|
|
|
<node name="rviz" pkg="rviz" type="rviz" output="log" args="-d $(find stretch_navigation)/rviz/mapping.rviz" if="$(arg rviz)" /> |
|
|
|
|
|
|
|
|
</launch> |
|
|
</launch> |