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

add fake obstacle to /obstacle topic used by costmap_2d

asked 2013-11-03 16:49:30 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I need to add a "fake" or arbitrary obstacle to the /obstacle topic that my real pioneer 3dx is using to navigate. Is this possible? and if so how? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-11-03 22:51:32 -0600

Hendrik Wiese gravatar image

You could create a node that provides a fake point clound describing your obstacle.

edit flag offensive delete link more

Comments

@Hendrik _SeveQ_ Wiese thats a good idea how can i manage to do it? do you have any tutorials or links taht could be of help? Thanks

ctguell gravatar image ctguell  ( 2013-11-04 05:56:43 -0600 )edit

Not really, sorry. I guess, you'd have to create the point cloud manually, maybe (in case you only need two dimensions) by linear interpolation between the corners of your obstacle. But don't nail me down on that. I haven't done this before. Someone else could most likely be of better help here...

Hendrik Wiese gravatar image Hendrik Wiese  ( 2013-11-04 08:53:56 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-11-03 16:49:30 -0600

Seen: 498 times

Last updated: Nov 03 '13