|
Re: Using 2 USB Cameras
We tried this and created a custom class of CameraServer with two different instances for the two cameras. It still didn't work spitting an internal error:
Error when starting the camera: cam3 cam2 IMAQdxError: -1074360319: Internal error at org.usfirst.frc.team611.robot.CameraServer610.star tAutomaticCapture(CameraServer610.java:209)
org.usfirst.frc.team611.robot.Robot.robotInit(Robo t.java:23)
edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:72)
edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:241)
We traced this error and it seems to come from the National Instruments vision library which we don't have access to.
So I don't think there is a way to send two USB Camera feeds on the roboRio unless you process it externally and send it as one feed.
|