rospy: node namespace is empty
I got the impression that a node per default has a namespace matching the node name.
Mini example, I run this node:
import rospy
rospy.init_node('tester')
rospy.set_param('foo', 1)
rospy.spin()
I then run rosparam list
, I get:
/foo
/rosdistro
/roslaunch/uris/host_knxps13_local__35409
/rosversion /run_id
Why don't I get:
/tester/foo
Why is the namespace of the node /
and not /tester
?