Skip to content

Commit

Permalink
Add simple talk/listener tutorial, matching the official ROS 2 docume…
Browse files Browse the repository at this point in the history
…ntation #378 (#390)

* Added another tutorial to ros2 rust.

---------

Co-authored-by: GueLaKais <[email protected]>
Co-authored-by: GueLaKais <[email protected]>
Co-authored-by: Esteve Fernandez <[email protected]>
Co-authored-by: Esteve Fernandez <[email protected]>
Co-authored-by: Sam Privett <[email protected]>
  • Loading branch information
6 people authored Jun 28, 2024
1 parent 7fd9a8b commit e485b1c
Show file tree
Hide file tree
Showing 6 changed files with 589 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
run: |
cd ${{ steps.build.outputs.ros-workspace-directory-name }}
. install/setup.sh
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" { print $2 }'); do
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" && $1 != "rust_pubsub" { print $2 }'); do
cd $path
echo "Running cargo test in $path"
# Run cargo test for all features except generate_docs (needed for docs.rs)
Expand All @@ -119,7 +119,7 @@ jobs:
run: |
cd ${{ steps.build.outputs.ros-workspace-directory-name }}
. /opt/ros/${{ matrix.ros_distribution }}/setup.sh
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" { print $2 }'); do
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" && $1 != "rust_pubsub" { print $2 }'); do
cd $path
echo "Running rustdoc check in $path"
cargo rustdoc -- -D warnings
Expand Down
Loading

0 comments on commit e485b1c

Please sign in to comment.