mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
committed by
Peter Johnson
parent
762c88adb8
commit
c58b072c89
@@ -48,8 +48,8 @@ KilloughDrive::KilloughDrive(SpeedController& leftMotor,
|
||||
void KilloughDrive::DriveCartesian(double ySpeed, double xSpeed,
|
||||
double zRotation, double gyroAngle) {
|
||||
if (!reported) {
|
||||
HAL_Report(HALUsageReporting::kResourceType_RobotDrive, 3,
|
||||
HALUsageReporting::kRobotDrive2_KilloughCartesian);
|
||||
HAL_Report(HALUsageReporting::kResourceType_RobotDrive,
|
||||
HALUsageReporting::kRobotDrive2_KilloughCartesian, 3);
|
||||
reported = true;
|
||||
}
|
||||
|
||||
@@ -80,8 +80,8 @@ void KilloughDrive::DriveCartesian(double ySpeed, double xSpeed,
|
||||
void KilloughDrive::DrivePolar(double magnitude, double angle,
|
||||
double zRotation) {
|
||||
if (!reported) {
|
||||
HAL_Report(HALUsageReporting::kResourceType_RobotDrive, 3,
|
||||
HALUsageReporting::kRobotDrive2_KilloughPolar);
|
||||
HAL_Report(HALUsageReporting::kResourceType_RobotDrive,
|
||||
HALUsageReporting::kRobotDrive2_KilloughPolar, 3);
|
||||
reported = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user