Class DriverStation
Inheritance
DriverStation
Assembly: WPILibSharp.dll
Syntax
public class DriverStation : IDisposable
Fields
|
Improve this Doc
View Source
MaxJoystickAxes
Declaration
public static readonly int MaxJoystickAxes
Field Value
|
Improve this Doc
View Source
MaxJoystickPOVs
Declaration
public static readonly int MaxJoystickPOVs
Field Value
|
Improve this Doc
View Source
NumJoystickPorts
Declaration
public static readonly int NumJoystickPorts
Field Value
Properties
|
Improve this Doc
View Source
Alliance
Declaration
public Alliance Alliance { get; }
Property Value
|
Improve this Doc
View Source
BatteryVoltage
Declaration
public ElectricPotential BatteryVoltage { get; }
Property Value
Type |
Description |
UnitsNet.ElectricPotential |
|
|
Improve this Doc
View Source
EventName
Declaration
public string EventName { get; }
Property Value
|
Improve this Doc
View Source
GameSpecificMessage
Declaration
public string GameSpecificMessage { get; }
Property Value
|
Improve this Doc
View Source
Instance
Declaration
public static DriverStation Instance { get; }
Property Value
|
Improve this Doc
View Source
IsAutonomous
Declaration
public bool IsAutonomous { get; }
Property Value
|
Improve this Doc
View Source
IsDisabled
Declaration
public bool IsDisabled { get; }
Property Value
|
Improve this Doc
View Source
IsDSAttached
Declaration
public bool IsDSAttached { get; }
Property Value
|
Improve this Doc
View Source
IsEnabled
Declaration
public bool IsEnabled { get; }
Property Value
|
Improve this Doc
View Source
IsEStopped
Declaration
public bool IsEStopped { get; }
Property Value
|
Improve this Doc
View Source
IsFMSAttached
Declaration
public bool IsFMSAttached { get; }
Property Value
|
Improve this Doc
View Source
IsNewControlData
Declaration
public bool IsNewControlData { get; }
Property Value
|
Improve this Doc
View Source
IsOperatorControl
Declaration
public bool IsOperatorControl { get; }
Property Value
|
Improve this Doc
View Source
IsTest
Declaration
public bool IsTest { get; }
Property Value
|
Improve this Doc
View Source
Location
Declaration
public int Location { get; }
Property Value
|
Improve this Doc
View Source
MatchNumber
Declaration
public int MatchNumber { get; }
Property Value
|
Improve this Doc
View Source
MatchTime
Declaration
public TimeSpan MatchTime { get; }
Property Value
|
Improve this Doc
View Source
MatchType
Declaration
public MatchType MatchType { get; }
Property Value
|
Improve this Doc
View Source
ReplayNumber
Declaration
public int ReplayNumber { get; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
GetData()
Declaration
|
Improve this Doc
View Source
GetJoystickAxisType(Int32, Int32)
Declaration
public int GetJoystickAxisType(int stick, int axis)
Parameters
Returns
|
Improve this Doc
View Source
GetJoystickIsXbox(Int32)
Declaration
public bool GetJoystickIsXbox(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
GetJoystickName(Int32)
Declaration
public string GetJoystickName(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
GetJoystickType(Int32)
Declaration
public int GetJoystickType(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
GetStickAxis(Int32, Int32)
Declaration
public double GetStickAxis(int stick, int axis)
Parameters
Returns
|
Improve this Doc
View Source
GetStickAxisCount(Int32)
Declaration
public int GetStickAxisCount(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool GetStickButton(int stick, int button)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public int GetStickButtonCount(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool GetStickButtonPressed(int stick, int button)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public bool GetStickButtonReleased(int stick, int button)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public uint GetStickButtons(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
GetStickPOV(Int32, Int32)
Declaration
public int GetStickPOV(int stick, int pov)
Parameters
Returns
|
Improve this Doc
View Source
GetStickPOVCount(Int32)
Declaration
public int GetStickPOVCount(int stick)
Parameters
Type |
Name |
Description |
Int32 |
stick |
|
Returns
|
Improve this Doc
View Source
InAutonomous(Boolean)
Declaration
public void InAutonomous(bool entering)
Parameters
Type |
Name |
Description |
Boolean |
entering |
|
|
Improve this Doc
View Source
InDisabled(Boolean)
Declaration
public void InDisabled(bool entering)
Parameters
Type |
Name |
Description |
Boolean |
entering |
|
|
Improve this Doc
View Source
InOperatorControl(Boolean)
Declaration
public void InOperatorControl(bool entering)
Parameters
Type |
Name |
Description |
Boolean |
entering |
|
|
Improve this Doc
View Source
InTest(Boolean)
Declaration
public void InTest(bool entering)
Parameters
Type |
Name |
Description |
Boolean |
entering |
|
|
Improve this Doc
View Source
ReportError(String, Boolean)
Declaration
public static void ReportError(string error, bool printTrace)
Parameters
|
Improve this Doc
View Source
ReportError(String, String)
Declaration
public static void ReportError(string error, string stackTrace)
Parameters
|
Improve this Doc
View Source
ReportWarning(String, Boolean)
Declaration
public static void ReportWarning(string error, bool printTrace)
Parameters
|
Improve this Doc
View Source
ReportWarning(String, String)
Declaration
public static void ReportWarning(string error, string stackTrace)
Parameters
|
Improve this Doc
View Source
WaitForData()
Declaration
public void WaitForData()
|
Improve this Doc
View Source
WaitForData(TimeSpan)
Declaration
public bool WaitForData(TimeSpan timeout)
Parameters
Returns
|
Improve this Doc
View Source
WakeupWaitForData()
Declaration
public void WakeupWaitForData()
Implements