Fix readme

This commit is contained in:
Martin Dahl 2021-08-29 19:55:46 +02:00
parent 3f0571abb5
commit fa194b8da1
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@ Examples of how to use the crate are included in examples/
``` ```
. /opt/ros/foxy/setup.sh . /opt/ros/foxy/setup.sh
cargo build cargo build
cargo run --example subscriber_with_thread cargo run --example subscriber
# In other shell # In other shell
ros2 topic pub /hi std_msgs/msg/String "data: 'Hello, world!'" ros2 topic pub /topic std_msgs/msg/String "data: 'Hello, world'"
``` ```
What works? What works?