RTABMAP using Realsense D435

asked 2019-03-06 01:12:53 -0500

devel gravatar image

updated 2019-03-06 01:50:57 -0500

gvdhoorn gravatar image

Hi, I am new to ROS. I am trying to do mapping using an intel realsense D435 camera using ROS. I followed the procedure given in the RTABMAP's hand held mapping page over here :

http://wiki.ros.org/rtabmap_ros/Tutor... but it doesn't seem to be working for me. Please help me with this.


Edit: I tried the following commands in the same order:

$ roslaunch realsense2_camera rs_camera.launch align_depth:=true

$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/camera/aligned_depth_to_color/image_raw rgb_topic:=/camera/color/image_raw camera_info_topic:=/camera/color/camera_info approx_sync:=false

and after that I expected to get the output as shown in the page: http://wiki.ros.org/rtabmap_ros/Tutor... where it says, " you should see something like this:"

But, I am not getting the same output as has been shown there. Instead I am getting a blank RTABMAP window which shows me nothing.

edit retag flag offensive close merge delete

Comments

but it doesn't seem to be working for me

that's of course very annoying, that "it doesn't seem to be working" for you.

With the amount of information that you have provided, all we can suggest is to try again and/or try turning it off-and-on again.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-06 01:16:03 -0500 )edit

It would help tremendously if you could describe what you have tried, what you expected would happen, what you have observed actually happened and why you believe there is something wrong.

WIthout additional information, I'm afraid we can't help you.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-06 01:16:50 -0500 )edit

I tried the same after restarting my laptop. Still doesn't work. Can you suggest something please.

devel gravatar image devel  ( 2019-03-06 02:22:26 -0500 )edit

There are probably some warnings in the terminal telling that rtabmap didn't receive data since 5 sec... Verify if your camera is publishing the required topics listed in those warnings.

matlabbe gravatar image matlabbe  ( 2019-03-06 08:26:58 -0500 )edit

Yes, I am getting warnings like this. How do I solve this? Can someone help me with this?

devel gravatar image devel  ( 2019-03-06 12:58:25 -0500 )edit

beside /rtabmap/odom, check the other topics (with rostopic hz) listed in the warning, if one is not published, the problem comes from the node publishing that topic.

matlabbe gravatar image matlabbe  ( 2019-03-08 17:16:53 -0500 )edit

I had some warnings while excuting $ roslaunch realsense2_camera rs_camera.launch align_depth:=true and I had solved them by modifying the parameters in the launch files the default values from the original values were good and changed my cable to a better one as I have some errors related USB SCP over flow Hardware error, and check that all the topic are listed when you write$ rostopic list and they are correct as you wrote them here: $ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/camera/aligned_depth_to_color/image_raw rgb_topic:=/camera/color/image_raw camera_info_topic:=/camera/color/camera_info approx_sync:=false Try to visualize in rivz in order to find if the topics have data or no

hany606 gravatar image hany606  ( 2019-07-29 12:37:13 -0500 )edit
1

To know if topic are atually published (not just listed), use rostopic hz /my_topic_name:

rostopic hz /camera/aligned_depth_to_color/image_raw /camera/color/image_raw /camera/color/camera_info
matlabbe gravatar image matlabbe  ( 2019-07-30 08:49:24 -0500 )edit