Ask Your Question

Exclude topic from namespace

asked 2015-01-21 08:00:02 -0500

DKS gravatar image

updated 2015-01-21 08:00:25 -0500


I have a Turtlebot running the navigation stack and a workstation that runs the corresponding map-server.

The amcl node is launched in a namespace so that all published and subscribed topics get prefixed with that namespace. So amcl is subscribing to /namespace/map instead of just /map.

Now I want to exclude the map topic from the namespace so that amcl subscribes to /map again but all other topics should still be prefixed. I tried to remap it from "map" to "/map" but that didnt't change anything.

Thanks for your help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-01-21 08:38:49 -0500

dornhege gravatar image

By default amcl will get the map not via the topic, but via a service call ( ), so you need to remap that instead.

edit flag offensive delete link more

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


Asked: 2015-01-21 08:00:02 -0500

Seen: 149 times

Last updated: Jan 21 '15