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

Getting black scans on ground using rtabmap while generating map from point cloud [closed]

asked 2022-01-09 01:29:13 -0500

Robo_guy gravatar image

updated 2022-01-16 00:20:39 -0500

Hello, I am using laser assembler package to convert 2D laser scans to 3D point cloud and then using the point cloud to get a 2D occupancy grid map which can be provided to move base for autonomous navigation but I am getting black scans on the ground. Also the map does not get updated in rviz when I move the robot using teleop but it gets updated in rtabmap viewer. Please can anyone tell me what could be the issue and how this can be solved ? I am using this command - rosrun rtabmap_ros rtabmap -d _subscribe_depth:=false _subscribe_rgb:=false _subscribe_scan_cloud:=true scan_cloud:=/cloud2 odom:=/odom _approx_sync:=true _queue_size:=500

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Robo_guy
close date 2022-11-02 15:48:02.996770

1 Answer

Sort by » oldest newest most voted
0

answered 2022-01-16 00:02:50 -0500

Robo_guy gravatar image

Ok the problem has got solved, just had to set some of the grid map parameters to a certain value so that the scans do not detect the ground as obstacle and set the parameter "map_always_update" to "true" so that the map keeps updating in rviz while moving the robot using teleop.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-01-09 01:29:13 -0500

Seen: 73 times

Last updated: Jan 16 '22