I tried to use pid to make our arm to the specific position.
-
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 frc.robot.RobotContainer.(RobotContainer.java:28)
-
at frc.robot.Robot.robotInit(Robot.java:30)
-
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:106)
-
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:343)
-
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:433)
-
The startCompetition() method (or methods called by it) should have handled the exception above.
-
at frc.robot.Main.main(Main.java:23)
-
Warning at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:358): 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.
-
Error at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:365): The startCompetition() method (or methods called by it) should have handled the exception above.
-
********** Robot program starting **********
-
NT: could not open persistent file ‘/home/lvuser/networktables.json’: No such file or directory
-
NT: Listening on NT3 port 1735, NT4 port 5810
-
NT: Got a NT4 connection from 10.77.9.231 port 60545
-
NT: CONNECTED NT4 client ‘shuffleboard’ (from 10.77.9.231:60545)
-
Unhandled exception: java.lang.NullPointerException: Cannot invoke “com.revrobotics.SparkMaxPIDController.setP(double)” because “this.t_PID” is null
-
Error at frc.robot.subsystems.TelecopeSubsystem.(TelecopeSubsystem.java:26): Unhandled exception: java.lang.NullPointerException: Cannot invoke “com.revrobotics.SparkMaxPIDController.setP(double)” because “this.t_PID” is null
-
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. -
The startCompetition() method (or methods called by it) should have handled the exception above.
-
at frc.robot.subsystems.TelecopeSubsystem.(TelecopeSubsystem.java:26)
-
at frc.robot.RobotContainer.(RobotContainer.java:28)
-
at frc.robot.Robot.robotInit(Robot.java:30)
-
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:106)
-
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:343)
-
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:433)
-
at frc.robot.Main.main(Main.java:23)
-
Warning at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:358): 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.
-
Error at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:365): The startCompetition() method (or methods called by it) should have handled the exception above.