ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[rtabmap_ros] Cannot mapping by RVIZ

asked 2017-04-11 07:04:11 -0500

simon.xm.lee gravatar image

updated 2017-04-11 13:32:56 -0500

matlabbe gravatar image

I try to use hand-held kinectv2 to record map and follow the steps in tutorials(RGB-D Hand-Held Mapping With a Kinect). Then I can record map by following steps in rtabmapviz, but fail in rviz. There is an error in "Global Status". It show "Fix Frame [map] is not exist". How do I setup?

Below are my steps:

$ roslaunch kinect2_bridge kinect2_bridge.launch publish_tf:=true

$ rosrun tf static_transform_publisher 0 0 0 -1.5707963267948966 0 -1.5707963267948966 camera_link kinect2_link 100

$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" rviz:=true rtabmapviz:=false
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-11 13:35:11 -0500

matlabbe gravatar image

Following the tutorial for kinect2_bridge, you should use this for the third step:

$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" rgb_topic:=/kinect2/qhd/image_color_rect depth_topic:=/kinect2/qhd/image_depth_rect camera_info_topic:=/kinect2/qhd/camera_info rviz:=true rtabmapviz:=false

cheers

edit flag offensive delete link more

Comments

It works. Many thanks.

simon.xm.lee gravatar image simon.xm.lee  ( 2017-04-11 20:49:18 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-04-11 07:04:11 -0500

Seen: 311 times

Last updated: Apr 11 '17