Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 38e2086

Browse files
author
Olav de Haas
committed
Add delayed info throttle
1 parent e42f30e commit 38e2086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

march_hardware/src/IMotionCube.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ bool IMotionCube::goToTargetState(IMotionCubeTargetState targetState)
465465
while (!targetState.isReached(this->getStatusWord()))
466466
{
467467
this->setControlWord(targetState.getControlWord());
468-
ROS_DEBUG_THROTTLE(0.5, "\tWaiting for '%s': %s", targetState.getDescription().c_str(),
468+
ROS_INFO_DELAYED_THROTTLE(2, "\tWaiting for '%s': %s", targetState.getDescription().c_str(),
469469
std::bitset<16>(this->getStatusWord()).to_string().c_str());
470470
if (targetState.getState() == IMotionCubeTargetState::OPERATION_ENABLED.getState() &&
471471
this->getState(this->getStatusWord()) == IMCState::fault)

0 commit comments

Comments
 (0)