SHM and socket readout working now
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2022-05-03 11:33:07 +02:00
parent cce0d5448d
commit 456dac6afd
3 changed files with 78 additions and 74 deletions

View File

@@ -49,11 +49,13 @@ class GPSHyperionLinuxController : public ExtendedControllerBase {
ReturnValue_t initializeLocalDataPool(localpool::DataPool& localDataPoolMap,
LocalDataPoolManager& poolManager) override;
ReturnValue_t handleGpsRead(gps_data_t* gps);
ReturnValue_t handleGpsRead();
private:
GpsPrimaryDataset gpsSet;
ReadModes readMode = ReadModes::SHM;
gps_data_t gps = {};
const char* currentClientBuf = nullptr;
ReadModes readMode = ReadModes::SOCKET;
Countdown maxTimeToReachFix = Countdown(MAX_SECONDS_TO_REACH_FIX * 1000);
bool modeCommanded = true;
bool timeInit = true;