Skip to content
Snippets Groups Projects
Commit 1c51b4f8 authored by Christian Dreher's avatar Christian Dreher Committed by ARMAR-7a
Browse files

feat: Better interpretable error message (RK).

parent 2864d80e
No related branches found
No related tags found
1 merge request!380ARMAR-7 Unit
......@@ -121,10 +121,14 @@ namespace armarx
const IceUtil::Time& sensorValuesTimestamp,
const IceUtil::Time& timeSinceLastIteration)
{
if (sensorGlobalPositionCorrection == nullptr or sensorRelativePosition == nullptr)
if (sensorGlobalPositionCorrection == nullptr)
{
ARMARX_ERROR << "The global position correction sensor is not available.";
return;
}
if (sensorRelativePosition == nullptr)
{
ARMARX_ERROR << "one of the sensors is not available";
ARMARX_ERROR << "The relative position sensor is not available.";
return;
}
......
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