28 for (
unsigned i = 0; i < 6; i++) {
30 std::string j_name =
"joint_" + std::to_string(i+1);
54 ROS_ERROR_STREAM(
"Could not initialize hardware interface:\n\tTrace: " << e.what());
61 for (
unsigned i = 0; i < 6; i++) {
75 for (
unsigned i=0; i < 6; i++){
void registerInterface(T *iface)
std::vector< double > _joint_velocities
~DynamixelHardwareInterface()
std::vector< double > _joint_angles
void init(ros::NodeHandle nh)
std::vector< double > write_joints()
hardware_interface::JointStateInterface _jnt_state_interface
std::vector< double > _joint_efforts
void registerHandle(const JointStateHandle &handle)
JointStateHandle getHandle(const std::string &name)
DynamixelHardwareInterface()
void read_joints(sensor_msgs::JointState js)
#define ROS_ERROR_STREAM(args)
hardware_interface::EffortJointInterface _jnt_effort_interface
ROSCPP_DECL void spinOnce()
std::vector< double > _prev_commands
std::vector< double > _joint_commands