[wpimath] Move controller from wpilibj to wpimath (#3439)

This commit is contained in:
Noam Zaks
2021-06-16 17:45:51 +03:00
committed by GitHub
parent 9ce9188ff6
commit 791770cf6e
64 changed files with 106 additions and 91 deletions

View File

@@ -116,6 +116,12 @@ public abstract class RobotBase implements AutoCloseable {
case kOdometry_MecanumDrive:
HAL.report(tResourceType.kResourceType_Odometry, tInstances.kOdometry_MecanumDrive);
break;
case kController_PIDController2:
HAL.report(tResourceType.kResourceType_PIDController2, count);
break;
case kController_ProfiledPIDController:
HAL.report(tResourceType.kResourceType_ProfiledPIDController, count);
break;
default:
break;
}