ocra-recipes
Doxygen documentation for the ocra-recipes repository
gOcraContactTaskManager.h
Go to the documentation of this file.
1 #ifndef gOcraCONTACTTASKMANAGER_H
2 #define gOcraCONTACTTASKMANAGER_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 
19 {
20  public:
21  gOcraContactTaskManager(GHCJTController& ctrl, const ocra::Model& model, const std::string& taskName, const std::string& segmentName, Eigen::Displacementd H_segment_frame, double mu, double margin);
22 
24 
25  void activate();
26  void deactivate();
27 
28  VectorXd getTaskError(); // Overrides base class function in this context
29  double getTaskErrorNorm(); // Overrides base class function in this context
30  private:
31  gocra::GHCJTTask* task;
32  const std::string& segmentName;
33 
35  ocra::SegmentFrame* featFrame;
36 };
37 
38 }
39 
40 #endif // gOcraCONTACTTASKMANAGER_H
Define task class for GHCJT controller. It inherits from the task class defined in the ocra framework...
Declaration file of the Model class.
gOcraContactTaskManager(GHCJTController &ctrl, const ocra::Model &model, const std::string &taskName, const std::string &segmentName, Eigen::Displacementd H_segment_frame, double mu, double margin)
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...
Task Manager for a contact task.
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