33 nh.
param<
double>(
"update_rate", rate, 20);
36 hw_name = nh.
param<std::string>(
"hw_name",
"robotiq_s");
39 prefix = nh.
param<std::string>(
"prefix",
"");
50 throw std::runtime_error(
"There must be 4 joint names");
66 for (std::size_t joint_id = 0; joint_id < 4; ++joint_id)
78 for(std::size_t joint_id = 0; joint_id < 4; ++joint_id)
std::vector< double > j_cmd_pos_
std::vector< double > j_curr_vel_
boost::shared_ptr< Robotiq3FGripperDiagnostics > hw_diagnostics_
void read(ros::Duration d)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
boost::shared_ptr< Robotiq3FGripperROS > hw_ros_
void write(ros::Duration d)
void configure(hardware_interface::JointStateInterface &joint_state_interface, hardware_interface::PositionJointInterface &joint_position_interface)
std::vector< double > j_curr_pos_
boost::shared_ptr< Robotiq3FGripperAPI > hw_driver_
void registerHandle(const JointStateHandle &handle)
JointStateHandle getHandle(const std::string &name)
std::vector< std::string > joint_names_
Robotiq3FGripperHWInterface(ros::NodeHandle nh, boost::shared_ptr< Robotiq3FGripperAPI > driver)
std::vector< double > j_curr_eff_