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

Make error output more verbose

parent 4770396e
No related branches found
No related tags found
1 merge request!39Robot unit v3
......@@ -35,9 +35,10 @@ namespace armarx
{
ARMARX_CHECK_EXPRESSION_W_HINT(
jointEmergencyStopController,
"ControlDevice::getJointEmergencyStopController called for a ControlDevice without a JointController "
"ControlDevice::getJointEmergencyStopController called for a ControlDevice ('"
<< getDeviceName() << "') without a JointController "
"with the ControlMode ControlModes::EmergencyStop"
<< " (add a JointController with this ControlMode)"
" (add a JointController with this ControlMode)"
);
return jointEmergencyStopController;
}
......@@ -46,9 +47,10 @@ namespace armarx
{
ARMARX_CHECK_EXPRESSION_W_HINT(
jointStopMovementController,
"ControlDevice::getJointStopMovementController called for a ControlDevice without a JointController "
"ControlDevice::getJointStopMovementController called for a ControlDevice ('"
<< getDeviceName() << "') without a JointController "
"with the ControlMode ControlModes::StopMovement"
<< " (add a JointController with this ControlMode)"
" (add a JointController with this ControlMode)"
);
return jointStopMovementController;
}
......
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