- 3.0.2 optimal control module.
LinkedMasses2 Class Reference

#include <LinkedMasses.h>

Inheritance diagram for LinkedMasses2:
ct::core::ControlledSystem< 8, 3 > ct::core::System< STATE_DIM, SCALAR >

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW LinkedMasses2 ()
 
LinkedMasses2clone () const override
 
void computeControlledDynamics (const ct::core::StateVector< state_dim > &state, const double &t, const ct::core::ControlVector< control_dim > &control, ct::core::StateVector< state_dim > &derivative) override
 
- Public Member Functions inherited from ct::core::ControlledSystem< 8, 3 >
 ControlledSystem (const SYSTEM_TYPE &type=SYSTEM_TYPE::GENERAL)
 
 ControlledSystem (std::shared_ptr< ct::core::Controller< 8, 3, SCALAR >> controller, const SYSTEM_TYPE &type=SYSTEM_TYPE::GENERAL)
 
 ControlledSystem (const ControlledSystem &arg)
 
virtual ~ControlledSystem ()
 
void setController (const std::shared_ptr< Controller< 8, 3, SCALAR >> &controller)
 
void getController (std::shared_ptr< Controller< 8, 3, SCALAR >> &controller) const
 
std::shared_ptr< Controller< 8, 3, SCALAR > > getController ()
 
virtual void computeDynamics (const StateVector< 8, SCALAR > &state, const time_t &t, StateVector< 8, SCALAR > &derivative) override
 
virtual void computeControlledDynamics (const StateVector< 8, SCALAR > &state, const time_t &t, const ControlVector< 3, SCALAR > &control, StateVector< 8, SCALAR > &derivative)=0
 
ControlVector< 3, SCALARgetLastControlAction ()
 
- Public Member Functions inherited from ct::core::System< STATE_DIM, SCALAR >
 System (const SYSTEM_TYPE &type=SYSTEM_TYPE::GENERAL)
 
 System (const System &other)
 
virtual ~System ()
 
virtual void computeDynamics (const StateVector< STATE_DIM, SCALAR > &state, const time_t &t, StateVector< STATE_DIM, SCALAR > &derivative)=0
 
SYSTEM_TYPE getType () const
 
virtual bool isSymplectic () const
 

Static Public Attributes

static const int state_dim = 8
 
static const int control_dim = 3
 

Additional Inherited Members

- Public Types inherited from ct::core::ControlledSystem< 8, 3 >
typedef std::shared_ptr< ControlledSystem< 8, 3, SCALAR > > Ptr
 
typedef Base::time_t time_t
 
- Public Types inherited from ct::core::System< STATE_DIM, SCALAR >
typedef SCALAR time_t
 
- Public Attributes inherited from ct::core::ControlledSystem< 8, 3 >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef System< 8, SCALARBase
 
- Public Attributes inherited from ct::core::System< STATE_DIM, SCALAR >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef SCALAR S
 
- Protected Attributes inherited from ct::core::ControlledSystem< 8, 3 >
std::shared_ptr< Controller< 8, 3, SCALAR > > controller_
 
ControlVector< 3, SCALARcontrolAction_
 
- Protected Attributes inherited from ct::core::System< STATE_DIM, SCALAR >
SYSTEM_TYPE type_
 

Constructor & Destructor Documentation

◆ LinkedMasses2()

EIGEN_MAKE_ALIGNED_OPERATOR_NEW LinkedMasses2::LinkedMasses2 ( )
inline

References dmcopy(), and Z.

Member Function Documentation

◆ clone()

LinkedMasses2* LinkedMasses2::clone ( ) const
inlineoverridevirtual

◆ computeControlledDynamics()

void LinkedMasses2::computeControlledDynamics ( const ct::core::StateVector< state_dim > &  state,
const double &  t,
const ct::core::ControlVector< control_dim > &  control,
ct::core::StateVector< state_dim > &  derivative 
)
inlineoverride

Member Data Documentation

◆ state_dim

const int LinkedMasses2::state_dim = 8
static

◆ control_dim

const int LinkedMasses2::control_dim = 3
static

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