frc1418 / 2017-robot

:robot: Team 1418's FRC robot code for the 2017 season
MIT License
6 stars 4 forks source link

Add current limiter #17

Closed ArchdukeTim closed 7 years ago

ArchdukeTim commented 7 years ago

Something that would've been good to have last year.

For motors that are subject to running under heavy load, it would be a good idea to check the current, and if it's above a threshold, free the motor (motor.free()) or some other way of stopping it. motor.free() is good because in some cases like last year, you just want to change say, the operating mode of the motor.

CarterFendley commented 7 years ago

We really have no motors that need this.