Skip to content

Commit c74a65d

Browse files
authored
Fix parameter server memory requirements (#365)
The parameter server actually uses 5 services, not 4.
1 parent a66606e commit c74a65d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_docs/tutorials/programming_rcl_rclc/parameters/parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Note: micro-ROS parameter server is only supported on ROS 2 Galactic distributio
5757

5858
## Memory requirements
5959

60-
The parameter server uses 4 services and an optional publisher, this needs to be taken into account on the `rmw-microxredds` package memory configuration:
60+
The parameter server uses 5 services and an optional publisher, this needs to be taken into account on the `rmw-microxredds` package memory configuration:
6161

6262
```json
6363
# colcon.meta example with memory requirements to use a parameter server
@@ -68,7 +68,7 @@ The parameter server uses 4 services and an optional publisher, this needs to be
6868
"-DRMW_UXRCE_MAX_NODES=1",
6969
"-DRMW_UXRCE_MAX_PUBLISHERS=1",
7070
"-DRMW_UXRCE_MAX_SUBSCRIPTIONS=0",
71-
"-DRMW_UXRCE_MAX_SERVICES=4",
71+
"-DRMW_UXRCE_MAX_SERVICES=5",
7272
"-DRMW_UXRCE_MAX_CLIENTS=0"
7373
]
7474
}
@@ -193,4 +193,4 @@ To destroy an initialized parameter server:
193193
rclc_parameter_server_fini(&param_server, &node);
194194
```
195195
196-
This will delete any automatically created infrastructure on the agent (if possible) and deallocate used memory on the client side.
196+
This will delete any automatically created infrastructure on the agent (if possible) and deallocate used memory on the client side.

0 commit comments

Comments
 (0)