GPS Update #201

Merged
meierj merged 6 commits from mueller/gps-update into develop 2022-04-07 11:35:00 +02:00
Showing only changes of commit ca92b85864 - Show all commits

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_USE, new PoolEntry<uint8_t>());
localDataPoolMap.emplace(GpsHyperion::SATS_IN_VIEW, new PoolEntry<uint8_t>()); localDataPoolMap.emplace(GpsHyperion::SATS_IN_VIEW, new PoolEntry<uint8_t>());
localDataPoolMap.emplace(GpsHyperion::FIX_MODE, 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; return HasReturnvaluesIF::RETURN_OK;
} }