mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@560 f169173b-cf89-36c8-b27e-44dbe73f0c83
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<launch>
|
|
<!-- teleop -->
|
|
<node pkg="pr2_teleop" type="teleop_pr2_keyboard" name="spawn_teleop_keyboard" output="screen">
|
|
<remap from="cmd_vel" to="user/cmd_vel" />
|
|
|
|
<param name="walk_vel" value="0.5" />
|
|
<param name="run_vel" value="1.0" />
|
|
<param name="yaw_rate" value="1.0" />
|
|
<param name="yaw_run_rate" value="1.5" />
|
|
</node>
|
|
|
|
<!-- camera -->
|
|
<node name="camera" pkg="rtabmap" type="camera" output="screen">
|
|
<remap from="camera/image" to="image"/>
|
|
<param name="device_id" value="0" type="int"/>
|
|
<param name="image_hz" value="10.0" type="double"/>
|
|
<param name="image_width" value="80" type="int"/>
|
|
<param name="image_height" value="60" type="int"/>
|
|
</node>
|
|
|
|
<!-- mic -->
|
|
<node name="my_audio_recorder" pkg="rtabmap" type="audio_recorder" output="screen">
|
|
<param name="device_id" value="0" type="int"/>
|
|
<param name="file_name" value="" type="string"/> <!-- use the micro -->
|
|
<param name="frame_length" value="2400" type="int"/> <!-- Must match with image_hz of the camera
|
|
(10 Hz at 24000 fs = 2400 samples / frame) -->
|
|
<param name="fs" value="24000" type="int"/>
|
|
<param name="sample_size" value="2" type="int"/> <!-- 16bits/sample -->
|
|
<param name="channels" value="1" type="int"/> <!-- mono -->
|
|
</node>
|
|
|
|
<!-- Lasers -->
|
|
<!-- ls -l /dev/ttyACM* -->
|
|
<!-- sudo chmod a+rw /dev/ttyACM* -->
|
|
|
|
<node pkg="hokuyo_node" type="hokuyo_node" name="laser_top_publisher" ns="laser_top">
|
|
<param name="frame_id" type="string" value="laser_top"/>
|
|
<param name="port" type="string" value="/dev/ttyACM0"/>
|
|
</node>
|
|
|
|
</launch> |