Created a clean state machine implementation, and removed a lot of junk we aren't gonna use that was leftover from the base code we took this from. Implemented it for Low power and idle states.
Test Plan
Tested manually on the PyCubed, we can see it successfully transitions by alternating battery voltage.
Summary
Created a clean state machine implementation, and removed a lot of junk we aren't gonna use that was leftover from the base code we took this from. Implemented it for Low power and idle states.
Test Plan
Tested manually on the PyCubed, we can see it successfully transitions by alternating battery voltage.