WPILibC++
2020.3.2
RobotState.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in the root directory of */
5
/* the project. */
6
/*----------------------------------------------------------------------------*/
7
8
#pragma once
9
10
#include <memory>
11
12
namespace
frc
{
13
14
class
RobotState
{
15
public
:
16
RobotState
() =
delete
;
17
18
static
bool
IsDisabled();
19
static
bool
IsEnabled();
20
static
bool
IsEStopped();
21
static
bool
IsOperatorControl();
22
static
bool
IsAutonomous();
23
static
bool
IsTest();
24
};
25
26
}
// namespace frc
frc::RobotState
Definition:
RobotState.h:14
frc
A class that enforces constraints on the differential drive kinematics.
Definition:
SPIAccelerometerSim.h:16
wpilibc
src
main
native
include
frc
RobotState.h
Generated on Fri Feb 21 2020 08:50:36 for WPILibC++ by
1.8.16