|
| | StateNumDiffTpl (std::shared_ptr< Base > state) |
| template<typename NewScalar> |
| StateNumDiffTpl< NewScalar > | cast () const |
| virtual void | diff (const Eigen::Ref< const VectorXs > &x0, const Eigen::Ref< const VectorXs > &x1, Eigen::Ref< VectorXs > dxout) const override |
| | Compute the state manifold differentiation.
|
| const Scalar | get_disturbance () const |
| | Return the disturbance constant used in the numerical differentiation routine.
|
| virtual void | integrate (const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &dx, Eigen::Ref< VectorXs > xout) const override |
| | Compute the state manifold integration.
|
| virtual void | Jdiff (const Eigen::Ref< const VectorXs > &x0, const Eigen::Ref< const VectorXs > &x1, Eigen::Ref< MatrixXs > Jfirst, Eigen::Ref< MatrixXs > Jsecond, Jcomponent firstsecond=both) const override |
| | This computes the Jacobian of the diff method by finite differentiation:
|
| virtual void | Jintegrate (const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &dx, Eigen::Ref< MatrixXs > Jfirst, Eigen::Ref< MatrixXs > Jsecond, const Jcomponent firstsecond=both, const AssignmentOp op=setto) const override |
| | This computes the Jacobian of the integrate method by finite differentiation:
|
| virtual void | JintegrateTransport (const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &dx, Eigen::Ref< MatrixXs > Jin, const Jcomponent firstsecond=both) const override |
| | Parallel transport from integrate(x, dx) to x.
|
| virtual void | print (std::ostream &os) const override |
| | Print relevant information of the state numdiff.
|
| virtual VectorXs | rand () const override |
| | Generate a random state.
|
| void | set_disturbance (const Scalar disturbance) |
| | Modify the disturbance constant used by the numerical differentiation routine.
|
| virtual VectorXs | zero () const override |
| | Generate a zero state.
|
| | StateAbstractTpl (const std::size_t nx, const std::size_t ndx) |
| | Initialize the state dimensions.
|
| VectorXs | diff_dx (const Eigen::Ref< const VectorXs > &x0, const Eigen::Ref< const VectorXs > &x1) |
| | Compute the state manifold differentiation.
|
| bool | get_has_limits () const |
| | Indicate if the state has defined limits.
|
| const VectorXs & | get_lb () const |
| | Return the state lower bound.
|
| std::size_t | get_ndx () const |
| | Return the dimension of the tangent space of the state manifold.
|
| std::size_t | get_nq () const |
| | Return the dimension of the configuration tuple.
|
| std::size_t | get_nv () const |
| | Return the dimension of tangent space of the configuration manifold.
|
| std::size_t | get_nx () const |
| | Return the dimension of the state tuple.
|
| const VectorXs & | get_ub () const |
| | Return the state upper bound.
|
| VectorXs | integrate_x (const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &dx) |
| | Compute the state manifold integration.
|
| std::vector< MatrixXs > | Jdiff_Js (const Eigen::Ref< const VectorXs > &x0, const Eigen::Ref< const VectorXs > &x1, const Jcomponent firstsecond=both) |
| std::vector< MatrixXs > | Jintegrate_Js (const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &dx, const Jcomponent firstsecond=both) |
| | Compute the Jacobian of the state manifold integration.
|
| virtual void | safe_diff (const Eigen::Ref< const VectorXs > &x0, const Eigen::Ref< const VectorXs > &x1, Eigen::Ref< VectorXs > dxout) const |
| | Sanitized diff operator that neutralises invalid components and propagates NaNs where the result cannot be trusted".
|
| virtual void | safe_integrate (const Eigen::Ref< const VectorXs > &x, const Eigen::Ref< const VectorXs > &dx, Eigen::Ref< VectorXs > xout) const |
| | Sanitized integrate operator that clamps invalid inputs and marks affected configuration or velocity entries with NaNs.
|
| void | set_lb (const VectorXs &lb) |
| | Modify the state lower bound.
|
| void | set_ub (const VectorXs &ub) |
| | Modify the state upper bound.
|
template<typename _Scalar>
class crocoddyl::StateNumDiffTpl< _Scalar >
Definition at line 20 of file state.hpp.