|
| FixBaseFDSystem (const RigidBodyPose_t &basePose=RigidBodyPose_t()) |
| constructor More...
|
|
| FixBaseFDSystem (std::shared_ptr< ActuatorDynamics_t > actuatorDynamics, const RigidBodyPose_t &basePose=RigidBodyPose_t()) |
| constructor including actuator dynamics More...
|
|
| FixBaseFDSystem (const FixBaseFDSystem &arg) |
| copy constructor More...
|
|
virtual | ~FixBaseFDSystem ()=default |
| destructor More...
|
|
void | computeControlledDynamics (const state_vector_t &state, const SCALAR &t, const control_vector_t &controlIn, state_vector_t &derivative) override |
| compute the controlled dynamics of the fixed base robotic system More...
|
|
template<typename T = void> |
std::enable_if<(ACT_STATE_DIM > 0), T >::type | computeActuatorDynamics (const FixBaseRobotState_t &robotState, const SCALAR &t, const control_vector_t &controlIn, state_vector_t &stateDerivative, control_vector_t &controlOut) |
| evaluate the actuator dynamics if actuators are enabled More...
|
|
template<typename T = void> |
std::enable_if<(ACT_STATE_DIM==0), T >::type | computeActuatorDynamics (const FixBaseRobotState_t &robotState, const SCALAR &t, const control_vector_t &controlIn, state_vector_t &stateDerivative, control_vector_t &controlOut) |
| do nothing if actuators disabled More...
|
|
virtual FixBaseFDSystem< RBDDynamics, ACT_STATE_DIM, EE_ARE_CONTROL_INPUTS > * | clone () const override |
| deep cloning More...
|
|
std::shared_ptr< ActuatorDynamics_t > | getActuatorDynamics () |
| get pointer to actuator dynamics More...
|
|
template<typename T = typename FixBaseRobotState_t::actuator_state_vector_t> |
std::enable_if<(ACT_STATE_DIM > 0), T >::type | computeConsistentActuatorState (const JointState< BASE::NJOINTS, SCALAR > &jStateRef, const ct::core::ControlVector< BASE::NJOINTS > &torqueRef) |
| if actuator dynamics enabled, this method allows to design a consistent actuator state More...
|
|
template<typename T = typename FixBaseRobotState_t::actuator_state_vector_t> |
std::enable_if<(ACT_STATE_DIM > 0), T >::type | computeConsistentActuatorState (const JointState< BASE::NJOINTS, SCALAR > &jStateRef) |
| if actuator dynamics enabled, this method allows to design a consistent actuator state More...
|
|
| FixBaseSystemBase (const RigidBodyPose_t &basePose=RigidBodyPose_t()) |
| constructor More...
|
|
| FixBaseSystemBase (const FixBaseSystemBase &arg) |
| copy constructor More...
|
|
virtual | ~FixBaseSystemBase ()=default |
| destructor More...
|
|
virtual RBDDynamics & | dynamics () override |
| get dynamics More...
|
|
virtual const RBDDynamics & | dynamics () const override |
| get dynamics (const) More...
|
|
virtual void | computeControlledDynamics (const ct::core::StateVector< STATE_D, SCALAR > &state, const SCALAR &t, const ct::core::ControlVector< CONTROL_D, SCALAR > &controlIn, ct::core::StateVector< STATE_D, SCALAR > &derivative) override=0 |
| compute the controlled dynamics of the fixed base robotic system More...
|
|
ct::core::ControlVector< NJOINTS > | computeIDTorques (const JointState< NJOINTS, SCALAR > &jState, const JointAcceleration_t &jAcc=JointAcceleration_t(Eigen::Matrix< SCALAR, NJOINTS, 1 >::Zero())) |
| compute inverse dynamics torques More...
|
|
| RBDSystem ()=default |
|
virtual | ~RBDSystem ()=default |
|
| ControlledSystem (const SYSTEM_TYPE &type=SYSTEM_TYPE::GENERAL) |
|
| ControlledSystem (std::shared_ptr< ct::core::Controller< STATE_D, CONTROL_D, RBDDynamics::SCALAR >> controller, const SYSTEM_TYPE &type=SYSTEM_TYPE::GENERAL) |
|
| ControlledSystem (const ControlledSystem &arg) |
|
virtual | ~ControlledSystem () |
|
void | setController (const std::shared_ptr< Controller< STATE_D, CONTROL_D, RBDDynamics::SCALAR >> &controller) |
|
void | getController (std::shared_ptr< Controller< STATE_D, CONTROL_D, RBDDynamics::SCALAR >> &controller) const |
|
std::shared_ptr< Controller< STATE_D, CONTROL_D, RBDDynamics::SCALAR > > | getController () |
|
virtual void | computeDynamics (const StateVector< STATE_D, RBDDynamics::SCALAR > &state, const time_t &t, StateVector< STATE_D, RBDDynamics::SCALAR > &derivative) override |
|
virtual void | computeControlledDynamics (const StateVector< STATE_D, RBDDynamics::SCALAR > &state, const time_t &t, const ControlVector< CONTROL_D, RBDDynamics::SCALAR > &control, StateVector< STATE_D, RBDDynamics::SCALAR > &derivative)=0 |
|
ControlVector< CONTROL_D, RBDDynamics::SCALAR > | getLastControlAction () |
|
| System (const SYSTEM_TYPE &type=SYSTEM_TYPE::GENERAL) |
|
| System (const System &other) |
|
virtual | ~System () |
|
virtual void | computeDynamics (const StateVector< STATE_DIM, SCALAR > &state, const time_t &t, StateVector< STATE_DIM, SCALAR > &derivative)=0 |
|
SYSTEM_TYPE | getType () const |
|
virtual bool | isSymplectic () const |
|
template<class RBDDynamics, size_t ACT_STATE_DIM = 0, bool EE_ARE_CONTROL_INPUTS = false>
class ct::rbd::FixBaseFDSystem< RBDDynamics, ACT_STATE_DIM, EE_ARE_CONTROL_INPUTS >
A fix base rigid body system that uses forward dynamics.
A fix base rigid body system that uses forward dynamics. The control input vector is assumed to consist of
- joint torques and
- end effector forces expressed in the world frame
The overall state vector is arranged in the order
- joint positions
- joint velocities
- actuator state
- Warning
- when modelled with RobCoGen, the base pose must be rotated "against gravity" (RobCoGen modeling assumption)