Skip to content
Snippets Groups Projects
Commit cd1acf05 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Improve debug info

parent 5dcc4b3c
No related branches found
No related tags found
2 merge requests!31devel->main,!30Complete UAV identification setup
......@@ -67,19 +67,19 @@ bool ProcessorForceTorque::voteForKeyFrame() const
// time span
if (getBuffer().back().ts_ - getBuffer().front().ts_ > params_motion_force_torque_->max_time_span)
{
WOLF_DEBUG("PM: vote: time span");
WOLF_DEBUG("PM ", getName(), " vote: time span");
return true;
}
// buffer length
if (getBuffer().size() > params_motion_force_torque_->max_buff_length)
{
WOLF_DEBUG("PM: vote: buffer length");
WOLF_DEBUG("PM ", getName(), " vote: buffer length");
return true;
}
// Some other measure of movement?
// WOLF_DEBUG( "PM: do not vote" );
// WOLF_DEBUG( "PM ", getName(), " vote: do not vote" );
return false;
}
......
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