Skip to content

Commit 6a8f4ca

Browse files
Update pub_sub.md (#420)
Fixed typo
1 parent e47b9b0 commit 6a8f4ca

File tree

1 file changed

+2
-2
lines changed
  • _docs/tutorials/programming_rcl_rclc/pub_sub

1 file changed

+2
-2
lines changed

_docs/tutorials/programming_rcl_rclc/pub_sub/pub_sub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Ready to use code related to this concepts can be found in [`micro-ROS-demos/rcl
2222

2323
### Initialization
2424

25-
Starting from a code where RCL is initialized and a micro-ROS node is created, there are tree ways to initialize a publisher depending on the desired quality-of-service configuration:
25+
Starting from a code where RCL is initialized and a micro-ROS node is created, there are three ways to initialize a publisher depending on the desired quality-of-service configuration:
2626

2727
- Reliable (default):
2828
```c
@@ -249,4 +249,4 @@ rcl_publisher_fini(&publisher, &node);
249249
rcl_subscription_fini(&subscriber, &node);
250250
```
251251

252-
This will delete any automatically created infrastructure on the agent (if possible) and deallocate used memory on the client side.
252+
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)