Crocoddyl
 
Loading...
Searching...
No Matches
SquashingModelSmoothSatTpl< _Scalar > Class Template Reference
Inheritance diagram for SquashingModelSmoothSatTpl< _Scalar >:
SquashingModelAbstractTpl< _Scalar >

Public Types

typedef SquashingModelAbstractTpl< Scalar > Base
 
typedef MathBaseTpl< Scalar > MathBase
 
typedef SquashingDataAbstractTpl< Scalar > SquashingDataAbstract
 
typedef MathBase::VectorXs VectorXs
 
- Public Types inherited from SquashingModelAbstractTpl< _Scalar >
typedef MathBaseTpl< Scalar > MathBase
 
typedef SquashingDataAbstractTpl< Scalar > SquashingDataAbstract
 
typedef MathBase::VectorXs VectorXs
 

Public Member Functions

 SquashingModelSmoothSatTpl (const Eigen::Ref< const VectorXs > &u_lb, const Eigen::Ref< const VectorXs > &u_ub, const std::size_t ns)
 
virtual void calc (const std::shared_ptr< SquashingDataAbstract > &data, const Eigen::Ref< const VectorXs > &s)
 
virtual void calcDiff (const std::shared_ptr< SquashingDataAbstract > &data, const Eigen::Ref< const VectorXs > &s)
 
const VectorXs & get_d () const
 
const Scalar get_smooth () const
 
void set_smooth (const Scalar smooth)
 
- Public Member Functions inherited from SquashingModelAbstractTpl< _Scalar >
 SquashingModelAbstractTpl (const std::size_t ns)
 
virtual std::shared_ptr< SquashingDataAbstractcreateData ()
 
std::size_t get_ns () const
 
const VectorXs & get_s_lb () const
 
const VectorXs & get_s_ub () const
 
void set_s_lb (const VectorXs &s_lb)
 
void set_s_ub (const VectorXs &s_ub)
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
 
- Public Attributes inherited from SquashingModelAbstractTpl< _Scalar >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
 

Protected Attributes

VectorXs s_lb_
 
VectorXs s_ub_
 
VectorXs u_lb_
 
VectorXs u_ub_
 
- Protected Attributes inherited from SquashingModelAbstractTpl< _Scalar >
std::size_t ns_
 
VectorXs s_lb_
 
VectorXs s_ub_
 
VectorXs u_lb_
 
VectorXs u_ub_
 

Detailed Description

template<typename _Scalar>
class crocoddyl::SquashingModelSmoothSatTpl< _Scalar >

Definition at line 23 of file smooth-sat.hpp.

Member Typedef Documentation

◆ MathBase

template<typename _Scalar >
typedef MathBaseTpl<Scalar> MathBase

Definition at line 28 of file smooth-sat.hpp.

◆ Base

template<typename _Scalar >
typedef SquashingModelAbstractTpl<Scalar> Base

Definition at line 29 of file smooth-sat.hpp.

◆ SquashingDataAbstract

template<typename _Scalar >
typedef SquashingDataAbstractTpl<Scalar> SquashingDataAbstract

Definition at line 30 of file smooth-sat.hpp.

◆ VectorXs

template<typename _Scalar >
typedef MathBase::VectorXs VectorXs

Definition at line 31 of file smooth-sat.hpp.

Constructor & Destructor Documentation

◆ SquashingModelSmoothSatTpl()

template<typename _Scalar >
SquashingModelSmoothSatTpl ( const Eigen::Ref< const VectorXs > &  u_lb,
const Eigen::Ref< const VectorXs > &  u_ub,
const std::size_t  ns 
)
inline

Definition at line 33 of file smooth-sat.hpp.

◆ ~SquashingModelSmoothSatTpl()

template<typename _Scalar >
virtual ~SquashingModelSmoothSatTpl ( )
inlinevirtual

Definition at line 49 of file smooth-sat.hpp.

Member Function Documentation

◆ calc()

template<typename _Scalar >
virtual void calc ( const std::shared_ptr< SquashingDataAbstract > &  data,
const Eigen::Ref< const VectorXs > &  s 
)
inlinevirtual

Implements SquashingModelAbstractTpl< _Scalar >.

Definition at line 51 of file smooth-sat.hpp.

◆ calcDiff()

template<typename _Scalar >
virtual void calcDiff ( const std::shared_ptr< SquashingDataAbstract > &  data,
const Eigen::Ref< const VectorXs > &  s 
)
inlinevirtual

Implements SquashingModelAbstractTpl< _Scalar >.

Definition at line 62 of file smooth-sat.hpp.

◆ get_smooth()

template<typename _Scalar >
const Scalar get_smooth ( ) const
inline

Definition at line 76 of file smooth-sat.hpp.

◆ set_smooth()

template<typename _Scalar >
void set_smooth ( const Scalar  smooth)
inline

Definition at line 77 of file smooth-sat.hpp.

◆ get_d()

template<typename _Scalar >
const VectorXs & get_d ( ) const
inline

Definition at line 90 of file smooth-sat.hpp.

Member Data Documentation

◆ Scalar

template<typename _Scalar >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 27 of file smooth-sat.hpp.

◆ s_lb_

template<typename _Scalar >
VectorXs s_lb_
protected

Definition at line 62 of file squashing-base.hpp.

◆ s_ub_

template<typename _Scalar >
VectorXs s_ub_
protected

Definition at line 60 of file squashing-base.hpp.

◆ u_lb_

template<typename _Scalar >
VectorXs u_lb_
protected

Definition at line 58 of file squashing-base.hpp.

◆ u_ub_

template<typename _Scalar >
VectorXs u_ub_
protected

Definition at line 57 of file squashing-base.hpp.


The documentation for this class was generated from the following file: