Guest User

Untitled

a guest
Mar 30th, 2022
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. ********** Robot program starting **********
  2. Instantiating navX-Sensor on Serial Port kMXP.
  3. navX-Sensor Java library for FRC
  4. Opening TTL UART serial port to communicate with navX-Sensor.
  5. navX-Sensor Connected via TTL UART.
  6. navX-Sensor onboard startup calibration complete.
  7. navX-Sensor Yaw angle auto-reset to 0.0 due to startup calibration.
  8. navX-Sensor Connected.
  9. navX-Sensor Configuration Response Received.
  10. Instantiating navX-Sensor on Serial Port kMXP.
  11. Unhandled exception: java.lang.IllegalStateException: A CANSparkMax instance has already been created with this device ID: 1
  12. navX-Sensor Java library for FRC
  13. The robot program quit unexpectedly. This is usually due to a code error.
  14. The above stacktrace can help determine where the error occurred.
  15. See https://wpilib.org/stacktrace for more information.
  16. Opening TTL UART serial port to communicate with navX-Sensor.
  17. The startCompetition() method (or methods called by it) should have handled the exception above.
  18. Error opening TTL UART serial port to communicate with navX-Sensor.
  19. Unable to open TTL UART serial port to communicate with navX-Sensor.
  20. Error at com.revrobotics.CANSparkMaxLowLevel.<init>(CANSparkMaxLowLevel.java:136): Unhandled exception: java.lang.IllegalStateException: A CANSparkMax instance has already been created with this device ID: 1
  21. at com.revrobotics.CANSparkMaxLowLevel.<init>(CANSparkMaxLowLevel.java:136)
  22. at com.revrobotics.CANSparkMax.<init>(CANSparkMax.java:188)
  23. at com.swervedrivespecialties.swervelib.rev.NeoDriveControllerFactoryBuilder$FactoryImplementation.create(NeoDriveControllerFactoryBuilder.java:41)
  24. at com.swervedrivespecialties.swervelib.rev.NeoDriveControllerFactoryBuilder$FactoryImplementation.create(NeoDriveControllerFactoryBuilder.java:38)
  25. at com.swervedrivespecialties.swervelib.DriveControllerFactory.create(DriveControllerFactory.java:19)
  26. at com.swervedrivespecialties.swervelib.SwerveModuleFactory.create(SwerveModuleFactory.java:27)
  27. at com.swervedrivespecialties.swervelib.Mk4iSwerveModuleHelper.createNeo(Mk4iSwerveModuleHelper.java:184)
  28. at com.swervedrivespecialties.swervelib.Mk4iSwerveModuleHelper.createNeo(Mk4iSwerveModuleHelper.java:214)
  29. at frc.robot.subsystems.drivingSystem.<init>(drivingSystem.java:74)
  30. at frc.robot.RobotContainer.<init>(RobotContainer.java:24)
  31. at frc.robot.Robot.robotInit(Robot.java:35)
  32. at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:107)
  33. at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:373)
  34. at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:463)
  35. at frc.robot.Main.main(Main.java:27)
  36. Warning at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:388): The robot program quit unexpectedly. This is usually due to a code error.
  37. The above stacktrace can help determine where the error occurred.
  38. See https://wpilib.org/stacktrace for more information.
  39. Error at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:395): The startCompetition() method (or methods called by it) should have handled the exception above.
  40. [phoenix-diagnostics] Server shutdown cleanly. (dur:10|0)
  41. [phoenix] Library shutdown cleanly
  42. [phoenix-diagnostics] Server shutdown cleanly. (dur:10|0)
Advertisement
Add Comment
Please, Sign In to add comment