You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/hardware_and_software_configuration/configuring/configuring_external_webcam/configuring-external-webcam.rst
+56-1Lines changed: 56 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Type of External Camera
18
18
-----------------------
19
19
20
20
Theoretically, any USB Video Class (UVC) camera should work with the
21
-
system. However, FIRST recommends using UVC web cameras from Logitech.
21
+
system. However, *FIRST* recommends using UVC web cameras from Logitech.
22
22
The following cameras have been tested and calibrated to work accurately
23
23
with SDK software:
24
24
@@ -53,6 +53,8 @@ powered USB hub.
53
53
with devices plugged into the USB 2.0 port.
54
54
Using the USB 2.0 Port may cause ESD to affect your Control Hub's Wi-Fi Chip (causing Wi-Fi disconnects with the driver hub).
55
55
Ensure that you plug USB devices, such as a Camera, into the USB 3.0 Port on your Control Hub.
56
+
57
+
If you wish to connect two webcams see `Cameras and USB Hubs`_.
56
58
57
59
Camera Configuration
58
60
--------------------
@@ -180,3 +182,56 @@ For custom streams, advanced users of Android Studio may consult the
You can already connect a UVC webcam into the USB 3.0 port of a Control Hub.
190
+
But what if you want to use two webcams?
191
+
Perhaps you want the robot to be able to look forward and/or behind without having to spin the robot.
192
+
In order to use two webcams on the Control Hub's USB 3.0 port you can add a USB Hub.
193
+
This avoid the ESD issue with devices on the USB 2.0 port.
194
+
195
+
.. note:: If you're using two standard UVC webcams you are not required to use a powered USB hub.
196
+
197
+
Another use case for a USB hub is if you have a `Limelight 3A <https://limelightvision.io/products/limelight-3a>`_ camera.
198
+
This device has its own processor on board and one drawback of this is that the camera always draws power, even when an opMode is not running.
199
+
By adding a powered USB hub the Limelight will not drain your robot's battery.
200
+
201
+
One suitable powered USB hub is the Acer ODK350 5-IN-1 USB 3.0 Hub.
202
+
It provides USB 3.0 data speeds to all ports and it has a USB C port that can supply power to all connected devices.
203
+
204
+
.. note:: At the time this was written, the Acer ODK350 hub was not listed on Acer's website, but was available on Amazon's website.
205
+
206
+
Not all USB hubs are powered hubs.
207
+
Typically, you can't just plug a power bank into any of the USB hub's ports. It must be a port that is designed to supply power.
208
+
So if you looking for a powered USB hub there should be a note in the specifications something like the following:
209
+
*Note: This USB C port (with IN 5V printed) can not be used for data transfer and charge other devices. It can only supply power for the other 4 USB ports.*
210
+
211
+
.. figure:: images/two-webcams.jpg
212
+
:alt:A USB hub with two webcams is connected to a REV Control Hub.
213
+
214
+
Acer ODK350 USB hub
215
+
216
+
The USB Hub is connected to the USB 3.0 port of the Control Hub.
217
+
A powerbank is connected to the USB C port on the USB hub to supply power to the connected devices.
218
+
Two Logitech 920 webcams are connected to the USB hub.
219
+
220
+
See the `AprilTag Switchable Cameras <https://github.com/FIRST-Tech-Challenge/FtcRobotController/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptAprilTagSwitchableCameras.java>`_ sample program that demonstrates swapping between the two cameras to detect AprilTags.
221
+
222
+
The other use case is using a Limelight a with a powered USB hub to reduce robot battery drain.
223
+
This example shows both a Limelight and a webcam.
224
+
225
+
.. figure:: images/webcam-and-limelight-3a.jpg
226
+
:alt:A USB hub with a webcam and a Limelight 3A connected to a REV Control Hub.
227
+
228
+
Acer ODK350 USB hub
229
+
230
+
The USB Hub is connected to the USB 3.0 port of the Control Hub.
231
+
A powerbank is connected to the USB C port on the USB hub to supply power to the connected devices.
232
+
A Logitech 270 webcam and a Limelight 3A are connected to the USB hub.
233
+
234
+
The Limelight 3A is not a compatible VisionPortal device. So you can't use the AprilTag switchable camera sample code.
235
+
But you can still get results from either the Limelight and/or the VisionPortal webcam and use them as required.
Copy file name to clipboardExpand all lines: docs/source/hardware_and_software_configuration/configuring/configuring_uvc_camera/configuring-uvc-camera.rst
+33-9Lines changed: 33 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,33 +23,42 @@ run properly.
23
23
What type of External Camera can be Used?
24
24
-----------------------------------------
25
25
26
-
The system supports a “UVC” or USB Video Device Class cameras.
26
+
The system supports a UVC cameras.
27
27
Theoretically, if a camera is UVC compliant, then it should work with
28
28
the system. However, there are a couple of recommended web cameras that
29
-
have been tested with the FIRST Tech Challenge software and have been
29
+
have been tested with the *FIRST* Tech Challenge software and have been
30
30
calibrated to work accurately with this software:
31
31
32
32
- Logitech HD Webcam C310
33
33
- Logitech HD Pro Webcam C920
34
34
35
+
There are notes on :doc:`other UVC webcams <../../../apriltag/vision_portal/visionportal_webcams/visionportal-webcams>`
36
+
that teams can use.
37
+
35
38
Note that calibrating a UVC camera is an advanced task. Details on how
36
39
to create a calibration file can be found in the comments of the
37
40
*teamwebcamcalibrations.xml* file that is available as part of the
0 commit comments