diff --git a/gz_ros2_control/src/gz_ros2_control_plugin.cpp b/gz_ros2_control/src/gz_ros2_control_plugin.cpp index f42dcf8e..b476fb50 100644 --- a/gz_ros2_control/src/gz_ros2_control_plugin.cpp +++ b/gz_ros2_control/src/gz_ros2_control_plugin.cpp @@ -54,7 +54,8 @@ class GZResourceManager : public hardware_interface::ResourceManager rclcpp::Node::SharedPtr & node, sim::EntityComponentManager & ecm, std::map<std::string, sim::Entity> enabledJoints) - : hardware_interface::ResourceManager(), + : hardware_interface::ResourceManager( + node->get_node_clock_interface(), node->get_node_logging_interface()), gz_system_loader_("gz_ros2_control", "gz_ros2_control::GazeboSimSystemInterface"), logger_(node->get_logger().get_child("GZResourceManager")) {