mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilib] Use misspell to fix spelling errors (NFC) (#2674)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user