ocra-recipes
Doxygen documentation for the ocra-recipes repository
|
Classes | |
class | ocra::ContactAvoidanceFunction |
Create a linear function that represents the joint limit function. More... | |
class | ocra::FullContactAvoidanceFunction |
Create a linear function that represents the contact avoidance function for the full formalism. More... | |
class | ocra::ReducedContactAvoidanceFunction |
Create a linear function that represents the contact avoidance function for the reduced formalism. More... | |
class | ocra::ContactAvoidanceConstraint |
class | ocra::ControlConstraint |
class | ocra::FullDynamicEquationFunction |
Create a linear function that represents the dynamic equation of motion. More... | |
class | ocra::JointLimitFunction |
Create a linear function that represents the joint limit function. More... | |
class | ocra::FullJointLimitFunction |
Create a linear function that represents the joint limit function for the full formalism. More... | |
class | ocra::ReducedJointLimitFunction |
Create a linear function that represents the joint limit function for the reduced formalism. More... | |
class | ocra::JointLimitConstraint |
class | ocra::TorqueLimitFunction |
Create a linear function that represents the torque limit function. More... | |
class | ocra::TorqueLimitConstraint |
Typedefs | |
typedef LinearFunction | ocra::FullDynamicEquationFunction::functionType_t |
Functions | |
ocra::FullDynamicEquationFunction::FullDynamicEquationFunction (const Model &model) | |
ocra::FullDynamicEquationFunction::~FullDynamicEquationFunction () | |
void | ocra::FullDynamicEquationFunction::takeIntoAccountGravity (bool useGrav) |
const Eigen::MatrixXd & | ocra::FullDynamicEquationFunction::getInertiaMatrixInverseJchiT () const |
const Eigen::VectorXd & | ocra::FullDynamicEquationFunction::getInertiaMatrixInverseLinNonLinGrav () const |
Variable & | ocra::FullDynamicEquationFunction::getActionVariable () const |
void | ocra::FullDynamicEquationFunction::updateJacobian () const |
void | ocra::FullDynamicEquationFunction::updateb () const |
void | ocra::FullDynamicEquationFunction::buildA () |
virtual void | ocra::FullDynamicEquationFunction::doUpdateInputSizeBegin () |
virtual void | ocra::FullDynamicEquationFunction::doUpdateInputSizeEnd () |
typedef LinearFunction ocra::FullDynamicEquationFunction::functionType_t |
Definition at line 43 of file FullDynamicEquationFunction.h.
|
protected |
Initialize the Jacobian matrix ( ) in the function.
It sets to 0 and computes that is a constant matrix, So we obtain . and are updated in updateJacobian() const .
Definition at line 123 of file FullDynamicEquationFunction.cpp.
|
protectedvirtual |
Do when input size changes, before.
By overloading this function, it allows linear function modification when input size changes. It does nothing actually.
Reimplemented from ocra::Function.
Definition at line 173 of file FullDynamicEquationFunction.cpp.
|
protectedvirtual |
Do when input size changes, after.
By overloading this function, it allows linear function modification when input size changes. It does nothing actually.
Reimplemented from ocra::LinearFunction.
Definition at line 183 of file FullDynamicEquationFunction.cpp.
FullDynamicEquationFunction::FullDynamicEquationFunction | ( | const Model & | model | ) |
Initialize a dynamic equation of motion function.
model | The Model on which we will update the dynamic parameters |
It is connected with the model on "EVT_CHANGE_VALUE", meaning that a,y modification in the model will invalidate this linear function.
Definition at line 62 of file FullDynamicEquationFunction.cpp.
Variable & FullDynamicEquationFunction::getActionVariable | ( | ) | const |
Definition at line 208 of file FullDynamicEquationFunction.cpp.
const Eigen::MatrixXd & FullDynamicEquationFunction::getInertiaMatrixInverseJchiT | ( | ) | const |
Definition at line 194 of file FullDynamicEquationFunction.cpp.
const Eigen::VectorXd & FullDynamicEquationFunction::getInertiaMatrixInverseLinNonLinGrav | ( | ) | const |
Definition at line 201 of file FullDynamicEquationFunction.cpp.
void FullDynamicEquationFunction::takeIntoAccountGravity | ( | bool | useGrav | ) |
Definition at line 88 of file FullDynamicEquationFunction.cpp.
|
protectedvirtual |
Update the vector ( ) in the function.
It computes .
Reimplemented from ocra::LinearFunction.
Definition at line 110 of file FullDynamicEquationFunction.cpp.
|
protectedvirtual |
Update the Jacobian matrix ( ) in the function.
Actually, it computes by updating and . is constant and has been initialized in the constructor which calls buildA()
Reimplemented from ocra::LinearFunction.
Definition at line 100 of file FullDynamicEquationFunction.cpp.
FullDynamicEquationFunction::~FullDynamicEquationFunction | ( | ) |
Destructor
Definition at line 79 of file FullDynamicEquationFunction.cpp.