/*----------------------------------------------------------------------------*/ /* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ /*----------------------------------------------------------------------------*/ #pragma once #include namespace frc { class RobotState { public: RobotState() = delete; static bool IsDisabled(); static bool IsEnabled(); static bool IsEStopped(); static bool IsOperatorControl(); static bool IsAutonomous(); static bool IsTest(); }; } // namespace frc