still doesnt work
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good

This commit is contained in:
Marius Eggert 2023-06-07 14:13:32 +02:00
parent a110bf32aa
commit 4bcfb8f5a2
2 changed files with 4 additions and 1 deletions

View File

@ -572,6 +572,8 @@ void AcsBoardPolling::gyroAdisHandler(GyroAdis& gyro) {
return;
}
uint16_t decRateReadBack = (rawReply[10] << 8) | rawReply[11];
sif::debug << "AcsPollingTask: DEC rate configuration. Read " << decRateReadBack
<< ", expected " << decRate << std::endl;
if (decRateReadBack != decRate) {
sif::warning << "AcsPollingTask: DEC rate configuration failed. Read " << decRateReadBack
<< ", expected " << decRate << std::endl;
@ -589,6 +591,7 @@ void AcsBoardPolling::gyroAdisHandler(GyroAdis& gyro) {
gyro.performStartup = false;
gyro.replyResult = returnvalue::OK;
}
sif::debug << "hello world 2" << std::endl;
// Read regular registers
std::memcpy(cmdBuf.data(), adis1650x::BURST_READ_ENABLE.data(),
adis1650x::BURST_READ_ENABLE.size());

View File

@ -26,9 +26,9 @@ void GyrAdis1650XHandler::doStartUp() {
breakCountdown.setTimeout(adis1650x::START_UP_TIME);
commandExecuted = true;
}
updatePeriodicReply(true, adis1650x::REPLY);
}
if (internalState == InternalState::STARTUP_DONE) {
updatePeriodicReply(true, adis1650x::REPLY);
setMode(MODE_ON);
internalState = InternalState::NONE;
}