8 DynamicEquationFunction::DynamicEquationFunction(
const Model& model)
13 , _model(model), _q_ddot(model.getAccelerationVariable()), _tau(model.getJointTorqueVariable())
14 , _f(model.getModelContacts().getContactForcesVariable())
29 Variable& DynamicEquationFunction::createDEVariable(
const Model& model)
32 std::stringstream name;
33 name <<
"de" << cpt++;
53 void DynamicEquationFunction::buildA()
const Variable & getVariable() const
Declaration file of the Model class.
virtual const Eigen::VectorXd & getActuatedDofs() const =0
virtual const Eigen::VectorXd & getNonLinearTerms() const =0
~DynamicEquationFunction()
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
void doUpdateInputSizeBegin()
void invalidateb(int timestamp)
This class represents a variable in a mathematical sense.
Variable & getJointTorqueVariable() const
Variable & getAccelerationVariable() const
CompositeVariable & add(Variable &child)
Attach/detach the child to/from this node.
virtual const Eigen::MatrixXd & getInertiaMatrix() const =0
bool hasFixedRoot() const
A concatenation of base variables and other composite variables.
virtual const Eigen::VectorXd & getLinearTerms() const =0
void updateJacobian() const
Declaration file of the DynamicEquationFunction class.
Declaration file of the Variable class.
void doUpdateInputSizeEnd()
void disconnect(Derived &object, void(Base::*callbackToErase)(int)) const
Disconnect non-static method.
void connect(Derived &object, void(Base::*newCallback)(int)) const
Call this method to register a non-static method as a callback.
ModelContacts & getModelContacts() const