mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
merged attention branch to trunk
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@657 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
<launch>
|
||||
|
||||
<!-- BRING UP TELEROBOT -->
|
||||
<!-- BUS CAN MANAGER -->
|
||||
<group ns="tr">
|
||||
<param name="driver_type" value="TRCANDriver"/>
|
||||
<node name="can_manager" type="can_manager" pkg="can_manager"
|
||||
args="tr">
|
||||
<remap from="/tr/tr/cmd_vel" to="/cmd_vel" />
|
||||
</node>
|
||||
</group>
|
||||
|
||||
<!-- TELEOP -->
|
||||
<include file="$(find rtabmap)/launch/teleop.launch"/>
|
||||
|
||||
<!-- RTAB-MAP -->
|
||||
<include file="$(find rtabmap)/launch/rtabmap_sm.launch"/>
|
||||
|
||||
<!-- CAMERA -->
|
||||
<include file="$(find rtabmap)/launch/cameraOpenCV.launch"/>
|
||||
|
||||
</launch>
|
||||
@@ -1,62 +0,0 @@
|
||||
<launch>
|
||||
|
||||
<!-- BRING UP AZIMUT2 -->
|
||||
<include file="$(find az2_bringup)/az2_base_controller.launch"/>
|
||||
|
||||
<!-- TELEOP JOYSTICK -->
|
||||
<node name="teleop_pr2" pkg="pr2_teleop" type="teleop_pr2" args="--deadman_no_publish">
|
||||
<remap from="cmd_vel" to="user/cmd_vel" />
|
||||
</node>
|
||||
<node name="joystick" pkg="joy" type="joy_node">
|
||||
<param name="autorepeat_rate" value="20" type="double" />
|
||||
</node>
|
||||
|
||||
<!-- RTAB-MAP SENSORY-MOTOR VERSION -->
|
||||
<!-- WARNING : Database is automatically deleted on each startup -->
|
||||
<!-- See "delete_db_on_start" option below... -->
|
||||
|
||||
<!-- cmd_vel_a has priority on cmd_vel_b -->
|
||||
<node name="abtr_velocity" pkg="rtabmap" type="abtr_velocity">
|
||||
<param name="commands_hz" value="10.0" type="double"/>
|
||||
<param name="cmd_vel_a_buffered" value="false" type="bool"/>
|
||||
<param name="cmd_vel_b_buffered" value="true" type="bool"/>
|
||||
<param name="stats_logged" value="true" type="bool"/>
|
||||
<remap from="cmd_vel_a" to="user/cmd_vel" />
|
||||
<remap from="cmd_vel_b" to="rtabmap/cmd_vel" />
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_out" pkg="rtabmap" type="rtabmap_out">
|
||||
<remap from="rtabmap/cmd_vel" to="rtabmap/cmd_vel" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="twist_to_poses" pkg="rtabmap" type="twist_to_poses">
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
</node>
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_in" pkg="rtabmap" type="rtabmap_in">
|
||||
<param name="nb_commands" value="2" type="int"/>
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="sensor_data" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
<node name="image_to_sms" pkg="rtabmap" type="image_to_sms">
|
||||
<param name="image_hz" value="5.0" type="double"/>
|
||||
<param name="resize_image_width" value="80" type="int"/>
|
||||
<param name="resize_image_height" value="60" type="int"/>
|
||||
<param name="keypoints_extracted" value="0" type="int"/>
|
||||
<remap from="image" to="camera/image" />
|
||||
<remap from="sm_state" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,14 +0,0 @@
|
||||
<launch>
|
||||
|
||||
<!-- BRING UP AZIMUT2 -->
|
||||
<include file="$(find az2_bringup)/az2_base_controller.launch"/>
|
||||
|
||||
<!-- TELEOP JOYSTICK -->
|
||||
<node name="teleop_pr2" pkg="pr2_teleop" type="teleop_pr2" args="--deadman_no_publish">
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
</node>
|
||||
<node name="joystick" pkg="joy" type="joy_node">
|
||||
<param name="autorepeat_rate" value="20" type="double" />
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,62 +0,0 @@
|
||||
<launch>
|
||||
|
||||
<!-- BRING UP AZIMUT3 -->
|
||||
<include file="$(find az3_bringup)/az3_base_controller.launch"/>
|
||||
|
||||
<!-- TELEOP JOYSTICK -->
|
||||
<node name="teleop_pr2" pkg="pr2_teleop" type="teleop_pr2" args="--deadman_no_publish">
|
||||
<remap from="cmd_vel" to="user/cmd_vel" />
|
||||
</node>
|
||||
<node name="joystick" pkg="joy" type="joy_node">
|
||||
<param name="autorepeat_rate" value="20" type="double" />
|
||||
</node>
|
||||
|
||||
<!-- RTAB-MAP SENSORY-MOTOR VERSION -->
|
||||
<!-- WARNING : Database is automatically deleted on each startup -->
|
||||
<!-- See "delete_db_on_start" option below... -->
|
||||
|
||||
<!-- cmd_vel_a has priority on cmd_vel_b -->
|
||||
<node name="abtr_velocity" pkg="rtabmap" type="abtr_velocity">
|
||||
<param name="commands_hz" value="10.0" type="double"/>
|
||||
<param name="cmd_vel_a_buffered" value="false" type="bool"/>
|
||||
<remap from="cmd_vel_a" to="user/cmd_vel" />
|
||||
<remap from="cmd_vel_b" to="rtabmap/cmd_vel" />
|
||||
<remap from="cmd_vel" to="az3/base_controller/cmd_vel" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_out" pkg="rtabmap" type="rtabmap_out">
|
||||
<param name="commands_hz" value="10.0" type="double"/>
|
||||
<param name="idle_null_commands_sent" value="false" type="bool"/>
|
||||
<remap from="rtabmap/cmd_vel" to="rtabmap/cmd_vel" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="twist_to_poses" pkg="rtabmap" type="twist_to_poses">
|
||||
<remap from="cmd_vel" to="az3/base_controller/cmd_vel" />
|
||||
</node>
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_in" pkg="rtabmap" type="rtabmap_in">
|
||||
<param name="nb_commands" value="2" type="int"/>
|
||||
<remap from="cmd_vel" to="az3/base_controller/cmd_vel" />
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="sensor_data" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
<node name="image_to_sms" pkg="rtabmap" type="image_to_sms">
|
||||
<param name="image_hz" value="5.0" type="double"/>
|
||||
<param name="resize_image_width" value="80" type="int"/>
|
||||
<param name="resize_image_height" value="60" type="int"/>
|
||||
<param name="keypoints_extracted" value="0" type="int"/>
|
||||
<remap from="image" to="camera/image" />
|
||||
<remap from="sm_state" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,14 +0,0 @@
|
||||
<launch>
|
||||
|
||||
<!-- BRING UP AZIMUT2 -->
|
||||
<include file="$(find az3_bringup)/az3_base_controller.launch"/>
|
||||
|
||||
<!-- TELEOP JOYSTICK -->
|
||||
<node name="teleop_pr2" pkg="pr2_teleop" type="teleop_pr2" args="--deadman_no_publish">
|
||||
<remap from="cmd_vel" to="az3/base_controller/cmd_vel" />
|
||||
</node>
|
||||
<node name="joystick" pkg="joy" type="joy_node">
|
||||
<param name="autorepeat_rate" value="20" type="double" />
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,14 +0,0 @@
|
||||
<launch>
|
||||
<!-- CAMERA -->
|
||||
<node pkg="omni_camera_capture" type="omni_publisher"
|
||||
name="omni_camera" respawn="false">
|
||||
<param name="device" value="/dev/video0"/>
|
||||
<param name="refresh_rate" value="1"/>
|
||||
<param name="frame_id" value="omni_camera_link" />
|
||||
<param name="image_encoding" value="RGB" /> <!-- GREY or RGB-->
|
||||
<param name="image_size" value="FULL" /> <!-- PARTIAL or FULL -->
|
||||
<param name="scale_divisor" value="1" /> <!-- 1, 2, 3, 4 or 6 in PARTIAL size-->
|
||||
<remap from="/image" to="/image_raw" />
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,10 +0,0 @@
|
||||
<launch>
|
||||
<node pkg="uvc_camera" type="camera_node" name="uvc_camera" output="screen">
|
||||
<param name="width" type="int" value="640" />
|
||||
<param name="height" type="int" value="480" />
|
||||
<param name="fps" type="int" value="5" />
|
||||
<param name="frame" type="string" value="wide_stereo" />
|
||||
<param name="device" type="string" value="/dev/video0" />
|
||||
<!-- <param name="camera_info_url" type="string" value="file://$(find uvc_camera)/example.yaml" /> -->
|
||||
</node>
|
||||
</launch>
|
||||
@@ -9,11 +9,12 @@
|
||||
|
||||
<node name="rtabmap_gui" pkg="rtabmap" type="rtabmap_gui" output="screen"/>
|
||||
|
||||
<node name="camera" pkg="rtabmap_image" type="camera" output="screen">
|
||||
<node name="camera" pkg="uimage" type="camera" output="screen">
|
||||
<remap from="/camera/image" to="/image"/>
|
||||
<param name="device_id" value="0" type="int"/>
|
||||
<param name="frame_rate" value="1.0" type="double"/>
|
||||
<param name="width" value="640" type="int"/>
|
||||
<param name="height" value="480" type="int"/>
|
||||
<param name="video_or_images_path" value="/media/SD-32GB/NewCollege" type="string"/>
|
||||
<param name="frame_rate" value="2.0" type="double"/>
|
||||
<param name="width" value="0" type="int"/>
|
||||
<param name="height" value="0" type="int"/>
|
||||
</node>
|
||||
</launch>
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
<launch>
|
||||
|
||||
<!-- RTAB-MAP LOOP CLOSURE DETECTION VERSION : with sensorimotor memory type-->
|
||||
<!-- WARNING : Database is automatically deleted on each startup -->
|
||||
<!-- See "delete_db_on_start" option below... -->
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="/image" to="/image_not_used"/> <!-- Just to make sure that rtabmap does not subscribe
|
||||
to camera image, here we use sensorimotor input -->
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_gui" pkg="rtabmap" type="rtabmap_gui" output="screen"/>
|
||||
|
||||
<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="5.0" type="double"/>
|
||||
<param name="image_width" value="80" type="int"/>
|
||||
<param name="image_height" value="60" type="int"/>
|
||||
</node>
|
||||
|
||||
<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="4800" type="int"/> <!-- Must match with image_hz of the camera
|
||||
(5 Hz at 24000 fs = 4800 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>
|
||||
|
||||
<!-- This node will synchronize images and audio frames, and
|
||||
transform them to a Sensorimotor topic used by RTAB-Map. -->
|
||||
<node name="my_input_node" pkg="rtabmap" type="input_image_audio_node" />
|
||||
</launch>
|
||||
@@ -1,41 +0,0 @@
|
||||
<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>
|
||||
@@ -1,9 +0,0 @@
|
||||
<launch>
|
||||
<!-- TELEOP JOYSTICK -->
|
||||
<node name="teleop_pr2" pkg="pr2_teleop" type="teleop_pr2" args="--deadman_no_publish">
|
||||
<remap from="cmd_vel" to="tr/cmd_vel" />
|
||||
</node>
|
||||
<node name="joystick" pkg="joy" type="joy_node">
|
||||
<param name="autorepeat_rate" value="20" type="double" />
|
||||
</node>
|
||||
</launch>
|
||||
@@ -1,10 +0,0 @@
|
||||
<launch>
|
||||
<node pkg="pr2_teleop" type="teleop_pr2_keyboard" name="spawn_teleop_keyboard" output="screen">
|
||||
<remap from="cmd_vel" to="tr/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>
|
||||
</launch>
|
||||
@@ -1,16 +0,0 @@
|
||||
<launch>
|
||||
<!-- Nodes -->
|
||||
<node name="camera_receiver" pkg="rtabmap" type="camera_receiver" output="screen">
|
||||
<remap from="image" to="camera/image"/>
|
||||
<remap from="image/compressed" to="camera/image/compressed"/>
|
||||
<param name="image_transport" value="raw" type="str"/>
|
||||
</node>
|
||||
|
||||
<!-- Nodes -->
|
||||
<node name="camera" pkg="rtabmap" type="camera" output="screen">
|
||||
<param name="device_id" value="0" type="int"/>
|
||||
<param name="image_hz" value="30.0" type="double"/>
|
||||
<param name="image_width" value="640" type="int"/>
|
||||
<param name="image_height" value="480" type="int"/>
|
||||
</node>
|
||||
</launch>
|
||||
@@ -1,13 +0,0 @@
|
||||
<launch>
|
||||
<!-- Nodes -->
|
||||
<node name="camera_receiver" pkg="rtabmap" type="camera_receiver" output="screen"/>
|
||||
|
||||
<node pkg="uvc_camera" type="camera_node" name="uvc_camera" output="screen">
|
||||
<param name="width" type="int" value="640" />
|
||||
<param name="height" type="int" value="480" />
|
||||
<param name="fps" type="int" value="30" />
|
||||
<param name="frame" type="string" value="wide_stereo" />
|
||||
<param name="device" type="string" value="/dev/video0" />
|
||||
<!-- <param name="camera_info_url" type="string" value="file://$(find uvc_camera)/example.yaml" /> -->
|
||||
</node>
|
||||
</launch>
|
||||
@@ -1,57 +0,0 @@
|
||||
<launch>
|
||||
<!-- launch teleop with teleop_keyboard.launch -->
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="/image" to="/image_not_used"/> <!-- Just to make sure that rtabmap does not subscribe
|
||||
to camera image, here we use sensorimotor input -->
|
||||
<remap from="sensorimotor" to="sensorimotor" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_out" pkg="rtabmap" type="rtabmap_out">
|
||||
<remap from="rtabmap/cmd_vel" to="rtabmap/cmd_vel" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<!-- Arbitration -->
|
||||
<!-- cmd_vel_a has priority on cmd_vel_b -->
|
||||
<node name="abtr_velocity" pkg="rtabmap" type="abtr_velocity">
|
||||
<param name="commands_hz" value="10.0" type="double"/>
|
||||
<param name="cmd_vel_a_buffered" value="false" type="bool"/>
|
||||
<param name="cmd_vel_b_buffered" value="true" type="bool"/>
|
||||
<param name="stats_logged" value="false" type="bool"/>
|
||||
<remap from="cmd_vel_a" to="user/cmd_vel" />
|
||||
<remap from="cmd_vel_b" to="rtabmap/cmd_vel" />
|
||||
<remap from="cmd_vel" to="cmd_vel" />
|
||||
</node>
|
||||
|
||||
<!-- INPUT NODE -->
|
||||
<node name="my_input_node" pkg="rtabmap" type="input_image_audio_twist_node">
|
||||
<remap from="cmd_vel" to="cmd_vel"/>
|
||||
</node>
|
||||
|
||||
<!-- SENSORS -->
|
||||
<!-- 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>
|
||||
|
||||
</launch>
|
||||
@@ -1,38 +0,0 @@
|
||||
<launch>
|
||||
<!-- when rosbag ... "rosbag play -.-clock my.bag"-->
|
||||
<param name="use_sim_time" type="bool" value="True"/>
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="/image" to="/image_not_used"/> <!-- Just to make sure that rtabmap does not subscribe
|
||||
to camera image, here we use sensorimotor input -->
|
||||
<remap from="sensorimotor" to="sensorimotor" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_out" pkg="rtabmap" type="rtabmap_out">
|
||||
<remap from="rtabmap/cmd_vel" to="rtabmap/cmd_vel" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<!-- Arbitration -->
|
||||
<!-- cmd_vel_a has priority on cmd_vel_b -->
|
||||
<node name="abtr_velocity" pkg="rtabmap" type="abtr_velocity">
|
||||
<param name="commands_hz" value="10.0" type="double"/>
|
||||
<param name="cmd_vel_a_buffered" value="false" type="bool"/>
|
||||
<param name="cmd_vel_b_buffered" value="true" type="bool"/>
|
||||
<param name="stats_logged" value="false" type="bool"/>
|
||||
<remap from="cmd_vel_a" to="user/cmd_vel" />
|
||||
<remap from="cmd_vel_b" to="rtabmap/cmd_vel" />
|
||||
<remap from="cmd_vel" to="cmd_vel" />
|
||||
</node>
|
||||
|
||||
<!-- INPUT NODE -->
|
||||
<node name="my_input_node" pkg="rtabmap" type="input_image_twist_node">
|
||||
<remap from="cmd_vel" to="cmd_vel"/>
|
||||
<remap from="image" to="image_local_polar_reconstructed"/>
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,48 +0,0 @@
|
||||
<launch>
|
||||
<!-- RTAB-MAP SENSORY-MOTOR VERSION -->
|
||||
<!-- WARNING : Database is automatically deleted on each startup -->
|
||||
<!-- See "delete_db_on_start" option below... -->
|
||||
|
||||
<!-- Nodes -->
|
||||
<!-- cmd_vel_a has priority on cmd_vel_b -->
|
||||
<node name="abtr_velocity" pkg="rtabmap" type="abtr_velocity">
|
||||
<param name="commands_hz" value="1.0" type="double"/>
|
||||
<param name="cmd_vel_a_buffered" value="true" type="bool"/>
|
||||
<remap from="cmd_vel_a" to="user/cmd_vel" />
|
||||
<!-- <remap from="cmd_vel_b" to="rtabmap/cmd_vel" /> -->
|
||||
<remap from="cmd_vel" to="cmd_vel" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_out" pkg="rtabmap" type="rtabmap_out">
|
||||
<param name="commands_hz" value="1.0" type="double"/>
|
||||
<param name="idle_null_commands_sent" value="false" type="bool"/>
|
||||
<remap from="rtabmap/cmd_vel" to="rtabmap/cmd_vel" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_in" pkg="rtabmap" type="rtabmap_in">
|
||||
<param name="nb_commands" value="1" type="int"/>
|
||||
<remap from="cmd_vel" to="cmd_vel" />
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="sensor_data" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
<node name="twist_to_sms" pkg="rtabmap" type="twist_to_sms">
|
||||
<remap from="cmd_vel" to="cmd_vel" />
|
||||
<remap from="sm_state" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
<node name="twist_to_turtle_vel" pkg="rtabmap" type="twist_to_turtle_vel">
|
||||
</node>
|
||||
<node name="turtlesim" pkg="turtlesim" type="turtlesim_node">
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
@@ -1,63 +0,0 @@
|
||||
<launch>
|
||||
<!-- BRING UP AZIMUT2 -->
|
||||
<include file="$(find az2_bringup)/az2_base_controller.launch"/>
|
||||
|
||||
|
||||
<!-- RTAB-MAP SENSORY-MOTOR VERSION -->
|
||||
<!-- WARNING : Database is automatically deleted on each startup -->
|
||||
<!-- See "delete_db_on_start" option below... -->
|
||||
|
||||
<!-- Nodes -->
|
||||
<!-- cmd_vel_a has priority on cmd_vel_b -->
|
||||
<node name="abtr_velocity" pkg="rtabmap" type="abtr_velocity">
|
||||
<param name="commands_hz" value="0.5" type="double"/>
|
||||
<param name="cmd_vel_a_buffered" value="true" type="bool"/>
|
||||
<remap from="cmd_vel_a" to="user/cmd_vel" />
|
||||
<!-- <remap from="cmd_vel_b" to="rtabmap/cmd_vel" /> -->
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_out" pkg="rtabmap" type="rtabmap_out">
|
||||
<param name="commands_hz" value="1.0" type="double"/>
|
||||
<param name="idle_null_commands_sent" value="false" type="bool"/>
|
||||
<remap from="rtabmap/cmd_vel" to="rtabmap/cmd_vel" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="rtabmap/info" to="rtabmap/info" />
|
||||
<remap from="rtabmap/info_x" to="rtabmap/info_x" />
|
||||
</node>
|
||||
|
||||
<node name="rtabmap_in" pkg="rtabmap" type="rtabmap_in">
|
||||
<param name="nb_commands" value="1" type="int"/>
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
<remap from="sm_state" to="sm_state" />
|
||||
<remap from="sensor_data" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
<node name="image_to_sms" pkg="rtabmap" type="image_to_sms">
|
||||
<param name="image_hz" value="1" type="double"/>
|
||||
<param name="resize_image_width" value="160" type="int"/>
|
||||
<param name="resize_image_height" value="120" type="int"/>
|
||||
<param name="keypoints_extracted" value="0" type="int"/>
|
||||
<remap from="image" to="camera/image" />
|
||||
<remap from="sm_state" to="sensor_data" />
|
||||
</node>
|
||||
|
||||
<!--
|
||||
<node name="twist_to_sms" pkg="rtabmap" type="twist_to_sms">
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
<remap from="sm_state" to="sensor_data" />
|
||||
</node>
|
||||
-->
|
||||
|
||||
<node name="twist_to_turtle_vel" pkg="rtabmap" type="twist_to_turtle_vel_node">
|
||||
<remap from="cmd_vel" to="az2/base_controller/cmd_vel" />
|
||||
</node>
|
||||
|
||||
|
||||
</launch>
|
||||
@@ -1,34 +0,0 @@
|
||||
<launch>
|
||||
<!-- Nodes -->
|
||||
<node name="camera" pkg="rtabmap_image" type="camera" output="screen">
|
||||
<remap from="camera/image" to="image"/>
|
||||
<param name="device_id" value="0" type="int"/>
|
||||
<param name="image_hz" value="0" type="double"/>
|
||||
<param name="image_width" value="640" type="int"/>
|
||||
<param name="image_height" value="480" type="int"/>
|
||||
</node>
|
||||
|
||||
<node name="visual_attention" pkg="rtabmap" type="visual_attention" output="screen"/>
|
||||
|
||||
<!--
|
||||
<node name="image" pkg="rtabmap_image" type="image_view_qt" output="screen">
|
||||
<remap from="image" to="image"/>
|
||||
</node>
|
||||
-->
|
||||
<node name="image_motion" pkg="rtabmap_image" type="image_view_qt" output="screen">
|
||||
<remap from="image" to="image_motion"/>
|
||||
</node>
|
||||
|
||||
<node name="image_motion_local" pkg="rtabmap_image" type="image_view_qt" output="screen">
|
||||
<remap from="image" to="image_motion_local"/>
|
||||
</node>
|
||||
<node name="image_local" pkg="rtabmap_image" type="image_view_qt" output="screen">
|
||||
<remap from="image" to="image_local"/>
|
||||
</node>
|
||||
<node name="image_motion_local_polar" pkg="rtabmap_image" type="image_view_qt" output="screen">
|
||||
<remap from="image" to="image_motion_local_polar"/>
|
||||
</node>
|
||||
<node name="image_motion_local_polar_reconstructed" pkg="rtabmap_image" type="image_view_qt" output="screen">
|
||||
<remap from="image" to="image_motion_local_polar_reconstructed"/>
|
||||
</node>
|
||||
</launch>
|
||||
Reference in New Issue
Block a user