<meta name="robots" content="noindex" />
How to Use RTabMap, ROS, and BB2 Driver
- Set up:
- Required packages:
- sudo apt-get install ros-indigo-rtabmap-ros
- sudo apt-get install ros-indigo-stereo-image-proc
- Download launch file on the bottom.
- In terminal, within the directory of the file, mv disparity_to_dep.launch /opt/ros/indigo/share/rtabmap_ros/launch
- Execution:
- On the robot, run the stereo_camera node.
- On the server, in one terminal, run ROS_NAMESPACE=stereo_camera rosrun stereo_image_proc stereo_image_proc _approximate_sync:=True _queue_size:=20
- On the server, in a new terminal, cd /opt/ros/indigo/share/rtabmap_ros/launch
- Run roslaunch rtabmap_ros disparity_to_dep.launch
- To view the disparity map alongside the disparity image, use: "rosrun image_view stereo_view stereo:=/stereo_camera image:=image_rect"
- To view the disparity map alone, use "rosrun image_view disparity_view image:=/stereo_camera/disparity"
- To view the depth_map use: "rosrun image_view image_view image:=/depth_raw"
- To adjust the parameters for the disparity map generation in real time use: "rosrun rqt_reconfigure rqt_reconfigure"
- There's more information at the following links:
Permissions
- Persons/group who can view/change the page:
-- (c) Fordham University Robotics and Computer Vision
This topic: Main
> WebHome >
FordhamRoboticsAndComputerVisionLaboratory >
FRCVLabMaintenance > Rtabmap
Topic revision: r5 - 2019-03-25 - LabTech