mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[docs] Add missing docs to enum fields (NFC) (#6150)
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
@@ -22,9 +22,31 @@ namespace frc {
|
||||
*/
|
||||
class DriverStation final {
|
||||
public:
|
||||
enum Alliance { kRed, kBlue };
|
||||
enum MatchType { kNone, kPractice, kQualification, kElimination };
|
||||
/**
|
||||
* The robot alliance that the robot is a part of.
|
||||
*/
|
||||
enum Alliance {
|
||||
/// Red alliance.
|
||||
kRed,
|
||||
/// Blue alliance.
|
||||
kBlue
|
||||
};
|
||||
|
||||
/**
|
||||
* The type of robot match that the robot is part of.
|
||||
*/
|
||||
enum MatchType {
|
||||
/// None.
|
||||
kNone,
|
||||
/// Practice.
|
||||
kPractice,
|
||||
/// Qualification.
|
||||
kQualification,
|
||||
/// Elimination.
|
||||
kElimination
|
||||
};
|
||||
|
||||
/// Number of Joystick ports.
|
||||
static constexpr int kJoystickPorts = 6;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user