ocra-recipes
Doxygen documentation for the ocra-recipes repository
gOcraContactSetTaskManager.h
Go to the documentation of this file.
1 #ifndef gOcraCONTACTSETTASKMANAGER_H
2 #define gOcraCONTACTSETTASKMANAGER_H
3 
4 #include "ocra/control/Model.h"
8 #include "ocra/control/Feature.h"
9 
10 #include <Eigen/Dense>
11 
12 namespace gocra
13 {
14 
20 {
21  public:
22  gOcraContactSetTaskManager(GHCJTController& ctrl, const ocra::Model& model, const std::string& taskName, const std::string& segmentName, Eigen::Displacementd H_segment_frame[], int numContacts, double mu, double margin);
23 
25 
26  void activate();
27  void deactivate();
28 
29  VectorXd getTaskError(); // Overrides base class function in this context
30  double getTaskErrorNorm(); // Overrides base class function in this context
31 
32  private:
33  const std::string& segmentName;
34 
35  std::string* names;
36  gocra::GHCJTTask** tasks;
37  int numContacts;
38 
40  ocra::SegmentFrame** featFrames;
41 };
42 
43 }
44 
45 #endif // gOcraCONTACTSETTASKMANAGER_H
Define task class for GHCJT controller. It inherits from the task class defined in the ocra framework...
Task Manager for a set of contact tasks.
Declaration file of the Model class.
A class hierarchy to compute task errors based on control frames.
Model class.
Definition: Model.h:38
Task Manager for the Center of Mass (CoM) task with the gOcra Controllers.
gOcra Controller based on LQP solver for the ocra framework.
Define the Generalized Hierarchical Controller based on Jacobian transpose (GHCJT) in quasi-static ca...
A frame attached to a segment of a model.
Definition: ControlFrame.h:104
A generic abstract task for the GHCJT controller.
Definition: GHCJTTask.h:41
gocra::GHCJTController & ctrl
Used to build point contact tasks.
Definition: Feature.h:147
gOcraContactSetTaskManager(GHCJTController &ctrl, const ocra::Model &model, const std::string &taskName, const std::string &segmentName, Eigen::Displacementd H_segment_frame[], int numContacts, double mu, double margin)