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

service on different namespace

asked 2020-05-30 05:50:06 -0500

anonymous user

Anonymous

Hey guys

Quick question: I was wondering if it's possible to call services that are created on nodes with different namespaces? For instance, if I have node_1 on namespace node_1, can I call service_2 from node_2 with namespace node_2?

I am using ROS Noetic with Python 3.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-05-30 07:41:38 -0500

gvdhoorn gravatar image

Yes, why wouldn't you be able to do that?

In the end, all namespaces do is prefix regular names with more characters.

As a service identifier is just a name, it doesn't matter whether there is a prefix prefixed or not.

edit flag offensive delete link more

Comments

thank you.

anonymous userAnonymous ( 2020-05-31 10:16:00 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-05-30 05:50:06 -0500

Seen: 837 times

Last updated: May 30 '20