Namespaces of Nodes
At first I executed the command roscore
to activate name service and XMLRPC mechanism for node communation. Then, I launched two turtlesim nodes for turtle simulation which are turtlesim_node
and teleop_turtle
.
Finally, I executed the command rosnode list
to display running nodes in ROS system. The output is demonstrated below.
/rosout
/teleop_turtle
/turtlesim
In this point, a question came to my mind. I have read names and namespaces section of wikiros. I am a little bit familiar with namespace concept.
Can we say that all nodes are located directly under global namespace ?
I am asking this question because when I list running nodes, names of these nodes begin with forward slash ( / ), which means that their namespaces are global namespace itself. Can we make such a generalization ?