19 :
gOcraTaskManagerBase(_ctrl, _model, _taskName), segmentName(_segmentName), numContacts(_numContacts)
24 names =
new std::string[numContacts];
26 for (
int i = 0; i < numContacts; i++)
28 std::ostringstream name_stream;
29 name_stream <<
name << i;
30 names[i] = name_stream.str();
49 for (
int i = 0; i < numContacts; i++)
61 for (
int i = 0; i < numContacts; i++)
70 throw std::runtime_error(
"[gOcraContactSetTaskManager::getTaskError()] Error is meaningless in this context or has not been computed");
76 throw std::runtime_error(
"[gOcraContactSetTaskManager::getTaskErrorNorm()] Error is meaningless in this context or has not been computed");
void activateAsConstraint()
Task Manager for the Center of Mass (CoM) task with the gOcra Controllers.
gOcra Controller based on LQP solver for the ocra framework.
A frame attached to a segment of a model.
A generic abstract task for the GHCJT controller.
gocra::GHCJTController & ctrl
GHCJTTask & createGHCJTContactTask(const std::string &name, PointContactFeature::Ptr feature, double mu, double margin) const
const std::string SegmentName(const std::string &name) const
void addTask(std::shared_ptr< Task > task)
const ocra::Model & model