mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
turtlebot4 demo: added odom_sensor_sync and added description to fix lidar/cloud misalignment.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
#
|
||||||
|
# Note: Make sure you have this fix for turtlebot4_description https://github.com/turtlebot/turtlebot4/pull/434,
|
||||||
|
# otherwise, the lidar and camera point cloud won't be aligned correctly.
|
||||||
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# 1) Launch simulator (turtlebot4, nav2 and rtabmap):
|
# 1) Launch simulator (turtlebot4, nav2 and rtabmap):
|
||||||
# $ ros2 launch rtabmap_demos turtlebot4_ignition.launch.py
|
# $ ros2 launch rtabmap_demos turtlebot4_ignition.launch.py
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
#
|
||||||
|
# Note: Make sure you have this fix for turtlebot4_description https://github.com/turtlebot/turtlebot4/pull/434,
|
||||||
|
# otherwise, the lidar and camera point cloud won't be aligned correctly.
|
||||||
|
#
|
||||||
# Example with gazebo:
|
# Example with gazebo:
|
||||||
# 1) Launch simulator (turtlebot4 and nav2):
|
# 1) Launch simulator (turtlebot4 and nav2):
|
||||||
# $ ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py slam:=false nav2:=true rviz:=true
|
# $ ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py slam:=false nav2:=true rviz:=true
|
||||||
@@ -39,6 +43,7 @@ def generate_launch_description():
|
|||||||
'subscribe_rgbd':True,
|
'subscribe_rgbd':True,
|
||||||
'subscribe_scan':True,
|
'subscribe_scan':True,
|
||||||
'use_action_for_goal':True,
|
'use_action_for_goal':True,
|
||||||
|
'odom_sensor_sync': True,
|
||||||
'qos_scan':qos,
|
'qos_scan':qos,
|
||||||
'qos_image':qos,
|
'qos_image':qos,
|
||||||
'qos_imu':qos,
|
'qos_imu':qos,
|
||||||
|
|||||||
Reference in New Issue
Block a user