0
$\begingroup$

Rosanswers logo

hi all, i am new in ros and rtabmap. my goal is create map and navigate around the map with simulator robot. my work is not on line. i captured stereo images from two web cam and save these images at left and right image files. then used tutorial of rtabmap and draw map for stereo images from this link (https://github.com/introlab/rtabmap/wiki/Stereo-mapping#process-a-directory-of-stereo-images-in-ros). then i want re-use this map for navigation. i studied tutorials of rtabmap_ros from this link (http://wiki.ros.org/rtabmap_ros/Tutorials/MappingAndNavigationOnTurtlebot) but i don't understand. please help me and write how can i reuse map for navigation?


Originally posted by zahra.kh on ROS Answers with karma: 21 on 2017-10-12

Post score: 0


Original comments

Comment by TTDM on 2017-10-12:
Hello, we will need more info to help you. Step by step, where are you in the tutoriel ? what's the issue ? How did you tried to go over it and why did it still failed ?

Comment by zahra.kh on 2017-10-12:
thanks TTDM, i am new in rtabmap. i have to web cam and take left and right images. stereo images saved in file and for simulation location and mapping from these camera i used rtabmap_ros (link above) i have not a robot but i want path planning. but i don't know how?

Comment by zahra.kh on 2017-10-12:
at tutorial of rtabmap exit a example (wiki.ros.org/rtabmap_ros/Tutorials/MappingAndNavigationOnTurtlebot) but this example is for kinetic. how can i use this example for stereo images?

Comment by TTDM on 2017-10-12:
kinetic is the name of the ros distrbution, the first part of its version ID if you prefer. I suggest you to follow the ROS tutorials to really understand the tool you are trying to use, ROS, then it will be easier to work on the path planning.

Comment by zahra.kh on 2017-10-12:
oh excuse me! I mean is kinect (RGB_D camera)

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Answering your comments, a RGB-D images is simply an rgb image associated with a depth image.

According to the rtabmap documentation, all the infos coming from the kinect are given as entry in the rtabmap node as 3 msgs :

  1. A sensor_msgs/Image which gives the rgb image
  2. A sensor_msgs/Image which gives the depth image
  3. A sensors_msgs/Camerainfo which gives the info of the rgb camera.

So what you can do ss give the left rgb image and left camera info directly as if it was the kinect. Then for the depth image, you add a node which contains a stereo algorithm for exemple this one then you define its output image as the depth image in entry of the rtabmap. If you don't know about it, you should look into what's called "remapping" to do those steps.


Originally posted by TTDM with karma: 267 on 2017-10-12

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.