chonky #670

Merged
muellerr merged 278 commits from v3.0.0-dev into main 2023-06-11 14:25:21 +02:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 4bcfb8f5a2 - Show all commits

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
meggert marked this conversation as resolved Outdated

who did this?

who did this?
<< ", 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;
}