[docs] Add missing docs to enum fields (NFC) (#6150)

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
m10653
2024-01-05 00:36:26 -05:00
committed by GitHub
parent 4210f5635d
commit 13f4460e00
49 changed files with 665 additions and 26 deletions

View File

@@ -23,12 +23,19 @@ class RobotDriveBase : public MotorSafety {
* The location of a motor on the robot for the purpose of driving.
*/
enum MotorType {
/// Front-left motor.
kFrontLeft = 0,
/// Front-right motor.
kFrontRight = 1,
/// Rear-left motor.
kRearLeft = 2,
/// Rear-right motor.
kRearRight = 3,
/// Left motor.
kLeft = 0,
/// Right motor.
kRight = 1,
/// Back motor.
kBack = 2
};