Skip to content

Commit 63c726c

Browse files
authored
change rclrs_examples to examples_rclrs_minimal_pub_sub in building.md (#238)
1 parent 8efa00f commit 63c726c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Now that everything is set up, you can build with `colcon`. The basic command to
127127
colcon build --packages-up-to $YOUR_PACKAGE
128128
```
129129
130-
where `$YOUR_PACKAGE` could be e.g. `rclrs_examples`. See `colcon build --help` for a complete list of options.
130+
where `$YOUR_PACKAGE` could be e.g. `examples_rclrs_minimal_pub_sub`. See `colcon build --help` for a complete list of options.
131131
132132
It's normal to see a `Some selected packages are already built in one or more underlay workspace` warning. This is because the standard message definitions that are part of ROS 2 need to be regenerated in order to create Rust bindings. If and when `ros2_rust` becomes an officially supported client library, this issue will disappear.
133133

@@ -181,8 +181,8 @@ To summarize:
181181
# Initial build of the package with colcon
182182
# The --lookup-in-workspace flag is recommended for a cargo-based workflow
183183
# Compare .cargo/config.toml with and without it to see its effect
184-
colcon build --packages-up-to rclrs_examples --lookup-in-workspace
185-
cd src/ros2_rust/rclrs_examples
184+
colcon build --packages-up-to examples_rclrs_minimal_pub_sub --lookup-in-workspace
185+
cd src/ros2_rust/examples/minimal_pub_sub
186186
# Run cargo build, or cargo check, cargo doc, etc.
187187
cargo build
188188
```

0 commit comments

Comments
 (0)