ros编译no matching function for call to问题?

#include <ros_control_boilerplate/generic_hw_control_loop.h>
#include <gluon_control/gluon_hw_interface.h>

int main(int argc, char** argv)
{
  ros::init(argc, argv, "gluon_hw_interface");
  ros::NodeHandle nh;

  // NOTE: We run the ROS loop in a separate thread as external calls such
  // as service callbacks to load controllers can block the (main) control loop
  ros::AsyncSpinner spinner(1);
  spinner.start();

  // Create the hardware interface specific to your robot
  boost::shared_ptr<gluon_control::GluonHWInterface> gluon_hw_interface
    (new gluon_control::GluonHWInterface(nh));
  gluon_hw_interface->init();

  // Start the control loop
  ros_control_boilerplate::GenericHWControlLoop control_loop(nh,gluon_hw_interface);
  control_loop.run(); // Blocks until shutdown signal recieved

  return 0;
}

代码程序这样写的,编译这个程序包的时候就出现下面这样说no matching function for call to的问题,但自己又不知道哪里有问题,求各位大神解答

error: no matching function for call to ‘ros_control_boilerplate::GenericHWControlLoop::GenericHWControlLoop(ros::NodeHandle&, boost::shared_ptr<gluon_control::GluonHWInterface>&)’
   ros_control_boilerplate::GenericHWControlLoop control_loop(nh,gluon_hw_interface);

 

请问您解决了么,我有也遇到了这个问题

https://blog.csdn.net/hyxxi/article/details/124561651?spm=1001.2014.3001.5502 已经解决