We are trying to use the Pixy camera for vision targeting. We have it hooked up to the USB Port on the RoboRio. However we keep on getting the same error when we create the Serial Port object.
Code:
java.lang.RuntimeException: Code: -1123. HAL: The specified serial port device was not found
at edu.wpi.first.wpilibj.hal.SerialPortJNI.serialInitializePort(Native Method)
at edu.wpi.first.wpilibj.SerialPort.<init>(SerialPort.java:112)
at edu.wpi.first.wpilibj.SerialPort.<init>(SerialPort.java:160)
at org.usfirst.frc.team4283.robot.vision.RobotCamera.initTeleop(RobotCamera.java:21)
at org.usfirst.frc.team4283.robot.Robot.teleopInit(Robot.java:68)
at edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:123)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:247)