enable periodic HK by default
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-04-07 11:22:29 +02:00
parent 8f4f271331
commit ca92b85864
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -81,7 +81,11 @@ ReturnValue_t GPSHyperionLinuxController::initializeLocalDataPool(
localDataPoolMap.emplace(GpsHyperion::SATS_IN_USE, new PoolEntry<uint8_t>());
localDataPoolMap.emplace(GpsHyperion::SATS_IN_VIEW, new PoolEntry<uint8_t>());
localDataPoolMap.emplace(GpsHyperion::FIX_MODE, new PoolEntry<uint8_t>());
poolManager.subscribeForPeriodicPacket(gpsSet.getSid(), false, 10.0, false);
bool enableHk = false;
#if OBSW_ENABLE_PERIODIC_HK == 1
enableHk = true;
#endif
poolManager.subscribeForPeriodicPacket(gpsSet.getSid(), enableHk, 60.0, false);
return HasReturnvaluesIF::RETURN_OK;
}