crocoddyl 1.9.0
Contact RObot COntrol by Differential DYnamic programming Library (Crocoddyl)
 
Loading...
Searching...
No Matches
SquashingModelSmoothSatTpl< _Scalar > Class Template Reference
Inheritance diagram for SquashingModelSmoothSatTpl< _Scalar >:
Collaboration diagram for SquashingModelSmoothSatTpl< _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 boost::shared_ptr< SquashingDataAbstract > &data, const Eigen::Ref< const VectorXs > &s)
 
virtual void calcDiff (const boost::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 void calc (const boost::shared_ptr< SquashingDataAbstract > &data, const Eigen::Ref< const VectorXs > &s)=0
 
virtual void calcDiff (const boost::shared_ptr< SquashingDataAbstract > &data, const Eigen::Ref< const VectorXs > &s)=0
 
virtual boost::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 22 of file smooth-sat.hpp.

Member Typedef Documentation

◆ MathBase

typedef MathBaseTpl<Scalar> MathBase

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

◆ Base

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

◆ SquashingDataAbstract

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

◆ VectorXs

typedef MathBase::VectorXs VectorXs

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

Constructor & Destructor Documentation

◆ SquashingModelSmoothSatTpl()

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

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

◆ ~SquashingModelSmoothSatTpl()

virtual ~SquashingModelSmoothSatTpl ( )
inlinevirtual

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

Member Function Documentation

◆ calc()

virtual void calc ( const boost::shared_ptr< SquashingDataAbstract > &  data,
const Eigen::Ref< const VectorXs > &  s 
)
inlinevirtual

Implements SquashingModelAbstractTpl< _Scalar >.

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

◆ calcDiff()

virtual void calcDiff ( const boost::shared_ptr< SquashingDataAbstract > &  data,
const Eigen::Ref< const VectorXs > &  s 
)
inlinevirtual

Implements SquashingModelAbstractTpl< _Scalar >.

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

◆ get_smooth()

const Scalar get_smooth ( ) const
inline

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

◆ set_smooth()

void set_smooth ( const Scalar  smooth)
inline

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

◆ get_d()

const VectorXs & get_d ( ) const
inline

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

Member Data Documentation

◆ Scalar

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

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

◆ s_lb_

VectorXs s_lb_
protected

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

◆ s_ub_

VectorXs s_ub_
protected

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

◆ u_lb_

VectorXs u_lb_
protected

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

◆ u_ub_

VectorXs u_ub_
protected

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


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