Skip to content

Commit

Permalink
Vision/Lumenera: Adding debug message to activation state.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosousadias committed Jul 9, 2024
1 parent 2ffd301 commit f473d20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Vision/Lumenera/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ namespace Vision
setEntityState(IMC::EntityState::ESTA_NORMAL, Status::CODE_ACTIVE);
inf(DTR("activated"));
m_cooldown_timer.setTop(10.0);
// FIXME Turn on the power channel m_args.pwr_chn dispatch IMC::PowerChannelControl
}

void
Expand Down Expand Up @@ -492,6 +493,8 @@ namespace Vision
return;
}
m_slave_entities->onEntityActivationState(msg);
if(msg->getSource() != getSystemId())
debug("EntityActivationState %d", msg->state);
}

void
Expand Down

0 comments on commit f473d20

Please sign in to comment.