-
Notifications
You must be signed in to change notification settings - Fork 1k
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
slam: added rtabmap example #484
base: master
Are you sure you want to change the base?
Conversation
@matlabbe Hello... one question: did not you face the message bellow? /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). |
@matlabbe following your usage example it works correctly. Tks !! |
Hi. How i use rtabmap navigation without LaserScan massage or depth to scan conversion? i want to use navigation stack as 3D costmap. Thanks |
Set |
thanks. also, i see your answer in https://answers.ros.org/question/328855/localising-using-rtabmap-without-lidar/ |
Dear @matlabbe, Just launching BUT, the problem goes away when I add parameter
(inside the BUT, this stops working again (i.e. giving the same warning as mentioned above) when you launch
The problem is solved by setting the I am not sure if this behavior is expected, as more often than not, one would be invoking Though I do not know enough ROS to make this possible, but do I alternatively need to make sure that "timestamps in their header are set"? This is what I would try next, but in the meanwhile, a help in any direction would be greatly appreciated. As a side note, here is what happens when "it does not work", with Cheers, |
It seems some messages were not being synced due to their timestamps not being exact. As a result rtabmap would not work. Increasing the value of queue size was one possible solution, as discussed in the thread: ROBOTIS-GIT#484
Do |
@matlabbe, thanks a lot for taking out the time to re-run the example and comment on my issue. You are right, when I tried to run your example on a different machine, it worked properly. My machine (Ubuntu 20.04 running on WSL2) somehow does not have all 5 topics when doing a Many thanks once again. Cheers, |
@AMAN021jin this pull request has never been merged, so rtabmap option is not released in binaries. You can do it manually following this tutorial (section Melodic/Noetic) instead. |
Update for anyone who is facing problems with the following error:
They changed the package that contained the executable
to the new:
You might still get the following two errors:
I do not know how to fix these two, but in the rviz display panel on the left I just removed the MapCloud and MapGraph plugins and added them again from the "Create visualisation" dialog box. |
@shrinivas96 I updated the pull request with your changes, thx! |
Hi,
Just came across the
turtlebot3_slam
package. There are many examples with some SLAM approaches already added. I just did one for rtabmap. With the "waffle" model, the RGB+depth images will be also used for 3D mapping. For the other models, only scan is used.cheers,
Mathieu
EDIT: to just copy the files in binary installed turtbot3 packages: