[examples] Fix typo in ArcadeDrive constructor parameter name (#3092)

Removed extra 'p' in "Supplier" in the parameter name `zaxisRotateSuppplier` of the  ArcadeDrive constructor of the Romi Reference example.
This commit is contained in:
Mark Vedder
2021-01-16 23:27:29 -05:00
committed by GitHub
parent 6efc58e3db
commit 64adff5fea

View File

@@ -19,15 +19,15 @@ public class ArcadeDrive extends CommandBase {
*
* @param drivetrain The drivetrain subsystem on which this command will run
* @param xaxisSpeedSupplier Lambda supplier of forward/backward speed
* @param zaxisRotateSuppplier Lambda supplier of rotational speed
* @param zaxisRotateSupplier Lambda supplier of rotational speed
*/
public ArcadeDrive(
Drivetrain drivetrain,
Supplier<Double> xaxisSpeedSupplier,
Supplier<Double> zaxisRotateSuppplier) {
Supplier<Double> zaxisRotateSupplier) {
m_drivetrain = drivetrain;
m_xaxisSpeedSupplier = xaxisSpeedSupplier;
m_zaxisRotateSupplier = zaxisRotateSuppplier;
m_zaxisRotateSupplier = zaxisRotateSupplier;
addRequirements(drivetrain);
}