diff --git a/wpilibc/src/main/native/cpp/Drive/RobotDriveBase.cpp b/wpilibc/src/main/native/cpp/Drive/RobotDriveBase.cpp index fee43871e2..26e4c31c28 100644 --- a/wpilibc/src/main/native/cpp/Drive/RobotDriveBase.cpp +++ b/wpilibc/src/main/native/cpp/Drive/RobotDriveBase.cpp @@ -21,9 +21,11 @@ using namespace frc; RobotDriveBase::RobotDriveBase() { m_safetyHelper.SetSafetyEnabled(true); } /** - * Change the default value for deadband scaling. The default value is - * 0.02. Values smaller then the deadband are set to 0, while values - * larger then the deadband are scaled from 0.0 to 1.0. See ApplyDeadband(). + * Sets the deadband applied to the drive inputs (e.g., joystick values). + * + * The default value is 0.02. Inputs smaller than the deadband are set to 0.0 + * while inputs larger than the deadband are scaled from 0.0 to 1.0. See + * ApplyDeadband(). * * @param deadband The deadband to set. */ diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/RobotDriveBase.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/RobotDriveBase.java index 1cc140c2cd..3804c76f69 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/RobotDriveBase.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/RobotDriveBase.java @@ -43,9 +43,11 @@ public abstract class RobotDriveBase extends SendableBase implements MotorSafety } /** - * Change the default value for deadband scaling. The default value is - * {@value #kDefaultDeadband}. Values smaller then the deadband are set to 0, while values - * larger then the deadband are scaled from 0.0 to 1.0. See {@link #applyDeadband}. + * Sets the deadband applied to the drive inputs (e.g., joystick values). + * + *

The default value is {@value #kDefaultDeadband}. Inputs smaller than the deadband are set to + * 0.0 while inputs larger than the deadband are scaled from 0.0 to 1.0. See + * {@link #applyDeadband}. * * @param deadband The deadband to set. */