Ask Your Question
0

2D PointCloud to Occupancy grid

asked 2018-04-09 05:32:35 -0500

Georgee gravatar image

updated 2018-04-09 05:45:58 -0500

Hi there,

I'm having trouble finding a package that does what I want. I'm using the Intel's Euclid to scan the room and I extract every possible plane with help of the PointCloud Library. I can store those planes for later inspection. What I need to do now is creating an occupancy grid, i.e. a matrix with cells that represent 1cm^2 with the probability of occupancy (0-100) I researched and found the octomap_server and the ethz-asl/grid_map package but I'm not sure they serve my purpose.

Any ideas? Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-09 11:47:52 -0500

Gayan Brahmanage gravatar image

updated 2018-04-09 11:49:17 -0500

You can use Gmapping, It performs SLAM with odometry and 2D laser scanner. It gives the 2D map and entropy as well. You can change the parameters inside the programs or in .yml file.

edit flag offensive delete link more

Comments

Inputs for Gmapping are tf (tf/tfMessage) and scan (sensor_msgs/LaserScan), and I would like to use my 2D PointCloud plane. Any alternatives?

Thanks for your help.

Georgee gravatar imageGeorgee ( 2018-04-09 11:56:49 -0500 )edit

Not pushing you to use gmapping, but there is something called pointcloud_to_laserscan.

gvdhoorn gravatar imagegvdhoorn ( 2018-04-09 12:49:39 -0500 )edit

Thanks for your answer @gvdhoorn , but it doesn't seem to match what I'm looking for. What I have is a dataset of points that represent a plane (for indoor purposes, to be more precise, e.g a table or a wall) and I need to know how probable it is for the robot to wander through that plane.

Georgee gravatar imageGeorgee ( 2018-04-10 02:31:39 -0500 )edit
1

My comment was in response to your "I have a pointcloud, not a laser scanner" comment earlier.

gvdhoorn gravatar imagegvdhoorn ( 2018-04-10 02:57:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-04-09 05:32:35 -0500

Seen: 515 times

Last updated: Apr 09 '18