Skip to content

Why does RMF mostly use two Topics when making a request to another ROS component instead of using services? #535

Answered by mxgrey
Odin-byte asked this question in Q&A
Discussion options

You must be logged in to vote

There are a few factors that came into play, but the single biggest factor is that the current architecture was implemented in the very early days of ROS 2 when services suffered a lot of reliability issues due to default DDS configurations which were highly in flux in those days.

There was a significant probability back then that service calls would fail due to configuration or network connectivity problems. The reliable thing to do was repeatedly blast requests and responses over topics until you could observe the effect that you wanted.

Another factor is that many operations that Open-RMF does would be better described as Actions rather than Services, but Actions weren't available at a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Odin-byte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants