Skip to content

Commit e485b1c

Browse files
GuelakaisGueLaKaisGueLaKaisestevemaspe36
authored
Add simple talk/listener tutorial, matching the official ROS 2 documentation #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]>
1 parent 7fd9a8b commit e485b1c

File tree

6 files changed

+589
-2
lines changed

6 files changed

+589
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
run: |
102102
cd ${{ steps.build.outputs.ros-workspace-directory-name }}
103103
. install/setup.sh
104-
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" { print $2 }'); do
104+
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
105105
cd $path
106106
echo "Running cargo test in $path"
107107
# Run cargo test for all features except generate_docs (needed for docs.rs)
@@ -119,7 +119,7 @@ jobs:
119119
run: |
120120
cd ${{ steps.build.outputs.ros-workspace-directory-name }}
121121
. /opt/ros/${{ matrix.ros_distribution }}/setup.sh
122-
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" { print $2 }'); do
122+
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
123123
cd $path
124124
echo "Running rustdoc check in $path"
125125
cargo rustdoc -- -D warnings

0 commit comments

Comments
 (0)