CTRE Phoenix 6 C++ 24.3.0
MechanismState.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8
9namespace ctre {
10namespace phoenix6 {
11
12/**
13 * \brief Possible states of a mechanism.
14 */
15enum class MechanismState {
16 /**
17 * \brief The mechanism is running normally.
18 */
19 OK,
20 /**
21 * \brief The mechanism is temporarily disabled due to an issue.
22 */
24 /**
25 * \brief The mechanism is disabled and requires user action.
26 */
28};
29
30}
31}
@ OK
No Error.
Definition: StatusCodes.h:1196
MechanismState
Possible states of a mechanism.
Definition: MechanismState.hpp:15
@ RequiresUserAction
The mechanism is disabled and requires user action.
@ Disabled
The mechanism is temporarily disabled due to an issue.
Definition: string_util.hpp:15