#include <PreviewControl/LinearizedInvertedPendulum2D.hh>
◆ LinearizedInvertedPendulum2D()
LinearizedInvertedPendulum2D::LinearizedInvertedPendulum2D |
( |
| ) |
|
◆ ~LinearizedInvertedPendulum2D()
LinearizedInvertedPendulum2D::~LinearizedInvertedPendulum2D |
( |
| ) |
|
◆ GetComHeight()
const double & LinearizedInvertedPendulum2D::GetComHeight |
( |
| ) |
const |
Getter for the CoM height
◆ GetRobotControlPeriod()
const double & LinearizedInvertedPendulum2D::GetRobotControlPeriod |
( |
| ) |
|
Getter for the control period of the robot (for interpolation) .
◆ GetSimulationControlPeriod()
const double & LinearizedInvertedPendulum2D::GetSimulationControlPeriod |
( |
| ) |
const |
Getter for the simulation period specifically
◆ GetState() [1/2]
COMState LinearizedInvertedPendulum2D::GetState |
( |
| ) |
|
◆ getState()
com_t PatternGeneratorJRL::LinearizedInvertedPendulum2D::getState |
( |
| ) |
|
|
inline |
◆ GetState() [2/2]
void LinearizedInvertedPendulum2D::GetState |
( |
Eigen::VectorXd & |
lxk | ) |
|
◆ InitializeSystem()
int LinearizedInvertedPendulum2D::InitializeSystem |
( |
| ) |
|
Initialize the system.
- Returns
- 0 if the initialization is fine, -1 if the control period is not initialized, -2 if the Com height is not initialized.
◆ Interpolation()
int LinearizedInvertedPendulum2D::Interpolation |
( |
std::deque< COMState > & |
COMStates, |
|
|
std::deque< ZMPPosition > & |
ZMPRefPositions, |
|
|
int |
CurrentPosition, |
|
|
double |
CX, |
|
|
double |
CY |
|
) |
| |
Interpolation during a simulation period with control parameters.
- Parameters
-
◆ OneIteration()
com_t LinearizedInvertedPendulum2D::OneIteration |
( |
double |
CX, |
|
|
double |
CY |
|
) |
| |
Simulate one iteration of the LIPM.
- Parameters
-
[in] | CX | control value in the forward direction. |
[in] | CY | control value in the left-right direction. |
- Returns
- 0 if the object has been properly initialized -1, otherwise.
◆ operator()() [1/2]
const com_t PatternGeneratorJRL::LinearizedInvertedPendulum2D::operator() |
( |
| ) |
const |
|
inline |
◆ operator()() [2/2]
void PatternGeneratorJRL::LinearizedInvertedPendulum2D::operator() |
( |
com_t |
CoM | ) |
|
|
inline |
◆ SetComHeight()
void LinearizedInvertedPendulum2D::SetComHeight |
( |
const double & |
aComHeight | ) |
|
Setter for the CoM height
◆ SetRobotControlPeriod()
void LinearizedInvertedPendulum2D::SetRobotControlPeriod |
( |
const double & |
aT | ) |
|
Setter for the control period of the robot (for interpolation) .
◆ SetSimulationControlPeriod()
void LinearizedInvertedPendulum2D::SetSimulationControlPeriod |
( |
const double & |
aT | ) |
|
Setter for the simulation period specifically
◆ setState() [1/2]
void LinearizedInvertedPendulum2D::setState |
( |
com_t |
aCoM | ) |
|
◆ setState() [2/2]
void LinearizedInvertedPendulum2D::setState |
( |
COMState & |
aCoM | ) |
|
The documentation for this class was generated from the following files: