Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

namespace renaming

I have the turtlesim node running at /ajsim/turtle1 It is subscribing to the topic /ajsim/turtle1/command_velocity

I started another node called turtle_teleop_key which publishes the topic /turtle1/command_velocity

The problem is that the node in /ajsim/turtle1 cannot subscribe to the topic at /turtle1/command_velocity

The wiki is a little unclear about how the change the namespace. Could someone please tell me how I can make sure they are in the same namespace?

namespace renaming

I have the turtlesim node running at /ajsim/turtle1 It is subscribing to the topic /ajsim/turtle1/command_velocity

I started another node called turtle_teleop_key which publishes the topic /turtle1/command_velocity

The problem is that the node in /ajsim/turtle1 cannot subscribe to the topic at /turtle1/command_velocity

The I tried the command, [code] rosrun turtlesim turtle_teleop_key command_velocity:=ajsim/turtle1/command_velocity [/code]

but it doesn't work and the wiki is a little unclear about how the change the namespace. Could someone please tell me how I can make sure they are in the same namespace?