this error:
edu.wpi.first.wpilibj.Compressor.getCurrent(Compressor.java:101)
frc.robot.utils.Constants$DriveConstants.(Constants.java:156)
frc.robot.drivetrain.DriveSubsystem.(DriveSubsystem.java:87)
frc.robot.RobotContainer.(RobotContainer.java:30)
frc.robot.Robot.robotInit(Robot.java:36)
edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:106)
edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:358)
edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:451)
frc.robot.Main.main(Main.java:27)
Unhandled exception: java.lang.IncompatibleClassChangeError: class com.pathplanner.lib.commands.PathPlannerAuto has interface edu.wpi.first.wpilibj2.command.Command as super class
Error at java.base/java.lang.ClassLoader.defineClass1(Native Method): Unhandled exception: java.lang.IncompatibleClassChangeError: class com.pathplanner.lib.commands.PathPlannerAuto has interface edu.wpi.first.wpilibj2.command.Command as super class
The robot program quit unexpectedly. This is usually due to a code error.
The above stacktrace can help determine where the error occurred.
See Reading Stacktraces — FIRST Robotics Competition documentation for more information.
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
The startCompetition() method (or methods called by it) should have handled the exception above.
comes up when i run this line: autoChooser = AutoBuilder.buildAutoChooser();
in my robotcontainer file: RobustSturdy2/src/main/java/frc/robot/drivetrain/DriveSubsystem.java at master · Mateo-Johnson/RobustSturdy2 · GitHub