mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Update UsageReporting enums and their uses for 2019 (#1218)
This commit is contained in:
committed by
Peter Johnson
parent
8aac46542d
commit
d54c2665dc
@@ -41,7 +41,7 @@ void MecanumDrive::DriveCartesian(double ySpeed, double xSpeed,
|
||||
double zRotation, double gyroAngle) {
|
||||
if (!reported) {
|
||||
HAL_Report(HALUsageReporting::kResourceType_RobotDrive, 4,
|
||||
HALUsageReporting::kRobotDrive_MecanumCartesian);
|
||||
HALUsageReporting::kRobotDrive2_MecanumCartesian);
|
||||
reported = true;
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ void MecanumDrive::DrivePolar(double magnitude, double angle,
|
||||
double zRotation) {
|
||||
if (!reported) {
|
||||
HAL_Report(HALUsageReporting::kResourceType_RobotDrive, 4,
|
||||
HALUsageReporting::kRobotDrive_MecanumPolar);
|
||||
HALUsageReporting::kRobotDrive2_MecanumPolar);
|
||||
reported = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user