Open CesMak opened 5 years ago
On the client you may be using the rtabmap_ros binaries, which unfortunatly don't have rgbd_sync
and rgbd_relay
. This has been fixed in https://github.com/introlab/rtabmap_ros/commit/e6e7df5beb8108dfb173dbf487d58b4c3bcdafba but until new binaires are released, you would have to build rtabmap_ros from source. To avoid recompiling also rtabmap, you can just recompile rtabmap_ros using the same version than the binaries:
$ sudo apt remove ros-melodic-rtabmap-ros
$ cd ~/catkin_ws/src
$ git clone -b melodic-devel https://github.com/introlab/rtabmap_ros.git
$ cd ~/catkin_ws
$ catkin_make
On remote PC, I would rather do:
$ rostopic hz /odom /camera/rgbd_image/compressed
to get the real frame rate and bandwidth usage you can get over WiFi.
@matlabbe
Hello, I also encountered the same problem and I don’t know how to solve it.
I use jetsonnano, ros is melodic .
To debug, you should start by checking the framerate of the topics shown and see if some of them are not published or if there is a large difference of rate between them:
rostopic hz /t265/odom/sample /camera/rgb/image_rect_color /camera/depth_registered/image_raw /camera/rgb/camera_info
PS: Please don't join screenshots of text in github issues, it makes difficult for Google to find the same issue afterwards for someone else.
@matlabbe Thank you very much for your help, and thank you for your suggestions.
I having same issue ,but how can I debug from the frame rates
@hariharan382
1) you can know if the topic is published, if one rate is missing, debug why it is not published
2) you can see if the frame rate is different between the topic, if so, how much? queue_size
parameter may nee to be increased if the rate is very different.
Hey there,
I want to use rtabmap_ros/rgbd_sync for my Realsense R200 camera in the remote case. Note that I do not have any odom so far.
On my Robot PC I do:
This works without any error. If I check the rate also on the robot pc I get:
So this seems fine I guess.
Then I do on my Client PC:
roslaunch rtabmap_ros rtabmap.launch subscribe_rgbd:=true rgbd_topic:=/camera/rgbd_image compressed:=true rtabmap_args:="--delete_db_on_start"
And I get this error:
Hm I saw that: [ INFO] [1573077960.554460514]: /rtabmap/rtabmapviz: subscribe_odom_info = true
is this the problem? How can I set it to false?
I also published /odom message of my robot (however not compressed or synced with /camera/rgbd_image - as I do not know how to do that)
and then did