Ask Your Question
0

service on different namespace

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

PedroACaldeira gravatar image

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.

PedroACaldeira gravatar image PedroACaldeira  ( 2020-05-31 10:16:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 27 times

Last updated: May 30