49 : nh_(nh), hardware_interface_(hardware_interface)
56 std::size_t error = 0;
struct timespec current_time_
double cycle_time_error_threshold_
GenericHWControlLoop(ros::NodeHandle &nh, boost::shared_ptr< ros_control_boilerplate::GenericHWInterface > hardware_interface)
Constructor.
ros::Duration elapsed_time_
boost::shared_ptr< controller_manager::ControllerManager > controller_manager_
ROS Controller Manager and Runner.
static const double BILLION
boost::shared_ptr< ros_control_boilerplate::GenericHWInterface > hardware_interface_
Abstract Hardware Interface for your robot.
void shutdownIfError(const std::string &parent_name, std::size_t error_count)
ros::Duration desired_update_period_
bool get(const std::string &parent_name, const ros::NodeHandle &nh, const std::string ¶m_name, bool &value)
struct timespec last_time_
#define ROS_WARN_STREAM_NAMED(name, args)