FRC2706 / 2020-2706-Robot-Code

The Robot Code for the 2020 FIRST Robotics Competition INFINITE RECHARGE
Other
4 stars 2 forks source link

Motor Current Limiter (Issue #13) #114

Closed Citysurvivor closed 4 years ago

Citysurvivor commented 4 years ago

Code limits motor current draw to 40 amps (continuously). Current that exceeds 60 amps for more than a second will be clamped down to 40. Code sends motor current info to Shuffleboard. Code can trigger driver feedback in teleopPeriodic if desired.

The changes to files other than Robot.java, Drivebase.java, and Config.java occurred when I updated my local vendor libraries - let me know if this isn't OK.

Citysurvivor commented 4 years ago

Closed. My branch was way behind master, so I rewrote my code on a new, up-to-date branch. See Motor Current Limiter 2.