Show / Hide Table of Contents

Class DriverStation

Inheritance
Object
DriverStation
Implements
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: WPILib
Assembly: WPILibSharp.dll
Syntax
public class DriverStation : IDisposable

Fields

| Improve this Doc View Source

MaxJoystickAxes

Declaration
public static readonly int MaxJoystickAxes
Field Value
Type Description
Int32
| Improve this Doc View Source

MaxJoystickPOVs

Declaration
public static readonly int MaxJoystickPOVs
Field Value
Type Description
Int32
| Improve this Doc View Source

NumJoystickPorts

Declaration
public static readonly int NumJoystickPorts
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

Alliance

Declaration
public Alliance Alliance { get; }
Property Value
Type Description
Alliance
| 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
Type Description
String
| Improve this Doc View Source

GameSpecificMessage

Declaration
public string GameSpecificMessage { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Instance

Declaration
public static DriverStation Instance { get; }
Property Value
Type Description
DriverStation
| Improve this Doc View Source

IsAutonomous

Declaration
public bool IsAutonomous { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsDisabled

Declaration
public bool IsDisabled { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsDSAttached

Declaration
public bool IsDSAttached { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsEnabled

Declaration
public bool IsEnabled { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsEStopped

Declaration
public bool IsEStopped { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsFMSAttached

Declaration
public bool IsFMSAttached { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsNewControlData

Declaration
public bool IsNewControlData { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsOperatorControl

Declaration
public bool IsOperatorControl { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsTest

Declaration
public bool IsTest { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Location

Declaration
public int Location { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

MatchNumber

Declaration
public int MatchNumber { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

MatchTime

Declaration
public TimeSpan MatchTime { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

MatchType

Declaration
public MatchType MatchType { get; }
Property Value
Type Description
MatchType
| Improve this Doc View Source

ReplayNumber

Declaration
public int ReplayNumber { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

GetData()

Declaration
protected void GetData()
| Improve this Doc View Source

GetJoystickAxisType(Int32, Int32)

Declaration
public int GetJoystickAxisType(int stick, int axis)
Parameters
Type Name Description
Int32 stick
Int32 axis
Returns
Type Description
Int32
| Improve this Doc View Source

GetJoystickIsXbox(Int32)

Declaration
public bool GetJoystickIsXbox(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
Boolean
| Improve this Doc View Source

GetJoystickName(Int32)

Declaration
public string GetJoystickName(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
String
| Improve this Doc View Source

GetJoystickType(Int32)

Declaration
public int GetJoystickType(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
Int32
| Improve this Doc View Source

GetStickAxis(Int32, Int32)

Declaration
public double GetStickAxis(int stick, int axis)
Parameters
Type Name Description
Int32 stick
Int32 axis
Returns
Type Description
Double
| Improve this Doc View Source

GetStickAxisCount(Int32)

Declaration
public int GetStickAxisCount(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
Int32
| Improve this Doc View Source

GetStickButton(Int32, Int32)

Declaration
public bool GetStickButton(int stick, int button)
Parameters
Type Name Description
Int32 stick
Int32 button
Returns
Type Description
Boolean
| Improve this Doc View Source

GetStickButtonCount(Int32)

Declaration
public int GetStickButtonCount(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
Int32
| Improve this Doc View Source

GetStickButtonPressed(Int32, Int32)

Declaration
public bool GetStickButtonPressed(int stick, int button)
Parameters
Type Name Description
Int32 stick
Int32 button
Returns
Type Description
Boolean
| Improve this Doc View Source

GetStickButtonReleased(Int32, Int32)

Declaration
public bool GetStickButtonReleased(int stick, int button)
Parameters
Type Name Description
Int32 stick
Int32 button
Returns
Type Description
Boolean
| Improve this Doc View Source

GetStickButtons(Int32)

Declaration
public uint GetStickButtons(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
UInt32
| Improve this Doc View Source

GetStickPOV(Int32, Int32)

Declaration
public int GetStickPOV(int stick, int pov)
Parameters
Type Name Description
Int32 stick
Int32 pov
Returns
Type Description
Int32
| Improve this Doc View Source

GetStickPOVCount(Int32)

Declaration
public int GetStickPOVCount(int stick)
Parameters
Type Name Description
Int32 stick
Returns
Type Description
Int32
| 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
Type Name Description
String error
Boolean printTrace
| Improve this Doc View Source

ReportError(String, String)

Declaration
public static void ReportError(string error, string stackTrace)
Parameters
Type Name Description
String error
String stackTrace
| Improve this Doc View Source

ReportWarning(String, Boolean)

Declaration
public static void ReportWarning(string error, bool printTrace)
Parameters
Type Name Description
String error
Boolean printTrace
| Improve this Doc View Source

ReportWarning(String, String)

Declaration
public static void ReportWarning(string error, string stackTrace)
Parameters
Type Name Description
String error
String stackTrace
| Improve this Doc View Source

WaitForData()

Declaration
public void WaitForData()
| Improve this Doc View Source

WaitForData(TimeSpan)

Declaration
public bool WaitForData(TimeSpan timeout)
Parameters
Type Name Description
TimeSpan timeout
Returns
Type Description
Boolean
| Improve this Doc View Source

WakeupWaitForData()

Declaration
public void WakeupWaitForData()

Implements

IDisposable
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet