|
| | ActuationModelNumDiffTpl (std::shared_ptr< Base > model) |
| | Initialize the numdiff residual model.
|
| virtual | ~ActuationModelNumDiffTpl ()=default |
| | Destroy the numdiff actuation model.
|
| virtual void | calc (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) |
| | Ignore the computation of the actuation signal.
|
| virtual void | calc (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &u) override |
| | Compute the actuation signal from the state point and joint torque inputs .
|
| virtual void | calcDiff (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) |
| virtual void | calcDiff (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &u) override |
| | Compute the Jacobians of the actuation function.
|
| template<typename NewScalar> |
| ActuationModelNumDiffTpl< NewScalar > | cast () const |
| virtual void | commands (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &tau) override |
| | Compute the joint torque input from the generalized torques.
|
| virtual std::shared_ptr< ActuationDataAbstract > | createData () override |
| | Create the actuation data.
|
| const Scalar | get_disturbance () const |
| | Return the disturbance constant used by the numerical differentiation routine.
|
| const std::shared_ptr< Base > & | get_model () const |
| | Return the original actuation model.
|
| void | set_disturbance (const Scalar disturbance) |
| | Modify the disturbance constant used by the numerical differentiation routine.
|
| virtual void | torqueTransform (const std::shared_ptr< ActuationDataAbstract > &data, const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &u) override |
| | Compute the torque transform from generalized torques to joint torque inputs.
|
| | 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.
|
| const VectorXs & | get_u_lb () const |
| | Return the actuation lower bound.
|
| const VectorXs & | get_u_ub () const |
| | Return the actuation upper bound.
|
| virtual void | print (std::ostream &os) const |
| | Print relevant information of the residual model.
|
| void | set_u_lb (const VectorXs &u_lb) |
| | Modify the actuation lower bounds.
|
| void | set_u_ub (const VectorXs &u_ub) |
| | Modify the actuation upper bounds.
|
template<typename _Scalar>
class crocoddyl::ActuationModelNumDiffTpl< _Scalar >
This class computes the numerical differentiation of an actuation model.
It computes the Jacobian of the residual model via numerical differentiation, i.e.,
and
which denote the Jacobians of the actuation function
.
- See also
- ActuationModelAbstractTpl(), calcDiff()
Definition at line 31 of file actuation.hpp.