[wpilib] Use misspell to fix spelling errors (NFC) (#2674)

This commit is contained in:
sciencewhiz
2020-08-31 00:33:11 -07:00
committed by GitHub
parent ad6c8b882e
commit 3e41d92c18
64 changed files with 119 additions and 117 deletions

View File

@@ -98,7 +98,7 @@ public class AddressableLED implements AutoCloseable {
/**
* Starts the output.
*
* <p>The output writes continously.
* <p>The output writes continuously.
*/
public void start() {
AddressableLEDJNI.start(m_handle);

View File

@@ -66,7 +66,7 @@ public class RamseteController {
/**
* Construct a Ramsete unicycle controller. The default arguments for
* b and zeta of 2.0 and 0.7 have been well-tested to produce desireable
* b and zeta of 2.0 and 0.7 have been well-tested to produce desirable
* results.
*/
public RamseteController() {

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2008-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -393,7 +393,7 @@ public class DifferentialDrive extends RobotDriveBase implements Sendable, AutoC
}
/**
* Gets if the power sent to the right side of the drivetrain is multipled by -1.
* Gets if the power sent to the right side of the drivetrain is multiplied by -1.
*
* @return true if the right side is inverted
*/
@@ -402,9 +402,9 @@ public class DifferentialDrive extends RobotDriveBase implements Sendable, AutoC
}
/**
* Sets if the power sent to the right side of the drivetrain should be multipled by -1.
* Sets if the power sent to the right side of the drivetrain should be multiplied by -1.
*
* @param rightSideInverted true if right side power should be multipled by -1
* @param rightSideInverted true if right side power should be multiplied by -1
*/
public void setRightSideInverted(boolean rightSideInverted) {
m_rightSideInvertMultiplier = rightSideInverted ? -1.0 : 1.0;

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2008-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -215,7 +215,7 @@ public class MecanumDrive extends RobotDriveBase implements Sendable, AutoClosea
}
/**
* Gets if the power sent to the right side of the drivetrain is multipled by -1.
* Gets if the power sent to the right side of the drivetrain is multiplied by -1.
*
* @return true if the right side is inverted
*/
@@ -224,9 +224,9 @@ public class MecanumDrive extends RobotDriveBase implements Sendable, AutoClosea
}
/**
* Sets if the power sent to the right side of the drivetrain should be multipled by -1.
* Sets if the power sent to the right side of the drivetrain should be multiplied by -1.
*
* @param rightSideInverted true if right side power should be multipled by -1
* @param rightSideInverted true if right side power should be multiplied by -1
*/
public void setRightSideInverted(boolean rightSideInverted) {
m_rightSideInvertMultiplier = rightSideInverted ? -1.0 : 1.0;

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -36,7 +36,7 @@ abstract class ShuffleboardWidget<W extends ShuffleboardWidget<W>>
/**
* Sets the type of widget used to display the data. If not set, the default widget type will be
* used. This method should only be used to use a widget that does not come built into
* Shuffleboard (i.e. one that comes with a custom or thrid-party plugin). To use a widget that
* Shuffleboard (i.e. one that comes with a custom or third-party plugin). To use a widget that
* is built into Shuffleboard, use {@link #withWidget(WidgetType)} and {@link BuiltInWidgets}.
*
* @param widgetType the type of the widget used to display the data