Hi,
Building topic_based_ros2_control from the main branch fails on current
ROS 2 Rolling due to a ros2_control API change.
Error:
‘TopicBasedSystem::on_init(const hardware_interface::HardwareInfo&)’
marked ‘override’, but does not override
and:
cannot convert ‘const hardware_interface::HardwareInfo’
to ‘const hardware_interface::HardwareComponentInterfaceParams&’
This appears to be caused by a change in ros2_control where
SystemInterface::on_init now takes
HardwareComponentInterfaceParams instead of HardwareInfo.
The installation docs currently state Rolling is supported, but the
current main branch does not compile against recent Rolling.
Environment:
- ROS 2 Rolling (current apt packages)
- Built from source with colcon
Hi,
Building topic_based_ros2_control from the main branch fails on current
ROS 2 Rolling due to a ros2_control API change.
Error:
‘TopicBasedSystem::on_init(const hardware_interface::HardwareInfo&)’
marked ‘override’, but does not override
and:
cannot convert ‘const hardware_interface::HardwareInfo’
to ‘const hardware_interface::HardwareComponentInterfaceParams&’
This appears to be caused by a change in ros2_control where
SystemInterface::on_init now takes
HardwareComponentInterfaceParams instead of HardwareInfo.
The installation docs currently state Rolling is supported, but the
current main branch does not compile against recent Rolling.
Environment: