mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Add Swerve Instances for RobotDrive usage reporting (#7410)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user