PlanetaryRobotics / IrisRoverPackage

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

Determine why BattRT is wrong in DetailedStatus #201

Open zCoCo opened 1 year ago

zCoCo commented 1 year ago

For some reason the thermistor data in the WD's DetailedStatus packets are wrong (always 1), specifically BattRT (the battery thermistor). No idea why. Data comes through just fine in the heartbeats. Could suggest a broader formatting issue with DetailedStatus but bit-boundaries in the packet have been thoroughly tested and all the other fields have change when and how they are expected to in all other testing.

Low priority because we already have this data coming down in heartbeats.

NOTE from #196 : Plugged a 5k resistor (i.e. 25C or 298K) into RT port. Heating status changed to NOT_HEATING (suggesting that the WD sees a new ADC value) but Tbatt in DetailedStatus stayed at 1, suggesting a data packing issue. BattTemp in Heartbeat and in Hercules telem incorrectly reported charging thermistor instead of main battery thermistor, so it's possible this is just a detailed status data packing issue.

See #206 . Might be related...