From aa0b49228d7f0f56d695a996990330ba63ee6d71 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 26 Oct 2021 23:37:11 -0700 Subject: [PATCH] [wpilib] Remove redundant "quick turn" docs for curvature drive (NFC) (#3674) The parameter docs for allowTurnInPlace say the same thing, and it's no longer called "quick turn". --- .../src/main/native/include/frc/drive/DifferentialDrive.h | 6 ++---- .../edu/wpi/first/wpilibj/drive/DifferentialDrive.java | 8 ++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/drive/DifferentialDrive.h b/wpilibc/src/main/native/include/frc/drive/DifferentialDrive.h index c5d4512f61..50a7a3fe87 100644 --- a/wpilibc/src/main/native/include/frc/drive/DifferentialDrive.h +++ b/wpilibc/src/main/native/include/frc/drive/DifferentialDrive.h @@ -138,8 +138,7 @@ class DifferentialDrive : public RobotDriveBase, * * The rotation argument controls the curvature of the robot's path rather * than its rate of heading change. This makes the robot more controllable at - * high speeds. Also handles the robot's quick turn functionality - "quick - * turn" overrides constant-curvature turning for turn-in-place maneuvers. + * high speeds. * * @param xSpeed The robot's speed along the X axis [-1.0..1.0]. * Forward is positive. @@ -181,8 +180,7 @@ class DifferentialDrive : public RobotDriveBase, * * The rotation argument controls the curvature of the robot's path rather * than its rate of heading change. This makes the robot more controllable at - * high speeds. Also handles the robot's quick turn functionality - "quick - * turn" overrides constant-curvature turning for turn-in-place maneuvers. + * high speeds. * * @param xSpeed The robot's speed along the X axis [-1.0..1.0]. * Forward is positive. diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/DifferentialDrive.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/DifferentialDrive.java index 63305936f6..57fb365789 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/DifferentialDrive.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/DifferentialDrive.java @@ -185,9 +185,7 @@ public class DifferentialDrive extends RobotDriveBase implements Sendable, AutoC * Curvature drive method for differential drive platform. * *

The rotation argument controls the curvature of the robot's path rather than its rate of - * heading change. This makes the robot more controllable at high speeds. Also handles the robot's - * quick turn functionality - "quick turn" overrides constant-curvature turning for turn-in-place - * maneuvers. + * heading change. This makes the robot more controllable at high speeds. * * @param xSpeed The robot's speed along the X axis [-1.0..1.0]. Forward is positive. * @param zRotation The robot's rotation rate around the Z axis [-1.0..1.0]. Clockwise is @@ -312,9 +310,7 @@ public class DifferentialDrive extends RobotDriveBase implements Sendable, AutoC * Curvature drive inverse kinematics for differential drive platform. * *

The rotation argument controls the curvature of the robot's path rather than its rate of - * heading change. This makes the robot more controllable at high speeds. Also handles the robot's - * quick turn functionality - "quick turn" overrides constant-curvature turning for turn-in-place - * maneuvers. + * heading change. This makes the robot more controllable at high speeds. * * @param xSpeed The robot's speed along the X axis [-1.0..1.0]. Forward is positive. * @param zRotation The robot's rotation rate around the Z axis [-1.0..1.0]. Clockwise is