104 virtual void actuatorToJointEffort(
const ActuatorData& act_data,
115 virtual void actuatorToJointVelocity(
const ActuatorData& act_data,
126 virtual void actuatorToJointPosition(
const ActuatorData& act_data,
132 throw std::runtime_error(
"transmission does not support actuator to joint absolute position");
138 throw std::runtime_error(
"transmission does not support actuator to joint torque sensor");
152 virtual void jointToActuatorEffort(
const JointData& jnt_data,
163 virtual void jointToActuatorVelocity(
const JointData& jnt_data,
174 virtual void jointToActuatorPosition(
const JointData& jnt_data,
178 virtual std::size_t numActuators()
const = 0;
181 virtual std::size_t numJoints()
const = 0;
std::vector< double * > absolute_position
std::vector< double * > velocity
virtual void actuatorToJointTorqueSensor(const ActuatorData &, JointData &)
std::vector< double * > absolute_position
Contains pointers to raw data representing the position, velocity and acceleration of a transmission'...
std::vector< double * > position
virtual void actuatorToJointAbsolutePosition(const ActuatorData &, JointData &)
std::vector< double * > torque_sensor
std::vector< double * > torque_sensor
virtual bool hasActuatorToJointTorqueSensor() const
Contains pointers to raw data representing the position, velocity and acceleration of a transmission'...
virtual bool hasActuatorToJointAbsolutePosition() const
std::vector< double * > velocity
std::vector< double * > position
std::shared_ptr< Transmission > TransmissionSharedPtr
std::vector< double * > effort
std::vector< double * > effort
Abstract base class for representing mechanical transmissions.