RTABMAP using Realsense D435
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.
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.
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.
I tried the same after restarting my laptop. Still doesn't work. Can you suggest something please.
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.
Yes, I am getting warnings like this. How do I solve this? Can someone help me with this?
beside
/rtabmap/odom
, check the other topics (withrostopic hz
) listed in the warning, if one is not published, the problem comes from the node publishing that topic.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 noTo know if topic are atually published (not just listed), use
rostopic hz /my_topic_name
: