Other than topics, ROS (Robot Operating System) uses two more modes of communication between the independent nodes of the ROS Graph are Services and Actions. Let’s discuss more about them in this thread. 🧵

#ROS #Robotics @rosorg @OpenRoboticsOrg
Services implement a synchronous Remote Procedure Call to exchange data. The server (which provides the service) specifies a callback function to deal with the service request, and advertises the service. The client (which calls the service) then accesses the service.
Service calls are well suited for procedures that are done occasionally and take a bounded amount of time to complete. For instance, in the Gazebo simulator, robot models are spawned by calling a spawn service. ROS Service Example Application
If the corresponding computation takes a long time, or the time is highly variable, another communication mechanism Actions are used. Actions implement an asynchronous communication mechanism.
Action uses a goal to initialize a behavior, then sends a result when the behavior is complete. Action also uses feedback to provide updates on the behavior’s progress and also allows to cancel the goals. Actions are a high level communication protocol implemented using topics.
For navigation example, goal is given to robot. Along the way, robot provides periodic updates (estimated time of arrival, waypoint reached). Finally, robot returns result message, if the robot was able to make it to the goal. And also, the given goal can be canceled at any time. ROS Actions Example Application

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sakshay Mahna

Sakshay Mahna Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @MahnaSakshay

8 Jan
Face Landmark Detection is a Computer Vision task to detect and track key points on a human face. These landmarks help to localize important regions of the face, like eyes, eyebrows, nose, jaw and mouth. Know more on this thread: 🧵

#MachineLearning #computerengineering Facial Landmarks
These landmarks are useful in various modern day applications like:

Face Morphing
Face Animation
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(