Skip to content
Snippets Groups Projects
Commit e7b654c9 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

Update RobotUnit.cpp

parent 1044b53e
No related branches found
No related tags found
No related merge requests found
......@@ -164,8 +164,8 @@ void armarx::RobotUnit::switchSetup(const Ice::StringSeq& controllerRequestedNam
{
if (!hasLVL1Controller(lvl1))
{
ARMARX_ERROR << "No controler of the name '" << lvl1 << "' is loaded!";
throw InvalidArgumentException {"No controler of the name '" + lvl1 + "' is loaded!"};
ARMARX_ERROR << "No controller of the name '" << lvl1 << "' is loaded!";
throw InvalidArgumentException {"No controller of the name '" + lvl1 + "' is loaded!"};
}
}
//check controllers (is there a collision/which controllers need to be deactivated)
......@@ -276,7 +276,7 @@ armarx::LVL1ControllerInterfacePrx armarx::RobotUnit::loadController(const std::
ARMARX_ERROR << ss.str();
throw InvalidArgumentException {ss.str()};
}
//create the controler
//create the controller
jointsUsedByLVL1Controler.clear();
LVL1ControllerPtr lvl1 = factory(this, config);
lvl1->jointControlModeMap = jointsUsedByLVL1Controler;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment