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

Multiple / in computation graph names

asked 2011-07-07 02:37:20 -0500

dornhege gravatar image

updated 2011-07-15 05:13:54 -0500

kwc gravatar image

Is it officially OK to use multiple / in names for the computation graph, similar to Linux file systems, e.g.:

    //test1 will point to /test1
    /test1//test4 will point to /test1/test4

I have tested and used this for parameters. It does what I expect.

My question is: Is this behaviour guaranteed?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-07-12 17:08:41 -0500

kwc gravatar image

No, there is a good chance that not all client libraries will catch this. There are generally libraries in each language to help with constructing names, e.g.

C++:

ros::names::append

Python:

roslib.names.ns_join

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-07-07 02:37:20 -0500

Seen: 262 times

Last updated: Jul 12 '11