mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 08:48:07 -06:00
climber subsystem 3.0
This commit is contained in:
@@ -106,8 +106,8 @@ public class Shoot extends CommandBase {
|
||||
* Updates error for custom PID.
|
||||
*/
|
||||
public void updateError() {
|
||||
targetAngle = AimToCenter.aaravAngleToCenter(odoX, odoY, swerve.getRegGyro().getDegrees());
|
||||
|
||||
// targetAngle = AimToCenter.aaravAngleToCenter(odoX, odoY, swerve.getRegGyro().getDegrees());
|
||||
targetAngle = 0;
|
||||
error = (targetAngle - turret.getBoomBoomAngleDegrees()) % 360;
|
||||
// if (error > 180) {
|
||||
// error = 360 - error; // TODO: error - 360
|
||||
|
||||
Reference in New Issue
Block a user