Closed Alexbay218 closed 9 years ago
This should be one of the last pieces of code we right because if mechanical does their job this shouldn't even happen.
I want to have something like this implemented whenever we aren't working on anything else. This could be a general feature that can be implemented in multiple motors as a general safety to be reused yearly.
Agreed, I just want everyone to keep priorities for last few days of build season.
This was fixed in hardware. Closing.
There is a motor that will flip the breaker when it draws to much power.
We need to detect if the breaker is flipped by measuring the current the PDB draws, by detecting when a sudden current drop occurs.
Occurs in the elevator motor.
Use a encoder value and a timer to test if the component is moving. If not, the tell PID to stop moving.
May be a mechanical issue.