WPILibC++
2023.4.3
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
7
namespace
frc
{
8
9
class
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
frc::RobotState
Definition:
RobotState.h:9
frc::RobotState::IsAutonomous
static bool IsAutonomous()
frc::RobotState::IsTeleop
static bool IsTeleop()
frc::RobotState::IsEStopped
static bool IsEStopped()
frc::RobotState::IsEnabled
static bool IsEnabled()
frc::RobotState::IsTest
static bool IsTest()
frc::RobotState::IsDisabled
static bool IsDisabled()
frc::RobotState::RobotState
RobotState()=delete
frc
Definition:
AprilTagFieldLayout.h:22
frc
RobotState.h
Generated on Mon Mar 27 2023 03:33:16 for WPILibC++ by
1.9.4