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

leading slash in namespace

asked 2015-06-28 00:53:42 -0500

Juni gravatar image


I'm studying hard about ROS and gazebo.

Now I'm very confused about namespace.

Is there any difference in between /p3dx/base_link and p3dx/base_link?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-28 10:14:18 -0500

130s gravatar image

Names that start with a "/" are global -- they are considered fully resolved. Global names should be avoided as much as possible as they limit code portability.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-28 00:53:42 -0500

Seen: 656 times

Last updated: Jun 28 '15