Skip to content
Snippets Groups Projects
Commit 240ada09 authored by Christian Dreher's avatar Christian Dreher
Browse files

fix: Deactivate spam

parent 9e4811f6
No related branches found
No related tags found
1 merge request!486Feat/revolute head
Pipeline #21165 failed
...@@ -123,12 +123,13 @@ namespace armarx ...@@ -123,12 +123,13 @@ namespace armarx
{ {
if (sensorGlobalPositionCorrection == nullptr) if (sensorGlobalPositionCorrection == nullptr)
{ {
ARMARX_ERROR << "The global position correction sensor is not available."; ARMARX_ERROR << "The global position correction sensor is not available."
<< deactivateSpam(1);
return; return;
} }
if (sensorRelativePosition == nullptr) if (sensorRelativePosition == nullptr)
{ {
ARMARX_ERROR << "The relative position sensor is not available."; ARMARX_ERROR << "The relative position sensor is not available." << deactivateSpam(1);
return; 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