Ask Your Question
0

When to use a ROS service rather than a normal node

asked 2018-02-21 05:38:21 -0500

Mostafa Osman gravatar image

updated 2018-02-21 05:39:02 -0500

Hey, I am new to ROS services, I have been working with ROS nodes and topics but I never needed to use services. When looking through the tutorials I didn't fully understand what is the difference between a service and a normal nodes.

edit retag flag offensive close merge delete

Comments

Please see #q11834 which has very good answers.

jayess gravatar image jayess  ( 2018-02-21 10:31:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-02-21 05:56:39 -0500

hector.herrero gravatar image

I didn't fully understand what is the difference between a service and a normal nodes

They are different concepts.

Trying to simplify I would say that the service can be seen as function or procedure call, i.e., you call a service for performing one task and obtaining (or not) a result.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-02-21 05:38:21 -0500

Seen: 58 times

Last updated: Feb 21 '18