View Single Post
  #1   Spotlight this post!  
Unread 10-01-2017, 17:48
DevOrc's Avatar
DevOrc DevOrc is offline
Registered User
FRC #4283 (INSPIRE ROBOTICS)
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2016
Location: Granville, Ohio
Posts: 8
DevOrc is an unknown quantity at this point
Serial Port Not Finding Pixy Camera

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)
Reply With Quote