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

Laser scan to probabilistic map based on occupancy grid

asked 2015-03-23 17:41:11 -0600

sadek gravatar image

Hi all,

I would like to transform laser data (LaserScan) in a local 2D occupancy grid (OccupancyGrid). I tried to use "gmapping" and it worked well. But gmapping builds a global map while I only need the local one.

Is there a simple solution (a package or a node) to build a local map around the robot? Could you please tell me what should I do in details? or show me some references?

Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-03-24 14:20:01 -0600

sadek gravatar image

updated 2015-03-24 14:20:38 -0600

Hi,

I finally found a node ROS that can do that. But can be run only on ROS Indigo. More information on this page : http://wiki.ros.org/local_map

edit flag offensive delete link more

Comments

Hi! Can you please tell me how do you run the local_map? I'm tried to run the package but it tells me that there is no executable. Thanks!

jmrrosa gravatar image jmrrosa  ( 2016-09-19 12:15:08 -0600 )edit
1

answered 2015-03-24 14:31:05 -0600

TimboInSpace gravatar image

It seems to me like gmapping would still work. Just remap ~map_frame to some local map frame that you have defined, and also set a static transform between the robot base and this local frame.. After that, you'll have to manage the global map <--> odometry frame transform by some other means, but it should accomplish what you need.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-23 17:41:11 -0600

Seen: 1,638 times

Last updated: Mar 24 '15