diff --git a/source/RobotAPI/drivers/GamepadUnit/GamepadUnit.cpp b/source/RobotAPI/drivers/GamepadUnit/GamepadUnit.cpp index 1e7dacc348c3101705f4ae650ab978b031cd23d7..14cc8fb49d139d177425040e4b69334f4e9e042a 100644 --- a/source/RobotAPI/drivers/GamepadUnit/GamepadUnit.cpp +++ b/source/RobotAPI/drivers/GamepadUnit/GamepadUnit.cpp @@ -22,6 +22,7 @@ #include "GamepadUnit.h" +#include "ArmarXCore/core/logging/Logging.h" #include <ArmarXCore/util/CPPUtility/trace.h> #include <ArmarXCore/observers/variant/TimestampVariant.h> #include <linux/joystick.h> @@ -53,7 +54,7 @@ void GamepadUnit::onConnectComponent() ARMARX_TRACE; if (!dataTimestamp) { - ARMARX_INFO << "dataTimestamp is null, waiting for value"; + ARMARX_INFO << deactivateSpam(1) << "dataTimestamp is null, waiting for value"; return; } ARMARX_CHECK_NOT_NULL(dataTimestamp);