#include "GpsCtrlDummy.h" GpsCtrlDummy::GpsCtrlDummy(object_id_t objectId) : ExtendedControllerBase(objectId, 20), gpsSet(this) {} ReturnValue_t GpsCtrlDummy::handleCommandMessage(CommandMessage* message) { return returnvalue::OK; } void GpsCtrlDummy::performControlOperation() {} ReturnValue_t GpsCtrlDummy::checkModeCommand(Mode_t mode, Submode_t submode, uint32_t* msToReachTheMode) { return returnvalue::OK; } LocalPoolDataSetBase* GpsCtrlDummy::getDataSetHandle(sid_t sid) { return &gpsSet; } ReturnValue_t GpsCtrlDummy::initializeLocalDataPool(localpool::DataPool& localDataPoolMap, LocalDataPoolManager& poolManager) { localDataPoolMap.emplace(GpsHyperion::ALTITUDE, new PoolEntry({537222.3469}, true)); localDataPoolMap.emplace(GpsHyperion::LONGITUDE, new PoolEntry({-8.8579}, true)); localDataPoolMap.emplace(GpsHyperion::LATITUDE, new PoolEntry({49.5952}, true)); localDataPoolMap.emplace(GpsHyperion::SPEED, new PoolEntry({0})); localDataPoolMap.emplace(GpsHyperion::YEAR, new PoolEntry({2023}, true)); localDataPoolMap.emplace(GpsHyperion::MONTH, new PoolEntry({5}, true)); localDataPoolMap.emplace(GpsHyperion::DAY, new PoolEntry({16}, true)); localDataPoolMap.emplace(GpsHyperion::HOURS, new PoolEntry({1}, true)); localDataPoolMap.emplace(GpsHyperion::MINUTES, new PoolEntry({0}, true)); localDataPoolMap.emplace(GpsHyperion::SECONDS, new PoolEntry({0}, true)); localDataPoolMap.emplace(GpsHyperion::UNIX_SECONDS, new PoolEntry({1684191600}, true)); localDataPoolMap.emplace(GpsHyperion::SATS_IN_USE, new PoolEntry()); localDataPoolMap.emplace(GpsHyperion::SATS_IN_VIEW, new PoolEntry()); localDataPoolMap.emplace(GpsHyperion::FIX_MODE, new PoolEntry()); return returnvalue::OK; }