ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
The <include> tag does not support the "ns" parameter
if you wrap the <include> in a <group> tag you can do what you want.
Example: <group ns="qbot1"> <include>....</include> </group>
It will put all the nodes inside the group under the given namespaces.
2 | No.2 Revision |
Hi,
The <include> tag does not support the "ns" parameter
if you wrap the <include> in a <group> tag you can do what you want.
Example: <group ns="qbot1"> <include>....</include> </group>
It will put all the nodes inside the group under the given namespaces.
EDIT: When creating the publisher subscriber are you setting the name as "/example_node" or "node", putting the "/" at the start of the node name will force it to the base namespace, if you omit the "/" the namespace will be correctly tagged onto the node
3 | No.3 Revision |
Hi,
if you wrap the <include> in a <group> tag you can do what you want.
Example: <group ns="qbot1"> <include>....</include> </group>
It will put all the nodes inside the group under the given namespaces.
EDIT: When creating the publisher subscriber are you setting the name as "/example_node" or "node", putting the "/" at the start of the node name will force it to the base namespace, if you omit the "/" the namespace will be correctly tagged onto the node
ns = "foo" with sub/pub topic = "/test_node" will always be /test_node ns ="foo" with "test_node" will correctly become "/foo/test_node"
4 | No.4 Revision |
Hi,
if you wrap the <include> in a <group> tag you can do what you want.
Example: <group ns="qbot1"> <include>....</include> </group>
It will put all the nodes inside the group under the given namespaces.
EDIT: When creating the publisher subscriber are you setting the name as "/example_node" or "node", putting the "/" at the start of the node name will force it to the base namespace, if you omit the "/" the namespace will be correctly tagged onto the node
ns = "foo" with sub/pub topic = "/test_node" will always be /test_node
/test_node
ns ="foo" with "test_node" will correctly become "/foo/test_node"