#ifndef MISSION_CONTROLLER_CONTROLLERDEFINITIONS_POWERCTRLDEFINITIONS_H_ #define MISSION_CONTROLLER_CONTROLLERDEFINITIONS_POWERCTRLDEFINITIONS_H_ #include #include #include #include #include namespace pwrctrl { enum SetIds : uint32_t { CORE_HK }; enum PoolIds : lp_id_t { TOTAL_BATTERY_CURRENT, OPEN_CIRCUIT_VOLTAGE_CHARGE, COULOMB_COUNTER_CHARGE, }; static constexpr uint8_t CORE_HK_ENTRIES = 3; class CoreHk : public StaticLocalDataSet { public: CoreHk(HasLocalDataPoolIF* hkOwner) : StaticLocalDataSet(hkOwner, CORE_HK) {} lp_var_t totalBatteryCurrent = lp_var_t(sid.objectId, TOTAL_BATTERY_CURRENT, this); lp_var_t openCircuitVoltageCharge = lp_var_t(sid.objectId, OPEN_CIRCUIT_VOLTAGE_CHARGE, this); lp_var_t coulombCounterCharge = lp_var_t(sid.objectId, COULOMB_COUNTER_CHARGE, this); private: }; } // namespace pwrctrl #endif /* MISSION_CONTROLLER_CONTROLLERDEFINITIONS_POWERCTRLDEFINITIONS_H_ */