mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Merge branch 'main' into 2027
This commit is contained in:
@@ -28,7 +28,6 @@ class Drive : public frc2::SubsystemBase {
|
||||
* @param fwd the commanded forward movement
|
||||
* @param rot the commanded rotation
|
||||
*/
|
||||
[[nodiscard]]
|
||||
frc2::CommandPtr ArcadeDriveCommand(std::function<double()> fwd,
|
||||
std::function<double()> rot);
|
||||
|
||||
@@ -39,7 +38,6 @@ class Drive : public frc2::SubsystemBase {
|
||||
* @param distance The distance to drive forward in meters
|
||||
* @param speed The fraction of max speed at which to drive
|
||||
*/
|
||||
[[nodiscard]]
|
||||
frc2::CommandPtr DriveDistanceCommand(units::meter_t distance, double speed);
|
||||
|
||||
/**
|
||||
@@ -48,7 +46,6 @@ class Drive : public frc2::SubsystemBase {
|
||||
*
|
||||
* @param angle The angle to turn to
|
||||
*/
|
||||
[[nodiscard]]
|
||||
frc2::CommandPtr TurnToAngleCommand(units::degree_t angle);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user