Skip to content
Snippets Groups Projects
Commit b298c554 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Make error output more verbose

parent 632b8480
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,11 @@ namespace armarx
void ControlDevice::addJointController(JointController* jointCtrl)
{
ARMARX_CHECK_IS_NULL(owner);
ARMARX_CHECK_IS_NULL_W_HINT(
owner,
"The ControlDevice '" << getDeviceName()
<< "' was already added to a RobotUnit! Call addJointController before calling addControlDevice."
);
ARMARX_DEBUG << "adding Controller " << jointCtrl;
if (!jointCtrl)
{
......
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