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

Add object to map with bumpersensor

asked 2016-12-09 01:12:05 -0500

gijsje170 gravatar image

updated 2016-12-09 03:16:07 -0500

Hi there,

I am using navigation stack for my navigation. I use Kinect combined with depthimage to laserscan to get an accurate laserscan. The only problem with the Kinect of course is that it uses infrared signal therefore it sees through glass and will not detect cetain object.

For the base I am using a roomba. This roomba contains a bump sensor. I want to build when the bump sensor bumps into an object it places a static object on the map which cannot be removed. Is there an easy way to do this?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-09 11:53:16 -0500

jacobperron gravatar image

updated 2016-12-09 11:53:38 -0500

Perhaps the easiest solution is to write a node that converts bumper messages to a datatype that can be processed by a costmap2d obstacle_layer (this looks like a potential solution). I would also make a separate costmap layer for just the bumper sensor to avoid the Kinect marking the region as clear.

edit flag offensive delete link more

Question Tools

4 followers

Stats

Asked: 2016-12-09 01:12:05 -0500

Seen: 353 times

Last updated: Dec 09 '16