Remove use of using
in examples and use hardware_interface::CallbackReturn
instead
#171
Labels
using
in examples and use hardware_interface::CallbackReturn
instead
#171
With changes in ros-controls/ros2_control/pull/673 we had to add additional using in examples for the code to be compilable.
@fmauch gave us a great idea here, to actually use
hardware_interface::CallbackReturn
instead. This is much more future-proof!Here you should do the following:
using CallbackReturn = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn;
definition from exampleshardware_interface::CallbackReturn
instead ofCallbackReturn
in the delcarations and definitions and for constants-access.The text was updated successfully, but these errors were encountered: