[hal] Add Swerve Instances for RobotDrive usage reporting (#7410)

This commit is contained in:
sciencewhiz
2024-11-18 20:51:50 -08:00
committed by GitHub
parent 9826539198
commit d312bccfeb
4 changed files with 25 additions and 0 deletions

View File

@@ -28,6 +28,11 @@ kRobotDrive2_MecanumCartesian = 10
kRobotDrive2_MecanumPolar = 11
kRobotDrive2_KilloughCartesian = 12
kRobotDrive2_KilloughPolar = 13
kRobotDriveSwerve_Other = 14
kRobotDriveSwerve_YAGSL = 15
kRobotDriveSwerve_CTRE = 16
kRobotDriveSwerve_MaxSwerve = 17
kRobotDriveSwerve_AdvantageKit = 18
kDriverStationCIO_Analog = 1
kDriverStationCIO_DigitalIn = 2
kDriverStationCIO_DigitalOut = 3

View File

@@ -321,6 +321,16 @@ public final class FRCNetComm {
public static final int kRobotDrive2_KilloughCartesian = 12;
/** kRobotDrive2_KilloughPolar = 13. */
public static final int kRobotDrive2_KilloughPolar = 13;
/** kRobotDriveSwerve_Other = 14. */
public static final int kRobotDriveSwerve_Other = 14;
/** kRobotDriveSwerve_YAGSL = 15. */
public static final int kRobotDriveSwerve_YAGSL = 15;
/** kRobotDriveSwerve_CTRE = 16. */
public static final int kRobotDriveSwerve_CTRE = 16;
/** kRobotDriveSwerve_MaxSwerve = 17. */
public static final int kRobotDriveSwerve_MaxSwerve = 17;
/** kRobotDriveSwerve_AdvantageKit = 18. */
public static final int kRobotDriveSwerve_AdvantageKit = 18;
/** kDriverStationCIO_Analog = 1. */
public static final int kDriverStationCIO_Analog = 1;
/** kDriverStationCIO_DigitalIn = 2. */

View File

@@ -199,6 +199,11 @@ namespace HALUsageReporting {
kRobotDrive2_MecanumPolar = 11,
kRobotDrive2_KilloughCartesian = 12,
kRobotDrive2_KilloughPolar = 13,
kRobotDriveSwerve_Other = 14,
kRobotDriveSwerve_YAGSL = 15,
kRobotDriveSwerve_CTRE = 16,
kRobotDriveSwerve_MaxSwerve = 17,
kRobotDriveSwerve_AdvantageKit = 18,
kDriverStationCIO_Analog = 1,
kDriverStationCIO_DigitalIn = 2,
kDriverStationCIO_DigitalOut = 3,

View File

@@ -172,6 +172,11 @@ typedef enum
kRobotDrive2_MecanumPolar = 11,
kRobotDrive2_KilloughCartesian = 12,
kRobotDrive2_KilloughPolar = 13,
kRobotDriveSwerve_Other = 14,
kRobotDriveSwerve_YAGSL = 15,
kRobotDriveSwerve_CTRE = 16,
kRobotDriveSwerve_MaxSwerve = 17,
kRobotDriveSwerve_AdvantageKit = 18,
kDriverStationCIO_Analog = 1,
kDriverStationCIO_DigitalIn = 2,
kDriverStationCIO_DigitalOut = 3,