MICDSRobotics-5190 / RelicRecovery

FTC Android Studio project to create FTC Robot Controller app.
MIT License
2 stars 0 forks source link

Stuck turning with gyro in automous #26

Closed blabel3 closed 6 years ago

blabel3 commented 6 years ago

Sometimes when turning in autonomous, the robot (while holding the glyph) will get stuck with hardware in front of the direction it needs to turn. Because setAngle() in MecanumDrive has the robot turn until it reaches the set angle, the robot gets stuck trying to turn when it will never be able to finish it. So, we just need to have it exit out when it gets stuck like that. Or just like we can git gud at setting it up so that that issue never happens. RedRight is the only one where this has been a problem, because it's the only one very close to cryptobox as it turns (but it can be an issue elsewhere too).

blabel3 commented 6 years ago

Fixed in 1c70768b3dd9892c9f96d7cb713c3192e568b9b1