Ask Your Question
0

add fake obstacle to /obstacle topic used by costmap_2d

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

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 -0500

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 imagectguell ( 2013-11-04 05:56:43 -0500 )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 imageHendrik Wiese ( 2013-11-04 08:53:56 -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

1 follower

Stats

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

Seen: 348 times

Last updated: Nov 03 '13