Go to the documentation of this file.
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");
181 virtual std::size_t
numJoints()
const = 0;
virtual bool hasActuatorToJointAbsolutePosition() const
virtual void jointToActuatorVelocity(const JointData &jnt_data, ActuatorData &act_data)=0
Transform velocity variables from joint to actuator space.
virtual std::size_t numActuators() const =0
virtual ~Transmission()=default
std::shared_ptr< Transmission > TransmissionSharedPtr
std::vector< double * > velocity
virtual void actuatorToJointPosition(const ActuatorData &act_data, JointData &jnt_data)=0
Transform position variables from actuator to joint space.
virtual std::size_t numJoints() const =0
virtual bool hasActuatorToJointTorqueSensor() const
std::vector< double * > position
Contains pointers to raw data representing the position, velocity and acceleration of a transmission'...
std::vector< double * > torque_sensor
virtual void jointToActuatorEffort(const JointData &jnt_data, ActuatorData &act_data)=0
Transform effort variables from joint to actuator space.
std::vector< double * > effort
Abstract base class for representing mechanical transmissions.
virtual void actuatorToJointEffort(const ActuatorData &act_data, JointData &jnt_data)=0
Transform effort variables from actuator to joint space.
std::vector< double * > position
std::vector< double * > absolute_position
std::vector< double * > effort
std::vector< double * > torque_sensor
std::vector< double * > velocity
virtual void jointToActuatorPosition(const JointData &jnt_data, ActuatorData &act_data)=0
Transform position variables from joint to actuator space.
std::vector< double * > absolute_position
virtual void actuatorToJointTorqueSensor(const ActuatorData &, JointData &)
Contains pointers to raw data representing the position, velocity and acceleration of a transmission'...
virtual void actuatorToJointVelocity(const ActuatorData &act_data, JointData &jnt_data)=0
Transform velocity variables from actuator to joint space.
virtual void actuatorToJointAbsolutePosition(const ActuatorData &, JointData &)