Raptacon / Robot-2020

MIT License
3 stars 3 forks source link

Adds current limit methods #90

Closed ManiacMoustache closed 4 years ago

ManiacMoustache commented 4 years ago

Tested, works with ctre/rev controllers. Adds dictionaries to doof config.

ChrisHirsch commented 4 years ago

This PR currently crashes: File "Y:\Users\chirsch\src\raptacon\Robot-2020\utils\motorHelper.py", line 80, in setTalonFXCurrentLimits triggerThresholdCurrent = currentLimits['triggerThresholdCurrent'] KeyError: 'triggerThresholdCurrent'

Please run in the sim first