Skip to content

Commit 85b806a

Browse files
sciencewhizBankstDaltz333
authored
Add note about disabling joystick warnings (#2180) (#2187)
* Add note about disabling joystick warnings * Trailing backtick --------- Co-authored-by: Banks T <[email protected]> Co-authored-by: Dalton Smith <[email protected]>
1 parent 2947d30 commit 85b806a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/docs/software/driverstation/driver-station-errors-warnings.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Joystick Unplugged
1414
1515
This error is triggered when a Joystick is unplugged. Contrary to the message text this error will be printed even if the robot is not enabled, or even connected to the DS. You will see a single instance of this message occur each time the Driver Station is started, even if Joysticks are properly connected and functioning.
1616

17+
.. note:: Joystick Unplugged warnings can be silenced by calling ``DriverStation.silenceJoystickConnectionWarning(true)`` (`Java <https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/wpilibj/DriverStation.html#silenceJoystickConnectionWarning(boolean)>`__, `C++ <https://github.wpilib.org/allwpilib/docs/release/cpp/classfrc_1_1_driver_station.html#ad92dee0301f96316ffd2a28a22ab9e54>`__)
18+
1719
Lost Communication
1820
------------------
1921

0 commit comments

Comments
 (0)