Home · What it can build · Writing requests · Architecture · Benchmarks · Fine-tuning · Results · GitHub
What it can build
What the agent does in ROS 2 development, split by the evidence behind it. “Benchmarks” are the runs in results: a package passes when it builds, starts and (in bench2) behaves as asked under a hidden check.
Proven in the benchmarks
| Work | What it does | Evidence |
|---|---|---|
| Create packages | Python (ament_python) and C++ (ament_cmake) with package.xml, setup.py / CMakeLists.txt and install rules |
19 / 20 build, on Humble, Jazzy, Kilted and Lyrical |
| Write nodes | Publishers, subscribers, timers, services and clients, action servers, parameters | 18 / 20 behave correctly (base model) |
| Define interfaces | Custom .msg, .srv, .action, in the same package or a separate interface package |
Passed |
| Managed nodes | Lifecycle nodes that publish only when active | Passed (C++ and Python) |
| Components | rclcpp_components registration plus a standalone executable |
Passed once, failed once |
| TF | Static and moving transforms | Each model failed one of these |
| QoS | Sensor-data and transient-local (latched) topics | Passed |
| Launch and configuration | Launch files with namespaces, remapping and YAML parameters | Passed |
| Nav2 plugins | Costmap layer plugin | Loaded and marked lethal cells in a live Nav2 costmap |
| ros2_control | Hardware interface (SystemInterface) for a differential-drive robot |
Builds and exports correctly |
| Fix its own build errors | Reads colcon / CMake / Python errors, searches the references, fixes, rebuilds | 1-9 build checks per task |
| Smoke-test | Builds in the right ros:<distro>-ros-base image, starts nodes, loads launch files |
Every task |
Likely to work, not benchmarked
The reference index covers these, but they have not been measured:
- URDF and xacro with
robot_state_publisherand an RViz launch file - ros2_control controller configuration and simple custom controllers
- Nav2 parameter files and behaviour-tree XML
- Simple MoveIt 2 MoveGroup interface nodes
- Bag recording from a node,
launch_testingtests, pluginlib plugins in general
Weak or out of scope
| Work | Why |
|---|---|
| Whole robot systems in one request | Works best one package at a time |
| Drivers for specific hardware (cameras, lidars, motor controllers) | No reference code for your devices |
| Simulation setups (Gazebo, Isaac Sim) | Not in the references, and it cannot run a simulator to check |
| Tuning Nav2 or MoveIt on a real robot | Needs the robot and its sensors |
| Real-time and performance work | Cannot be measured in the build container |
Mistakes to review yourself
Its most common mistakes that still build and start, so only behaviour testing catches them:
- C++ object lifetimes: nodes, timers or TF broadcasters created as temporaries or locals and destroyed at once.
- Logic details: hard-coded limits instead of the message’s own fields, writing into an empty string.
- Blocking loops in Python:
rate.sleep()without a spinning executor.
ros2check now also catches launch files that fail to load and package.xml files without a build_type.
Getting good results
- One package per request (or one package plus its interface package).
- Exact package, executable, node, topic and service names, full message types, and the numbers that matter.
- End with “prove it works: …” and a concrete test.
- Review the code before running it on a real robot.
Template and examples: writing requests.