30 #ifndef TRANSMISSION_INTERFACE_SIMPLE_TRANSMISSION_H 31 #define TRANSMISSION_INTERFACE_SIMPLE_TRANSMISSION_H 104 const double joint_offset = 0.0);
178 const double joint_offset)
245 #endif // TRANSMISSION_INTERFACE_SIMPLE_TRANSMISSION_H std::vector< double * > velocity
Contains pointers to raw data representing the position, velocity and acceleration of a transmission'...
void actuatorToJointVelocity(const ActuatorData &act_data, JointData &jnt_data)
Transform velocity variables from actuator to joint space.
std::vector< double * > position
void jointToActuatorPosition(const JointData &jnt_data, ActuatorData &act_data)
Transform position variables from joint to actuator space.
double getActuatorReduction() const
std::size_t numJoints() const
void actuatorToJointEffort(const ActuatorData &act_data, JointData &jnt_data)
Transform effort variables from actuator to joint space.
void jointToActuatorEffort(const JointData &jnt_data, ActuatorData &act_data)
Transform effort variables from joint to actuator space.
std::size_t numActuators() const
Contains pointers to raw data representing the position, velocity and acceleration of a transmission'...
Implementation of a simple reducer transmission.
std::vector< double * > velocity
std::vector< double * > position
void jointToActuatorVelocity(const JointData &jnt_data, ActuatorData &act_data)
Transform velocity variables from joint to actuator space.
double getJointOffset() const
std::vector< double * > effort
void actuatorToJointPosition(const ActuatorData &act_data, JointData &jnt_data)
Transform position variables from actuator to joint space.
std::vector< double * > effort
SimpleTransmission(const double reduction, const double joint_offset=0.0)
Abstract base class for representing mechanical transmissions.