PlanetaryRobotics / IrisRoverPackage

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

Fix Hercules UART Control & Comms in WD `SERVICE` Mode. #182

Open zCoCo opened 1 year ago

zCoCo commented 1 year ago

After #181 (specifically commit 638e3b7a which was made during RC6), Hercules UART now comes on in SERVICE immediately, before even Hercules is brought up. But even after running the following command aliases to power up Hercules:

  1. power-on-system-vsa
  2. 3v3-on
  3. power-on-herc

Full logs of testing for #181 on FM1 available in: https://github.com/PlanetaryRobotics/CubeRoverPackage/blob/cwcolomb/152-radio-passthrough-programming/Bins/RC6/GSW/packet_prints/packet_prints_rc6_wd_update.txt.ansi

messages from Hercules were not observed until the Rover entered MISSION mode (perhaps the WD-Hercules stroking protocol needed to be running and wasn't?). Upon returning to SERVICE mode, Hercules comms did persist.

Additionally, there was no way to turn off Hercules comms without returning to SERVICE and then power-cycling the Rover (or, possibly, going back up to KEEP_ALIVE mode). Fortunately, the only time we'd want to do this would be when still attached to the lander, at which time power cycling is possible.

This behavior requires the following changes: