Show / Hide Table of Contents

Class RobotBase

Inheritance
Object
RobotBase
IterativeRobotBase
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 abstract class RobotBase : IDisposable

Constructors

| Improve this Doc View Source

RobotBase()

Declaration
public RobotBase()

Fields

| Improve this Doc View Source

m_ds

Declaration
protected DriverStation m_ds
Field Value
Type Description
DriverStation
| Improve this Doc View Source

m_threadId

Declaration
protected static int m_threadId
Field Value
Type Description
Int32

Properties

| 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

IsEnabled

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

IsNewDataAvailable

Declaration
public bool IsNewDataAvailable { 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

IsReal

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

IsSimulation

Declaration
public static bool IsSimulation { 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

MainThreadId

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

WPILibVersion

Declaration
public static string WPILibVersion { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

Dispose()

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

EndCompetition()

Declaration
public abstract void EndCompetition()
| Improve this Doc View Source

StartCompetition()

Declaration
public abstract void StartCompetition()
| Improve this Doc View Source

StartRobot<Robot>()

Declaration
public static void StartRobot<Robot>()
    where Robot : RobotBase, new()
Type Parameters
Name Description
Robot
| Improve this Doc View Source

SuppressExitWarning(Boolean)

Declaration
public static void SuppressExitWarning(bool value)
Parameters
Type Name Description
Boolean value

Implements

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