ROS 2 Commands Cheat Sheet
ROS 2 is the next-generation iteration of ROS, and it is intended to solve some of the constraints and problems that plagued ROS 1. These include scalability, real-time support, and interoperability with other middleware systems.
The robotics community is currently transitioning from ROS 1 to ROS 2.
ROS 1 Noetic’s end-of-life (EOL) deadline was formally established for May 23, 2025, so existing robotics products on the market must begin moving their code from ROS 1 to ROS 2. As someone with a fair share of ROS 1 expertise, I’ve been retraining my mind to type colcon build
instead of catkin build
, and may be even struggling a bit with all the new arguments available for colcon build.
Here is the ultimate cheat sheet that is alphabetically organized, searchable, and copy-paste enabled for you to download and use without wasting your precious time asking ChatGPT for the equivalent command of ROS 1.
This cheat sheet is based on the ROS 2 Humble Hawksbill version.
I will try to keep the cheat sheet as up-to-date as possible.
Cheers!
If you liked the article, please buy me a ☕️ coffee
References: