WPILibC++ 2024.1.1-beta-4
RobotState.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7namespace frc {
8
9class RobotState {
10 public:
11 RobotState() = delete;
12
13 static bool IsDisabled();
14 static bool IsEnabled();
15 static bool IsEStopped();
16 static bool IsTeleop();
17 static bool IsAutonomous();
18 static bool IsTest();
19};
20
21} // namespace frc
Definition: RobotState.h:9
static bool IsAutonomous()
static bool IsTeleop()
static bool IsEStopped()
static bool IsEnabled()
static bool IsTest()
static bool IsDisabled()
RobotState()=delete
Definition: AprilTagPoseEstimator.h:15