still doesnt work
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
This commit is contained in:
parent
a110bf32aa
commit
4bcfb8f5a2
@ -572,6 +572,8 @@ void AcsBoardPolling::gyroAdisHandler(GyroAdis& gyro) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
uint16_t decRateReadBack = (rawReply[10] << 8) | rawReply[11];
|
uint16_t decRateReadBack = (rawReply[10] << 8) | rawReply[11];
|
||||||
|
sif::debug << "AcsPollingTask: DEC rate configuration. Read " << decRateReadBack
|
||||||
|
<< ", expected " << decRate << std::endl;
|
||||||
if (decRateReadBack != decRate) {
|
if (decRateReadBack != decRate) {
|
||||||
sif::warning << "AcsPollingTask: DEC rate configuration failed. Read " << decRateReadBack
|
sif::warning << "AcsPollingTask: DEC rate configuration failed. Read " << decRateReadBack
|
||||||
<< ", expected " << decRate << std::endl;
|
<< ", expected " << decRate << std::endl;
|
||||||
@ -589,6 +591,7 @@ void AcsBoardPolling::gyroAdisHandler(GyroAdis& gyro) {
|
|||||||
gyro.performStartup = false;
|
gyro.performStartup = false;
|
||||||
gyro.replyResult = returnvalue::OK;
|
gyro.replyResult = returnvalue::OK;
|
||||||
}
|
}
|
||||||
|
sif::debug << "hello world 2" << std::endl;
|
||||||
// Read regular registers
|
// Read regular registers
|
||||||
std::memcpy(cmdBuf.data(), adis1650x::BURST_READ_ENABLE.data(),
|
std::memcpy(cmdBuf.data(), adis1650x::BURST_READ_ENABLE.data(),
|
||||||
adis1650x::BURST_READ_ENABLE.size());
|
adis1650x::BURST_READ_ENABLE.size());
|
||||||
|
@ -26,9 +26,9 @@ void GyrAdis1650XHandler::doStartUp() {
|
|||||||
breakCountdown.setTimeout(adis1650x::START_UP_TIME);
|
breakCountdown.setTimeout(adis1650x::START_UP_TIME);
|
||||||
commandExecuted = true;
|
commandExecuted = true;
|
||||||
}
|
}
|
||||||
|
updatePeriodicReply(true, adis1650x::REPLY);
|
||||||
}
|
}
|
||||||
if (internalState == InternalState::STARTUP_DONE) {
|
if (internalState == InternalState::STARTUP_DONE) {
|
||||||
updatePeriodicReply(true, adis1650x::REPLY);
|
|
||||||
setMode(MODE_ON);
|
setMode(MODE_ON);
|
||||||
internalState = InternalState::NONE;
|
internalState = InternalState::NONE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user