debugging GPS: uart is blocking!
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2021-08-20 20:18:56 +02:00
parent bb58281fba
commit dc0c8c704c
4 changed files with 32 additions and 14 deletions

View File

@ -121,7 +121,7 @@ ReturnValue_t GPSHyperionHandler::interpretDeviceReply(DeviceCommandId_t id,
}
uint32_t GPSHyperionHandler::getTransitionDelayMs(Mode_t from, Mode_t to) {
return 5000;
return 20000;
}
ReturnValue_t GPSHyperionHandler::initializeLocalDataPool(
@ -150,3 +150,16 @@ void GPSHyperionHandler::fillCommandAndReplyMap() {
void GPSHyperionHandler::modeChanged() {
internalState = InternalStates::NONE;
}
void GPSHyperionHandler::debugInterface(uint8_t positionTracker, object_id_t objectId,
uint32_t parameter) {
if(positionTracker == 0) {
sif::debug << "state machine, mode " << parameter << std::endl;
}
else if(positionTracker == 1) {
sif::debug << "ALIVE" << std::endl;
}
if(positionTracker == 5) {
(void) positionTracker;
}
}