teleop enhancements fix

This commit is contained in:
brotherhobo
2024-07-26 22:12:02 -04:00
parent a823aa7af7
commit bee9f02577

View File

@ -63,7 +63,7 @@ public class TeleOpEnhancements extends OpMode {
// TODO: if you want to make this field centric, then just remove this line
driveVector.rotateVector(follower.getPose().getHeading());
headingVector.setComponents(-gamepad1.left_stick_x, follower.getPose().getHeading());
headingVector.setComponents(-gamepad1.right_stick_x, follower.getPose().getHeading());
follower.setMovementVectors(follower.getCentripetalForceCorrection(), headingVector, driveVector);
follower.update();