diff --git a/webots_ros2_control/src/Ros2Control.cpp b/webots_ros2_control/src/Ros2Control.cpp index e610edc1c..c64d47964 100644 --- a/webots_ros2_control/src/Ros2Control.cpp +++ b/webots_ros2_control/src/Ros2Control.cpp @@ -48,7 +48,9 @@ namespace webots_ros2_control { WebotsResourceManager(const WebotsResourceManager &) = delete; - bool load_and_initialize_components(const std::string &urdf, unsigned int update_rate) override { + bool load_and_initialize_components( + const std::string &urdf, unsigned int update_rate, + const std::vector & dont_load_components) override { components_are_loaded_and_initialized_ = true; std::vector controlHardware;