rtabmap low fps [closed]
I have jetson tx2, realsense depth camera d435.
I tried to run this project from github which runs rtabmap [https://github.com/ROBOTIS-JAPAN-GIT/...] on two different machines that I have: jetson tx2 and PC with Intel core i5-9400F processor.
I cut from there darknet, turtlebot_core(because i dont have wheels yet, i wrote simple odom publisher instead) [https://github.com/jungladicitta/turt...]
The problem is that I have very low fps and freezes of /rtabmap/mapData topic on both machines.
What can I do to speedup rtabmap? where is the problem? software or hardware?
Can you please be a bit more precise with how it freezes, which parameter configuration, which nodes from rtabmap are you using, ros and os versions, FPS from real sense, etc?
/rtabmap/mapData updates approximately 1 frame per 2 seconds.
here is some video: https://yadi.sk/i/eYsIH-3DUYA8mQ
I have ROS kinetic, ubuntu 16.04 on nvidia jetson tx2.
I run turtlbot3_slam_3d.launch file:
https://github.com/jungladicitta/turt...
which includes rtabmap.launch file:
https://github.com/jungladicitta/turt...
I tried to run rs_rgbd.launch separately with 30fps and it works fine. problem is somewhere in rtabmap I think.
Have you tried changing the argument rate, which is currently at 1.0, I suppose Hz ? Have you tried moving the camera around to build the map?
I haven't tried moving the camera? does it helps?
well, if you don't move the camera it will be difficult to close any loop. I would suggest to try to understand what you want to achieve and the solution you are using or implementing, have a look at the available documentation and start with the minimal setup and build on that step by step. Good luck!
In the video, rtabmap processing time is about 200 ms, but default update rate is 1 Hz. Sometimes it takes 2 sec to make a new update, maybe the input messages are poorly synchronized or have low frame rate. Can you do
rostopic hz /camera/color/image_rect_color /camera/depth/image_rect_raw /camera/color/camera_info /odom /scan
?there is rostopic hz of these topics: https://github.com/introlab/rtabmap_r...