rtabmap.launch.py: fixed wrong relay remap names when compressed is false. Fixed warnings showing the base topic names and not the remap names. Added rtabmap.launch.py usage in example launch files. Install rtabmap.launch.py.

This commit is contained in:
matlabbe
2021-10-01 18:48:45 -04:00
parent 75ce3a56e7
commit ccf152d877
14 changed files with 132 additions and 89 deletions
+3 -2
View File
@@ -3,7 +3,10 @@
# Install https://github.com/mlherd/ros2_turtlebot3_waffle_intel_realsense
# Example:
# $ ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
#
# $ ros2 launch rtabmap_ros turtlebot3_rgbd_sync.launch.py
# OR
# $ ros2 launch rtabmap_ros rtabmap.launch.py visual_odometry:=false frame_id:=base_footprint subscribe_scan:=true approx_sync:=true odom_topic:=/odom args:="-d" use_sim_time:=true rgbd_sync:=true rgb_topic:=/intel_realsense_r200_depth/image_raw depth_topic:=/intel_realsense_r200_depth/depth/image_raw camera_info_topic:=/intel_realsense_r200_depth/camera_info
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument, SetEnvironmentVariable
@@ -27,8 +30,6 @@ def generate_launch_description():
('depth/image', '/intel_realsense_r200_depth/depth/image_raw')]
return LaunchDescription([
# Set env var to print messages to stdout immediately
SetEnvironmentVariable('RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED', '1'),
# Launch arguments
DeclareLaunchArgument(