|
| ActuatorDynamics () |
|
virtual | ~ActuatorDynamics () |
|
virtual ActuatorDynamics< ACT_STATE_DIMS, NJOINTS, SCALAR > * | clone () const =0 |
|
virtual void | computeActuatorDynamics (const JointState< NJOINTS, SCALAR > &robotJointState, const ct::core::StateVector< ACT_STATE_DIMS, SCALAR > &actuatorState, const SCALAR &t, const ct::core::ControlVector< NJOINTS, SCALAR > &control, ct::core::StateVector< ACT_STATE_DIMS, SCALAR > &derivative)=0 |
|
virtual core::ControlVector< NJOINTS, SCALAR > | computeControlOutput (const JointState< NJOINTS, SCALAR > &robotJointState, const act_state_vector_t &actState)=0 |
| output equation of the actuator More...
|
|
virtual ct::core::StateVector< ACT_STATE_DIMS, SCALAR > | computeStateFromOutput (const JointState< NJOINTS, SCALAR > &refRobotJointState, const core::ControlVector< NJOINTS, SCALAR > &refControl)=0 |
| reconstruct actuator state from a desired control output and robot joint state (e.g. for initialization) More...
|
|
template<size_t ACT_STATE_DIMS, size_t NJOINTS, typename SCALAR = double>
class ct::rbd::ActuatorDynamics< ACT_STATE_DIMS, NJOINTS, SCALAR >
This class covers the actuator dynamics for a robot, i.e. not the dynamics of a single actuator, but the dynamics of the collection of all actuators in the system
- Note
- This class does on purpose not derive from ControlledSystem, as it requires the full robot state
- Template Parameters
-
state | dimensions of all actuators in the system together |
number | of joints in the robot |
primitive | scalar type, eg. double |
template<size_t ACT_STATE_DIMS, size_t NJOINTS, typename SCALAR = double>
output equation of the actuator
Algebraic output equation for the actuator system, translating the current actuator state and the current robot state into an output control vector. Example: in an RBD setting, the controlOutput may be the actual joint torques.
- Parameters
-
robotState | current RBD state of the robot |
actState | current state of the actuators |
controlOutput | control output (output side of actuator) |
Referenced by ct::rbd::ActuatorDynamics< 2 *NJOINTS, NJOINTS, SCALAR >::~ActuatorDynamics().