Skip to content

Commit

Permalink
Update pub_sub.md (#420)
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
k3rnel-pan1c-a authored Sep 16, 2024
1 parent e47b9b0 commit 6a8f4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _docs/tutorials/programming_rcl_rclc/pub_sub/pub_sub.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ready to use code related to this concepts can be found in [`micro-ROS-demos/rcl

### Initialization

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:
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:

- Reliable (default):
```c
Expand Down Expand Up @@ -249,4 +249,4 @@ rcl_publisher_fini(&publisher, &node);
rcl_subscription_fini(&subscriber, &node);
```

This will delete any automatically created infrastructure on the agent (if possible) and deallocate used memory on the client side.
This will delete any automatically created infrastructure on the agent (if possible) and deallocate used memory on the client side.

0 comments on commit 6a8f4ca

Please sign in to comment.