mirror of
https://github.com/trc492/FtcTemplate.git
synced 2025-07-01 13:01:24 -07:00
Minor format change.
This commit is contained in:
@ -507,8 +507,9 @@ public class FtcTest extends FtcTeleOp
|
|||||||
robot.robotDrive.driveBase.resetOdometry();
|
robot.robotDrive.driveBase.resetOdometry();
|
||||||
tuneDriveStartPoint = robot.robotDrive.driveBase.getFieldPosition();
|
tuneDriveStartPoint = robot.robotDrive.driveBase.getFieldPosition();
|
||||||
tuneDriveEndPoint = tuneDriveStartPoint.addRelativePose(
|
tuneDriveEndPoint = tuneDriveStartPoint.addRelativePose(
|
||||||
new TrcPose2D(Dashboard.Drive.xTarget*12.0, Dashboard.Drive.yTarget*12.0,
|
new TrcPose2D(
|
||||||
Dashboard.Drive.turnTarget));
|
Dashboard.Drive.xTarget*12.0, Dashboard.Drive.yTarget*12.0,
|
||||||
|
Dashboard.Drive.turnTarget));
|
||||||
tuneDriveAtEndPoint = false;
|
tuneDriveAtEndPoint = false;
|
||||||
}
|
}
|
||||||
robot.robotDrive.purePursuitDrive.setXPositionPidCoefficients(Dashboard.Drive.xPidCoeffs);
|
robot.robotDrive.purePursuitDrive.setXPositionPidCoefficients(Dashboard.Drive.xPidCoeffs);
|
||||||
|
Reference in New Issue
Block a user