@@ -95,6 +95,7 @@ tokio = { version = "1", features = ["full"] }
9595[dev-dependencies ]
9696# For testing you'll want to use the "mock" backend if you specify it here, it won't affect your production builds
9797roslibrust = { version = " 0.15" , features = [" mock" ] }
98+ tokio = { version = " 1" , features = [" test-util" ] }
9899
99100# What crates your code needs to run it's build.rs file
100101[build-dependencies ]
@@ -138,7 +139,7 @@ cd my_package
138139# Make a folder to hold our messages
139140mkdir assets
140141# Clone the common interfaces into that folder
141- git submodules add https://github.com/ros2/common_interfaces assets/common_interfaces
142+ git submodule add https://github.com/ros2/common_interfaces assets/common_interfaces
142143```
143144
144145<div class =" warning " >
@@ -156,7 +157,7 @@ that same repository. To fix this we'll also need to clone the `rcl_interfaces`
156157# Make sure we're in the root of our package
157158cd my_package
158159# Clone the rcl_interfaces repository into our assets folder
159- git submodules add https://github.com/ros2/rcl_interfaces assets/rcl_interfaces
160+ git submodule add https://github.com/ros2/rcl_interfaces assets/rcl_interfaces
160161```
161162
162163Now we just need to modify the ` search_paths ` variable in our ` build.rs ` file to point at our new messages:
@@ -205,7 +206,7 @@ For this example we'll keep it simple and leave that line in `main.rs`, but in l
205206
206207## Writing Our First Node
207208
208- Your now ready to actually write some code that uses RosLibRust!
209+ You're now ready to actually write some code that uses RosLibRust!
209210
210211We're going to start with a basic example of publishing to a topic.
211212
0 commit comments