Skip to content

Commit 3ede53f

Browse files
author
Murilo Marinho
committed
[mermaid] Minor changes.
1 parent bbbff36 commit 3ede53f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/source/action_clients.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ calls for the goal and the result, the node is free to do other tasks while thos
2323

2424
.. mermaid::
2525

26-
%%{init: { "theme" : "redux-dark-color" }}%%
26+
%%{init: { "theme" : "dark" }}%%
2727
sequenceDiagram
2828
participant Action Client as Action Client
2929
participant Action Server as Action Server

docs/source/service_servers_and_clients.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@
55
At your Service: Servers and Clients
66
====================================
77

8-
In some cases, we need means of communication in which each command has an associated response. That is where :code:`Services` come into play. We use :code:`Services` by creating a :code:`ServiceServer`.
9-
The :code:`ServiceServer` will provide a service that can be accessed by one or more :code:`ServiceClient`\s.
8+
In some cases, we need means of communication in which each command has an associated response. That is where services come into play.
9+
We provide services by creating a :code:`ServiceServer`. The service server will provide a service that can be accessed by one or more :code:`ServiceClient`\s.
1010

11-
In this sense, a :code:`Service` is much less of an abstract entity than a :code:`Topic`.
12-
Each :code:`Service` should only have a single :code:`ServiceServer` that will receive a :code:`Request` and provide a :code:`Response`.
11+
In this sense, a service is much less of an abstract entity than a topic.
12+
Each service should only have a single service server that will receive a :code:`Request` and provide a :code:`Response`.
1313

1414
Diagram
1515
-------
1616

1717
.. mermaid::
1818

19-
%%{init: { "theme" : "redux-dark-color" }}%%
19+
%%{init: { "theme" : "dark" }}%%
2020
sequenceDiagram
21+
participant Service Client 1 as Service Client 1
22+
participant Service Server as Service Server
23+
participant Service Client 2 as Service Client 2
24+
autonumber
2125
Service Client 1 ->>+ Service Server: service_client.call_async()
2226
loop
2327
Service Client 1-->Service Client 1: rclpy.spin()

0 commit comments

Comments
 (0)