Skip to content

Commit 92edc21

Browse files
Add first_rclrs_node example and update documentation links
1 parent becc938 commit 92edc21

File tree

4 files changed

+295
-227
lines changed

4 files changed

+295
-227
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ ros2 launch examples_rclrs_minimal_pub_sub minimal_pub_sub.launch.xml
7171
```
7272

7373
Further documentation articles:
74-
- [Tutorial on writing your first node with `rclrs`](docs/writing-your-first-rclrs-node.md)
74+
- [Tutorial on writing your first node with `rclrs`](./examples/minimal_pub_sub/src/first_rclrs_node.rs)
7575
- [Contributor's guide](docs/CONTRIBUTING.md)

docs/writing-your-first-rclrs-node.md

Lines changed: 0 additions & 226 deletions
This file was deleted.

examples/minimal_pub_sub/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ path = "src/zero_copy_subscriber.rs"
2525
name = "zero_copy_publisher"
2626
path = "src/zero_copy_publisher.rs"
2727

28+
[[bin]]
29+
name = "first_rclrs_node"
30+
path = "src/first_rclrs_node.rs"
31+
32+
2833
[dependencies]
2934
anyhow = {version = "1", features = ["backtrace"]}
3035

0 commit comments

Comments
 (0)