Running Autoware with rmw_zenoh: Planning Simulation and CARLA Demo
#7141
hsule
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello community,
Autoware now supports
rmw_zenohas an alternative ROS 2 middleware. While CycloneDDS remains the default middleware, Zenoh is useful for several Autoware-related scenarios:We recommend ROS 2 Jazzy with Autoware 1.7.1 or later, since it includes the GuardCondition use-after-free fix and does not require workaround patches.
For more detailed network configuration, please refer to the Autoware documentation:
Zenoh settings for ROS 2 and Autoware
Planning simulation demo
A simple way to try
rmw_zenohwith Autoware is to run the planning simulation demo.Prerequisite
Install
rmw_zenoh_cpp(skip if already installed):The only extra step for
rmw_zenohis to start the Zenoh router before launching Autoware. According to thermw_zenohREADME, this manual step may be removed in the future:# terminal 1 ros2 run rmw_zenoh_cpp rmw_zenohdAfter that, you can use Autoware in the same way as the normal planning simulation workflow.
Larger demo: Autoware + CARLA
As a larger demo, we also added
rmw_zenohsupport toautoware_carla_launchand confirmed that Autoware + CARLA can run successfully with Zenoh at the ROS 2 RMW layer.Repository: https://github.com/evshary/autoware_carla_launch
Documentation: https://autoware-carla-launch.readthedocs.io/en/latest/
Supported modes in
autoware_carla_launchThe project can run in two modes:
rmw_zenoh— Autoware communicates through Zenoh directly at the ROS 2 RMW layer usingrmw_zenoh_cpp.ros2dds— Autoware uses CycloneDDS, bridged to Zenoh viazenoh-bridge-ros2dds.In both modes,
zenoh_carla_bridgeconnects CARLA and Autoware over Zenoh. With the newrmw_zenohmode, Zenoh carries the ROS 2 traffic end to end.Current status
rmw_zenoh.Feel free to give it a try, and let us know how
rmw_zenohperforms in your environment. Feedback and suggestions are very welcome.Beta Was this translation helpful? Give feedback.
All reactions