ocra-recipes
Doxygen documentation for the ocra-recipes repository
gOcraTaskManagerBase.cpp
Go to the documentation of this file.
2 
3 namespace gocra
4 {
5 
12 gOcraTaskManagerBase::gOcraTaskManagerBase(GHCJTController& _ctrl, const ocra::Model& _model, const std::string& _taskName)
13  : ctrl(_ctrl), model(_model), name(_taskName)
14 {
15 }
16 
22 {
23  throw std::runtime_error(std::string("[gOcraTaskManagerBase::getTaskError()]: getTaskError has not been implemented or is not supported"));
24 }
25 
31 {
32  return getTaskError().norm();
33 }
34 
35 }
Model class.
Definition: Model.h:38
gOcraTaskManagerBase(gocra::GHCJTController &ctrl, const ocra::Model &model, const std::string &name)
gOcra Controller based on LQP solver for the ocra framework.