# ros2_control Drops Deprecated Handle and Export APIs in 6.12.0

Published 2026-10-23 · Robotics.world Team · Robotics.world

> ros2_control 6.12.0 removes deprecated handle and interface-export APIs from the Lyrical and Rolling development distributions. Hardware and controller packages that still trigger related deprecation warnings may fail to build after the next sync.

## Warnings on Rolling and Lyrical point to a build break

Packages that still compile with deprecation warnings in ros2_control face a likely build failure when the next distribution sync arrives. The project’s 6.12.0 release removes the deprecated APIs from the Lyrical and Rolling development distributions; the release changelog dates the controller_interface update to October 7, and maintainer bmagyar posted a warning on October 8.

Source [discourse.openrobotics.org](https://discourse.openrobotics.org/t/upcoming-breaking-changes-in-ros2-control-deprecated-handle-export-apis-removed/58708)

> “If your package currently builds with deprecation warnings from `hardware_interface` or `controller_interface`, it will very likely fail to build after the sync.”
>
> [bmagyar, Open Robotics Discourse](https://discourse.openrobotics.org/t/upcoming-breaking-changes-in-ros2-control-deprecated-handle-export-apis-removed/58708)

The breaking change targets packages that implement hardware components or controllers using the retired interfaces. The code has already been released into Lyrical and Rolling, but the post says users will receive it with the next sync; it gives no sync date.

## Three older interface patterns are removed

The change removes constructors that let developers create a `StateInterface` or `CommandInterface` around a raw pointer to a component’s own `double` variable. Handles now own their values, which code accesses through the newer getter and setter APIs.

Hardware components can no longer override the by-value `export_state_interfaces()` and `export_command_interfaces()` methods. The migration guide directs developers to declare interfaces in the robot’s `ros2_control` description and use framework methods such as `set_state` and `get_command` to exchange values. Components with interfaces not listed there can use the unlisted-interface description methods.

Chainable controllers also lose their older by-value export methods. The replacement is the shared-pointer-based `on_export_*_interfaces_list()` callback family. Together, the removals affect both hardware and controller packages, not just one kind of plugin.

## The migration path predates the removal

The ros2_control migration guide says the hardware-interface migration has been possible since Jazzy. It recommends deleting the old export overrides, declaring interfaces in the robot description, and replacing reads and writes to backing variables with framework state and command accessors.

For developers triaging a codebase, the maintainer’s warning offers a practical first check: look for deprecation warnings from `hardware_interface` or `controller_interface`, then update the package and its tests before the next sync. The post says most simulators and many public drivers have already been patched, but that does not establish that every downstream package is ready.

## Jazzy and Kilted retain the deprecated APIs

The removal applies to Lyrical and Rolling. Jazzy and Kilted are not affected, and the post says those distributions retain the old APIs for backward compatibility. That split gives maintainers of packages targeting the stable distributions a different immediate requirement from teams tracking the development branches.

The release changelog records the 6.12.0 removal as a breaking change for Rolling and Lyrical. For packages still building against the old handle or export methods, the next sync—not the warning itself—is the point at which the compatibility gap is expected to become a build failure.

## Sources

1. Original source [Open Robotics Discourse](https://discourse.openrobotics.org/t/upcoming-breaking-changes-in-ros2-control-deprecated-handle-export-apis-removed/58708) discourse.openrobotics.org

Other pages read

2. [ros-controls/ros2_control on GitHub · page 1](https://github.com/ros-controls/ros2_control/blob/master/controller_interface/CHANGELOG.rst) github.com
3. [ros-controls/ros2_control on GitHub · page 2](https://github.com/ros-controls/ros2_control/blob/master/doc/migration.rst) github.com

## Related stories

- [ROS 2 Reflex Engine Switches Robot Controllers in Under 0.1 ms](https://robotics.world/news/ros-2-reflex-engine-sub-millisecond-switching)
- [Stanford’s GGraph Unites GPU Robot Learning and ROS 2](https://robotics.world/news/stanford-ggraph-gpu-robot-learning-ros2)
- [Arduino introduces RouterBridge_ROS for bringing board I/O into ROS 2](https://robotics.world/news/arduino-direct-ros-2-bridge-ventuno-q)
- [StrataSLAM is released for multi-floor mapping in ROS 2](https://robotics.world/news/strataslam-multi-floor-mapping-ros-2)
- [ROS 2 Rolling updates rosbag2 to use faster MCAP library](https://robotics.world/news/ros-2-rolling-rosbag2-mcap-write-performance)

## Explore

[More articles](https://robotics.world/news)

---

Canonical: https://robotics.world/news/ros2-control-removes-deprecated-handle-export-apis
