Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: ROS 2 simulation + rtabmap #45

Open
stephenadhi opened this issue Jun 20, 2023 · 1 comment
Open

[Question]: ROS 2 simulation + rtabmap #45

stephenadhi opened this issue Jun 20, 2023 · 1 comment
Assignees
Labels
question Further information is requested rovers Issues related to rovers

Comments

@stephenadhi
Copy link

Question

Hi, I'm wondering whether you plan to develop the locobot simulation and rtabmap launch in ROS 2?

ros2 launch interbotix_xslocobot_sim xslocobot_gz_classic.launch.py robot_model:=locobot_base robot_name:=locobot use_lidar:=true use_rviz:=true use_gazebo_gui:=true
This command didn't work as of now, missing camera topics.
ros2 launch interbotix_xslocobot_nav xslocobot_rtabmap.launch.py launch_driver:=false use_sim_time:=true
[rgbd_sync-2] rgbd_sync subscribed to (exact sync):
[rgbd_sync-2] /locobot/camera/color/image_raw,
[rgbd_sync-2] /locobot/camera/aligned_depth_to_color/image_raw,
[rgbd_sync-2] /locobot/camera/color/camera_info
[rtabmap-5] [WARN] [1687289649.932074396] [locobot.rtabmap.rtabmap]: rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=10).
[rtabmap-5] rtabmap subscribed to:
[rtabmap-5] /locobot/rtabmap/rgbd_image

Robot Model

locobot_base

Operating System

Ubuntu 22.04

ROS Version

ROS 2 Humble

Additional Info

No response

@stephenadhi stephenadhi added question Further information is requested rovers Issues related to rovers labels Jun 20, 2023
@stephenadhi
Copy link
Author

Also currently in the simulation, the local costmap is drifting when the robot is navigating given a goal. This is not the case in real life. This is reproducible when you follow this PR using slam_toolbox (Step-to-step instructions updated)

Screenshot from 2023-06-20 20-16-34
Screenshot from 2023-06-20 20-14-08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested rovers Issues related to rovers
Projects
None yet
Development

No branches or pull requests

2 participants