ocra-recipes
Doxygen documentation for the ocra-recipes repository
|
Task Manager for the Center of Mass (CoM) task with the gOcra Controllers. More...
#include <gOcraTaskManagerBase.h>
Public Member Functions | |
gOcraTaskManagerBase (gocra::GHCJTController &ctrl, const ocra::Model &model, const std::string &name) | |
virtual void | activate ()=0 |
virtual void | deactivate ()=0 |
virtual VectorXd | getTaskError () |
double | getTaskErrorNorm () |
Protected Attributes | |
gocra::GHCJTController & | ctrl |
const ocra::Model & | model |
const std::string & | name |
Task Manager for the Center of Mass (CoM) task with the gOcra Controllers.
Definition at line 15 of file gOcraTaskManagerBase.h.
gocra::gOcraTaskManagerBase::gOcraTaskManagerBase | ( | gocra::GHCJTController & | ctrl, |
const ocra::Model & | _model, | ||
const std::string & | _taskName | ||
) |
base constructor
ctrl | GHCJTController to connect to |
model | ocra model to setup the task |
taskName | Name of the task |
Definition at line 12 of file gOcraTaskManagerBase.cpp.
|
pure virtual |
|
pure virtual |
|
virtual |
Returns the error vector of the task
If the derived child class does not have a meaningful error, it should override this function to throw an error
Reimplemented in gocra::gOcraCoMTaskManager, gocra::gOcraSegCartesianTaskManager, gocra::gOcraFullPostureTaskManager, gocra::gOcraSegOrientationTaskManager, gocra::gOcraSegPoseTaskManager, gocra::gOcraContactSetTaskManager, and gocra::gOcraContactTaskManager.
Definition at line 21 of file gOcraTaskManagerBase.cpp.
double gocra::gOcraTaskManagerBase::getTaskErrorNorm | ( | ) |
Returns the norm of the error vector
If the derived child class does not have a meaningful error, it should override this function to throw an error
Definition at line 30 of file gOcraTaskManagerBase.cpp.
|
protected |
Definition at line 27 of file gOcraTaskManagerBase.h.
|
protected |
Definition at line 28 of file gOcraTaskManagerBase.h.
|
protected |
Definition at line 29 of file gOcraTaskManagerBase.h.