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

Exclude topic from namespace

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

DKS gravatar image

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

Hello,

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
0

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

dornhege gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 270 times

Last updated: Jan 21 '15