ocra-recipes
Doxygen documentation for the ocra-recipes repository
DynamicEquationFunction.h
Go to the documentation of this file.
1 
14 #ifndef _OCRA_DYNAMIC_EQUATION_FUNCTION_H_
15 #define _OCRA_DYNAMIC_EQUATION_FUNCTION_H_
16 
18 
19 namespace ocra
20 {
21  class Model;
22 }
23 
29 namespace ocra
30 {
39  : public LinearFunction
40  {
41  public:
42  typedef LinearFunction functionType_t; //< alias on the type of the mother class. Needed to duplicate the function tree.
43 
44  private: // Forbid copy
47 
48  public:
49  DynamicEquationFunction(const Model& model);
51 
52  protected:
53  void updateJacobian() const;
54  void updateb() const;
55 
57  void doUpdateInputSizeEnd();
58 
59  private:
60  void buildA();
61  static Variable& createDEVariable(const Model& model);
62 
63  protected:
64  const Model& _model;
68  };
69 }
70 
71 #endif //_OCRA_DYNAMIC_EQUATION_FUNCTION_H_
72 
73 // cmake:sourcegroup=Functions
Model class.
Definition: Model.h:38
LinearFunction class.
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
DynamicEquationFunction class.
Declaration file of the LinearFunction class.
This class represents a variable in a mathematical sense.
Definition: Variable.h:105