Full actuation model. More...
#include <full.hpp>
Public Types | |
| typedef ActuationModelAbstractTpl< Scalar > | Base |
| typedef ActuationDataAbstractTpl< Scalar > | Data |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBase::MatrixXs | MatrixXs |
| typedef StateAbstractTpl< Scalar > | StateAbstract |
| typedef MathBase::VectorXs | VectorXs |
| Public Types inherited from ActuationModelAbstractTpl< _Scalar > | |
| typedef ActuationDataAbstractTpl< Scalar > | ActuationDataAbstract |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBase::MatrixXs | MatrixXs |
| typedef StateAbstractTpl< Scalar > | StateAbstract |
| typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
| ActuationModelFullTpl (std::shared_ptr< StateAbstract > state) | |
| Initialize the full actuation model. | |
| virtual void | calc (const std::shared_ptr< Data > &data, const Eigen::Ref< const VectorXs > &, const Eigen::Ref< const VectorXs > &u) override |
| Compute the full actuation. | |
| virtual void | calcDiff (const std::shared_ptr< Data > &data, const Eigen::Ref< const VectorXs > &, const Eigen::Ref< const VectorXs > &) override |
| Compute the Jacobians of the full actuation model. | |
| template<typename NewScalar> | |
| ActuationModelFullTpl< NewScalar > | cast () const |
| virtual void | commands (const std::shared_ptr< Data > &data, const Eigen::Ref< const VectorXs > &, const Eigen::Ref< const VectorXs > &tau) override |
| Compute the joint torque input from the generalized torques. | |
| virtual std::shared_ptr< Data > | createData () override |
| Create the full actuation data. | |
| virtual void | print (std::ostream &os) const override |
| Print relevant information of the joint-effort residual. | |
| virtual void | torqueTransform (const std::shared_ptr< Data > &data, const Eigen::Ref< const VectorXs > &, const Eigen::Ref< const VectorXs > &) override |
| Compute the torque transform from generalized torques to joint torque inputs. | |
| Public Member Functions inherited from ActuationModelAbstractTpl< _Scalar > | |
| ActuationModelAbstractTpl (std::shared_ptr< StateAbstract > state, const std::size_t nu) | |
| Initialize the actuation model. | |
| void | calc (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) |
| Ignore the computation of the actuation signal. | |
| void | calcDiff (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) |
| Ignore the computation of the Jacobians of the actuation function. | |
| std::size_t | get_nu () const |
| Return the dimension of the joint-torque input. | |
| const std::shared_ptr< StateAbstract > & | get_state () const |
| Return the state. | |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
| Public Attributes inherited from ActuationModelAbstractTpl< _Scalar > | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Protected Attributes | |
| std::size_t | nu_ |
| Dimension of joint torque inputs. | |
| std::shared_ptr< StateAbstract > | state_ |
| Model of the state. | |
| Protected Attributes inherited from ActuationModelAbstractTpl< _Scalar > | |
| std::size_t | nu_ |
| Dimension of joint torque inputs. | |
| std::shared_ptr< StateAbstract > | state_ |
| Model of the state. | |
Full actuation model.
This actuation model applies input controls for all the nv dimensions of the system.
Both actuation and Jacobians are computed analytically by calc and calcDiff, respectively.
| typedef MathBaseTpl<Scalar> MathBase |
| typedef ActuationModelAbstractTpl<Scalar> Base |
| typedef ActuationDataAbstractTpl<Scalar> Data |
| typedef StateAbstractTpl<Scalar> StateAbstract |
| typedef MathBase::VectorXs VectorXs |
| typedef MathBase::MatrixXs MatrixXs |
| inlineexplicit |
| inlineoverridevirtual |
Compute the full actuation.
| [in] | data | Full actuation data |
| [in] | x | State point ![]() |
| [in] | u | Joint torque input ![]() |
Implements ActuationModelAbstractTpl< _Scalar >.
| inlineoverridevirtual |
Compute the Jacobians of the full actuation model.
| [in] | data | Full actuation data |
| [in] | x | State point ![]() |
| [in] | u | Joint torque input ![]() |
Implements ActuationModelAbstractTpl< _Scalar >.
| inlineoverridevirtual |
Compute the joint torque input from the generalized torques.
It stores the results in ActuationDataAbstractTpl::u.
| [in] | data | Actuation data |
| [in] | x | State point ![]() |
| [in] | tau | Generalized torques ![]() |
Implements ActuationModelAbstractTpl< _Scalar >.
| inlineoverridevirtual |
Compute the torque transform from generalized torques to joint torque inputs.
It stores the results in ActuationDataAbstractTpl::Mtau.
| [in] | data | Actuation data |
| [in] | x | State point ![]() |
| [in] | tau | Joint-torque inputs ![]() |
Reimplemented from ActuationModelAbstractTpl< _Scalar >.
| inlineoverridevirtual |
Create the full actuation data.
| [in] | data | shared data (it should be of type DataCollectorContactTpl) |
Reimplemented from ActuationModelAbstractTpl< _Scalar >.
| inline |
| inlineoverridevirtual |
Print relevant information of the joint-effort residual.
| [out] | os | Output stream object |
Reimplemented from ActuationModelAbstractTpl< _Scalar >.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
| protected |
Dimension of joint torque inputs.
Definition at line 173 of file actuation-base.hpp.
| protected |
Model of the state.
Definition at line 174 of file actuation-base.hpp.