|
META TOPICPARENT |
name="FRCVLabMaintenance" |
<meta name="robots" content="noindex" />
How to Use RTabMap, ROS, and BB2 Driver |
|
-
- In terminal, within the directory of the file, mv disparity_to_dep.launch /opt/ros/indigo/share/rtabmap_ros/launch
|
|
< < |
-
- On the server/robot, in a new terminal, run ROS_NAMESPACE=stereo_camera rosrun stereo_image_proc stereo_image_proc _approximate_sync:=True _queue_size:=20
- Optional (disparity to depth -- not tested yet):
|
> > |
-
- On the server/robot, in a new terminal, run ROS_NAMESPACE=stereo_camera rosrun stereo_image_proc stereo_image_proc _approximate_sync:=True
- If run for the first time on the machine/laptop, change adjust the parameters for the disparity map generation (real time): "rosrun rqt_reconfigure rqt_reconfigure"
- please see the image at the bottom for the configuration
- Optional (disparity to depth -- not tested yet):
|
|
-
-
- 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"
|
> > |
- To view the depth_map use: "rosrun image_view image_view image:=/depth_raw" (HAS NOT BEEN TESTED)
|
|
- There's more information at the following links:
|
|
> > | |
| Permissions
- Persons/group who can view/change the page:
|
| -- (c) Fordham University Robotics and Computer Vision
META FILEATTACHMENT |
attachment="disparity_to_dep.launch" attr="" comment="Launch file" date="1552400962" name="disparity_to_dep.launch" path="disparity_to_dep.launch" size="304" user="LabTech" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="Screenshot_from_2019-04-04_133312.png" attr="" comment="Configuration for rqt_reconfigure" date="1554399246" name="Screenshot_from_2019-04-04_133312.png" path="Screenshot from 2019-04-04 13:33:12.png" size="126932" user="LabTech" version="1" |
|