static getStickAxisCount ( stick : int ) → int ¶ This depends on the mapping of the joystick connected to the specified The number of replays static getStickAxis ( stick : int, axis : int ) → float ¶ Returns the number of times the current match has been replayed from the KElimination) static getReplayNumber ( ) → int ¶ The match type enum (kNone, kPractice, kQualification, Returns the type of match being played provided by the FMS. Time remaining in current match period (auto or teleop) static getMatchType ( ) → wpilib._ ¶ The Practice Match function of the DS approximates the behavior seen on Warning: This is not an official time (so it cannot be used to dispute refĬalls or guarantee that a function will trigger before the match ends). The value will count down the time remaining in The FMS does not send an official match time to the robots, but does sendĪn approximate match time. The number of the match static getMatchTime ( ) → float ¶ Returns the match number provided by the FMS.
#FRC SMARTDASHBOARD COLOR DRIVER#
The location of the driver station (1-3, 0 for invalid) static getMatchNumber ( ) → int ¶ Return the driver station location on the field. The HID type of joystick at the given port static getLocation ( ) → int ¶ Returns the type of joystick at a given port. The name of the joystick at the given port static getJoystickType ( stick : int ) → int ¶ Returns the name of the joystick at the given port. static getJoystickName ( stick : int ) → str ¶ ParametersĪ boolean that is true if the controller is an xbox controller. Returns a boolean indicating if the controller is an xbox controller. What type of axis the axis is reporting to be static getJoystickIsXbox ( stick : int ) → bool ¶ Stick – The joystick port number and the target axisĪxis – The analog axis value to read from the joystick. Returns the types of Axes on a given joystick port. static getInstance ( ) → wpilib._wpilib.DriverStation ¶ static getJoystickAxisType ( stick : int, axis : int ) → int ¶ ReturnsĪ string containing the game specific message. Returns the game specific message provided by the FMS. ReturnsĪ string containing the event name static getGameSpecificMessage ( ) → str ¶ Returns the name of the competition event provided by the FMS. This function only exists in RobotPy static getEventName ( ) → str ¶ Returnsīooleans representing enabled, isautonomous, istest
More efficient way to determine what state the robot is in. The Alliance enum (kRed, kBlue or kInvalid) static getBatteryVoltage ( ) → float ¶ Return the alliance that the driver station says it is on. KElimination kElimination = ¶ kNone = ¶ kPractice = ¶ kQualification = ¶ property name ¶ property value ¶ static getAlliance ( ) → wpilib._ ¶ KInvalid kBlue = ¶ kInvalid = ¶ kRed = ¶ property name ¶ property value ¶ class MatchType ( value : int ) ¶
Provide access to the network communication data to / from the Driver