DevilBotz2876 / ChargedUp2023

Code for the FRC 2023 Robotics Competition
Other
3 stars 0 forks source link

Detect when Arm is stuck and automatically stop motor to prevent rope from snapping/unwinding #140

Closed BrownGenius closed 1 year ago

BrownGenius commented 1 year ago

There have been multiple times during practice that the arm/rope have snapped because it was stuck on something and/or the limit switches are broken/misaligned.

We should be able to use the encoder to augment the ArmSafety code to detect if the arm if stuck when moving down/up.