Browse Source

Fix typo in the titles Initialization and Subscribing

pull/15/head
Jesus Eduardo Rodriguez 1 year ago
committed by GitHub
parent
commit
2d20f37927
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ros2/intro_to_ros2.md

+ 2
- 2
ros2/intro_to_ros2.md View File

@ -11,7 +11,7 @@ python3 -m IPython
Try out the following snippets for a ROS 2 quickstart:
## Initializationa and Shutdown
## Initialization and Shutdown
### rclpy.init()
All rclpy functionality can be exposed after initialization:
```{.bash .shell-prompt}
@ -56,7 +56,7 @@ node.destroy_node()
rclpy.shutdown()
```
## Publishing and subscribing
## Publishing and Subscribing
### create_publisher()
ROS 2 is a distributed communication system and one way to send data is through a publisher. It takes the following arguments: msg_type, msg_topic and a history depth (formerly queue_size):
```{.bash .shell-prompt}

Loading…
Cancel
Save