rust-ros2-dataflow ExampleThis example shows how to publish/subscribe to both ROS2 and Dora. The dataflow consists of a single node that sends random movement commands to the ROS2 turtlesim_node.
This examples requires a sourced ROS2 installation.
ros2 run turtlesim turtlesim_node/add_two_ints service: ros2 run examples_rclcpp_minimal_service service_mainAfter sourcing the ROS2 installation and starting both the turtlesim node and the /add_two_ints service, you can run this example to move the turtle in random directions:
cargo run --example rust-ros2-dataflow --features ros2-examples
You should see a few random requests in the terminal where you started the examples_rclcpp_minimal_service.