Henki ROS 2 Best Practices - For People and AI

Hi all!

We’ve decided to write down and publish some of our best practices for ROS 2 development at Henki Robotics! The list of best practices has been compiled from years of experience in developing ROS applications, and we wanted to make this advice freely available, as we believe that some of these simple tips can have a huge impact on a project architecture and maintainability.

In addition to having this advice available for developers, we built the repository so that the best practices can be directly integrated with coding agents to support modern AI-driven development. You can generate quality code automatically, or review your current project. We’ve tested this using Claude, and the difference in generated code is noticeable - we added examples in the repo to showcase the impact of these best practices.

More info in the repository. We’d love to hear which practices you find useful, and which ones we are still missing from our listing.

9 Likes

We just released a new blog post, where we highlight some of these best practices, explain how to enforce them in projects, and show how AI coding agents can follow them automatically, including examples of the improvements achieved.

We hope you find it useful, and we’d love to hear your thoughts!

1 Like