|
<launch>
|
|
|
|
<arg name="rviz" default="true" doc="whether to show Rviz" />
|
|
<arg name="teleop_type" default="keyboard" doc="how to teleop ('keyboard', 'joystick', or 'none')" />
|
|
|
|
<!-- STRETCH DRIVER -->
|
|
<param name="/stretch_driver/broadcast_odom_tf" type="bool" value="true"/>
|
|
<param name="/stretch_driver/mode" type="string" value="navigation" />
|
|
<include file="$(find stretch_core)/launch/stretch_driver.launch" pass_all_args="true"/>
|
|
|
|
<!-- REALSENSE D435i -->
|
|
<include file="$(find stretch_core)/launch/d435i_high_resolution.launch"></include>
|
|
<node name="d435i_configure" pkg="stretch_core" type="d435i_configure" output="screen">
|
|
<param name="initial_mode" type="string" value="High Accuracy"/>
|
|
</node>
|
|
|
|
<!-- TELEOP -->
|
|
<include file="$(find stretch_core)/launch/teleop_twist.launch">
|
|
<arg name="teleop_type" value="$(arg teleop_type)" />
|
|
<arg name="linear" value="0.04" />
|
|
<arg name="angular" value="0.1" />
|
|
<arg name="twist_topic" value="/stretch/cmd_vel" />
|
|
</include>
|
|
|
|
<!-- MAPPING -->
|
|
<include file="$(find stretch_octomap)/launch/octomap_mapper.launch">
|
|
<arg name="pointcloud_topic" value="/camera/depth/color/points"/>
|
|
</include>
|
|
|
|
<!-- VISUALIZE -->
|
|
<node name="rviz" pkg="rviz" type="rviz" output="log" args="-d $(find stretch_octomap)/rviz/octomap_mapper.rviz" if="$(arg rviz)" />
|
|
|
|
</launch>
|