|
Re: Serial Port Not Finding Pixy Camera
Quote:
Originally Posted by DevOrc
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)
|
If you log into the web dash on the roboRIO, http://wpilib.screenstepslive.com/s/...o-webdashboard, you should see 3 serial port objects. What shows up for the last one? ASRL1 and ASRL2 are the built in serial ports.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
|