|
robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Base class of reference position of the center of mass (CoM). More...
#include <com_ref_base.hpp>

Public Member Functions | |
| CoMRefBase () | |
| Default constructor. More... | |
| virtual | ~CoMRefBase () |
| Destructor. More... | |
| CoMRefBase (const CoMRefBase &)=default | |
| Default copy constructor. More... | |
| CoMRefBase & | operator= (const CoMRefBase &)=default |
| Default copy operator. More... | |
| CoMRefBase (CoMRefBase &&) noexcept=default | |
| Default move constructor. More... | |
| CoMRefBase & | operator= (CoMRefBase &&) noexcept=default |
| Default move assign operator. More... | |
| virtual void | updateRef (const GridInfo &grid_info, Eigen::VectorXd &com_ref) const =0 |
| Computes the reference CoM position. More... | |
| virtual bool | isActive (const GridInfo &grid_info) const =0 |
| Checks wheather the cost is active or not for the given grid info. More... | |
Base class of reference position of the center of mass (CoM).
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
pure virtual |
Checks wheather the cost is active or not for the given grid info.
| [in] | grid_info | Grid info. |
Implemented in robotoc::DiscreteTimeCoMRef, robotoc::PeriodicCoMRef, and robotoc::MPCPeriodicCoMRef.
|
defaultnoexcept |
Default move assign operator.
|
default |
Default copy operator.
|
pure virtual |
Computes the reference CoM position.
| [in] | grid_info | Grid info. |
| [in] | com_ref | Reference CoM position Size is 3. |
Implemented in robotoc::DiscreteTimeCoMRef, robotoc::PeriodicCoMRef, and robotoc::MPCPeriodicCoMRef.