Skip to content

Commit

Permalink
turtlebot4 demo: added odom_sensor_sync and added description to fix …
Browse files Browse the repository at this point in the history
…lidar/cloud misalignment.
  • Loading branch information
matlabbe committed Jun 30, 2024
1 parent c0d219c commit bed3081
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rtabmap_demos/launch/turtlebot4_ignition_demo.launch.py
Original file line number Diff line number Diff line change
@@ -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:
# 1) Launch simulator (turtlebot4, nav2 and rtabmap):
# $ ros2 launch rtabmap_demos turtlebot4_ignition.launch.py
Expand Down
5 changes: 5 additions & 0 deletions rtabmap_demos/launch/turtlebot4_slam.launch.py
Original file line number Diff line number Diff line change
@@ -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:
# 1) Launch simulator (turtlebot4 and nav2):
# $ ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py slam:=false nav2:=true rviz:=true
Expand Down Expand Up @@ -39,6 +43,7 @@ def generate_launch_description():
'subscribe_rgbd':True,
'subscribe_scan':True,
'use_action_for_goal':True,
'odom_sensor_sync': True,
'qos_scan':qos,
'qos_image':qos,
'qos_imu':qos,
Expand Down

0 comments on commit bed3081

Please sign in to comment.