roboticslab-uc3m / yarp-devices

A place for YARP devices
https://robots.uc3m.es/yarp-devices/
9 stars 7 forks source link

Review and generalize Aravis device #269

Open PeterBowman opened 10 months ago

PeterBowman commented 10 months ago

Our AravisGigE device could benefit from a thorough review. It was designed to work on a GigE (the "E" stands for ethernet) camera on Aravis 0.4 built via Makefiles. Nowadays, we would use Aravis 0.8 built with Meson and extend our plugin to also cover USB3 cameras (such as the Flea3 FL3-U3-88S2C-C from Point Grey). An industry standard that covers both protocols is GenICam, therefore I'd suggest renaming AravisGigE to GenICamCamera (or GenICam, GenICamDevice, etc.).

See also:

Camera specs Resolution | 4096 x 2160 -- | -- Frame Rate | 21 FPS Megapixels | 8.8 MP Chroma | Color Sensor Name | Sony IMX121 Sensor Type | CMOS Readout Method | Rolling shutter with global reset Sensor Format | 1/2.5" Pixel Size | 1.55 μm Lens Mount | C-mount ADC | 12-bit Quantum Efficiency Blue (% at 470 nm) | 63 Quantum Efficiency Green (% at 525 nm) | 73 Quantum Efficiency Red (% at 640 nm) | 49 Temporal Dark Noise (e-) | 3.06 Saturation Capacity (e-) | 5966 Dynamic Range (dB) | 64.49 Gain Range | 0 dB to 24 dB Exposure Range | 0.021 ms to 1 second Trigger Modes | Standard, bulb, multi-shot Partial Image Modes | Pixel binning, ROI Image Processing | Gamma, lookup table, hue, saturation, and sharpness Image Buffer | 32 MB User Sets | 2 memory channels for custom camera settings Flash Memory | 1 MB non-volatile memory Opto-isolated I/O Ports | 1 input, 1 output Non-isolated I/O Ports | 2 bi-directional Serial Port | 1 (over non-isolated I/O) Auxiliary Output | 3.3 V, 150 mA maximum Interface | USB 3.0 Power Requirements | 5-24 V via GPIO or 5 V via USB 3.0 Power Consumption (Maximum) | <3 W Dimensions | 29 mm x 29 mm x 30 mm Mass | 41 g Machine Vision Standard | USB3 Vision v1.0 Compliance | CE, FCC, KCC, RoHS Temperature (Operating) | 0° to 45°C Temperature (Storage) | -30° to 60°C Humidity (Operating) | 20 to 80% (no condensation) Humidity (Storage) | 20 to 95% (no condensation) Warranty | 3 years

In order to use our camera, I had to update its firmware through the Point Grey FlyCap2 software (on Windows). After that, I was able to receive frames also on Linux. Backup (can't tell which one worked for me, but the firmware update on Linux surely didn't):