Update Java examples to use new PIDController (#1809)

This also allows us to re-enable Werror.
This commit is contained in:
Austin Shalit
2019-08-04 23:35:33 -04:00
committed by Peter Johnson
parent ba9b517427
commit 09d00a6227
7 changed files with 52 additions and 90 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -18,6 +18,7 @@ import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
* creating this project, you must also update the build.gradle file in the
* project.
*/
@SuppressWarnings("deprecation")
public class Robot extends IterativeRobot {
private static final String kDefaultAuto = "Default";
private static final String kCustomAuto = "My Auto";