PlanetaryRobotics / IrisRoverPackage

Complete software package for the Iris Lunar Rover (CMU).
GNU General Public License v3.0
14 stars 2 forks source link

Make Heater Control Settings Persistent #200

Open zCoCo opened 1 year ago

zCoCo commented 1 year ago

Makem_hParams persistent (make it static persistent and have it pointed to by WatchdogStateDetails?) NOTE: There's a lot of stuff in this struct we don't care about (deprecated) but needs to stay there. NOTE: This would likely require inits to CE, etc. depending on source (or we could just persist everything EXCEPT thermistor source, which is probably fine since we know BattRT works).

Sensible way to do this would be to add separate variables (or 1 separate struct) for the things we care about, persist those, and just use them to init m_hParams. Be sure to check all references to m_hParams and its children if taking this approach.