Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hal_hw_interface: Update for Humble ros2_control
PR 503 changes a bunch of stuff. ros-controls/ros2_control#503 `ros2_control` distro `hardware_interface` package dropped the `hardware_interface/base_interface.hpp` header. Notes say to replace `hardware_interface::BaseInterface<hardware_interface::SystemInterface>` with `hardware_interface::SystemInterface` In file included from [...]/hal_ros_control/hal_hw_interface/src/hal_system_interface.cpp:39: [...]/hal_ros_control/hal_hw_interface/include/hal_hw_interface/hal_system_interface.hpp:48:10: fatal error: hardware_interface/base_interface.hpp: No such file or directory 48 | #include "hardware_interface/base_interface.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/hal_system_interface.dir/build.make:76: CMakeFiles/hal_system_interface.dir/src/hal_system_interface.cpp.o] Error 1 Notes also say to rename `configure()` to `on_init()` and change return type to `CallbackReturn`. Replace `on_init()` `return_type::ERROR` with `CallbackReturn::ERROR`.
- Loading branch information