Multiple USB Cameras for driving

camera
labview

#1

We’re a second-year team. Our hatch device is in the front of our robot and our cargo intake is in the back - it’s very similar to the Everybot.

We have a front and back camera. We understand the 4MB bandwidth limitation and can lower our image size to compensate.

Here’s the cameras we’re using:

There’s lots of discussion on this topic - mostly related to one driver cam and one image processing cam - but no straight-forward solutions. The newest post is two years old so I wanted to double check. We start with the Labview RoboRio project wizard and build off of that.

We’re just now looking at this issue because the Rio had two USB ports and the dashboard had two camera windows so we were surprised when it didn’t just work since the single cam did last year. We thought it would be a common use case and therefore directly supported. Never assume anything right? So now we’re looking for help.

We’re good with using a coprocessor like a Raspberry Pi and switching between cams if that’s the only way, but we just need the step-by-step for the simplest possible solution for two driver cams.

Thanks!


#2

That particular model camera may not be compatible with the default LabVIEW camera code at all resolutions and settings.
You should be able to browse to the camera and try various settings to see what might work.
http://10.70.94.2:1181/


#3

You can also use the project provided in the following document to check which modes work with your camera and the roboRIO: Testing your camera’s compatibility with the NI roboRIO


#4

You have to define a second camera


#5

Not in LabVIEW.
Cameras are automatically detected and streamed.
It’s just that sometimes the default camera settings do not work with the roboRIO Linus video drivers.