mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
[wpilib] Remove RobotDrive (#3295)
This has been deprecated for several years, and its functionality has been completely superseded by other drive classes (DifferentialDrive et al).
This commit is contained in:
@@ -87,12 +87,12 @@ class SpeedController;
|
||||
*
|
||||
* <p>RobotDrive porting guide:
|
||||
* <br>TankDrive(double, double, bool) is equivalent to
|
||||
* RobotDrive#TankDrive(double, double, bool) if a deadband of 0 is used.
|
||||
* RobotDrive's TankDrive(double, double, bool) if a deadband of 0 is used.
|
||||
* <br>ArcadeDrive(double, double, bool) is equivalent to
|
||||
* RobotDrive#ArcadeDrive(double, double, bool) if a deadband of 0 is used
|
||||
* RobotDrive's ArcadeDrive(double, double, bool) if a deadband of 0 is used
|
||||
* and the the rotation input is inverted eg ArcadeDrive(y, -rotation, false)
|
||||
* <br>CurvatureDrive(double, double, bool) is similar in concept to
|
||||
* RobotDrive#Drive(double, double) with the addition of a quick turn
|
||||
* RobotDrive's Drive(double, double) with the addition of a quick turn
|
||||
* mode. However, it is not designed to give exactly the same response.
|
||||
*/
|
||||
class DifferentialDrive : public RobotDriveBase,
|
||||
|
||||
@@ -53,12 +53,12 @@ class SpeedController;
|
||||
* inverted, while in RobotDrive, no speed controllers are automatically
|
||||
* inverted.
|
||||
* <br>DriveCartesian(double, double, double, double) is equivalent to
|
||||
* RobotDrive#MecanumDrive_Cartesian(double, double, double, double)
|
||||
* RobotDrive's MecanumDrive_Cartesian(double, double, double, double)
|
||||
* if a deadband of 0 is used, and the ySpeed and gyroAngle values are inverted
|
||||
* compared to RobotDrive (eg DriveCartesian(xSpeed, -ySpeed, zRotation,
|
||||
* -gyroAngle).
|
||||
* <br>DrivePolar(double, double, double) is equivalent to
|
||||
* RobotDrive#MecanumDrive_Polar(double, double, double) if a
|
||||
* RobotDrive's MecanumDrive_Polar(double, double, double) if a
|
||||
* deadband of 0 is used.
|
||||
*/
|
||||
class MecanumDrive : public RobotDriveBase,
|
||||
|
||||
Reference in New Issue
Block a user