| 1 |
GigE CCD Driver |
| 2 |
=============== |
| 3 |
|
| 4 |
This package provides basic support for most GigE machine vision cameras through Project Aravis. |
| 5 |
|
| 6 |
|
| 7 |
Requirements |
| 8 |
============ |
| 9 |
|
| 10 |
+ INDI >= v1.2.0 (https://github.com/indilib/indi) |
| 11 |
|
| 12 |
You need to install both indi and indi-devel to build this package. |
| 13 |
|
| 14 |
+ cfitsio |
| 15 |
|
| 16 |
cfitsio-devel is required to compile support for FITS. |
| 17 |
|
| 18 |
+ aravis >= v0.6 |
| 19 |
|
| 20 |
aravis is required, see https://github.com/AravisProject/aravis |
| 21 |
|
| 22 |
* glib-2.0, gobject-2.0 |
| 23 |
|
| 24 |
Required through aravis |
| 25 |
|
| 26 |
|
| 27 |
Installation |
| 28 |
============ |
| 29 |
|
| 30 |
See INSTALL |
| 31 |
|
| 32 |
Use Notes |
| 33 |
========= |
| 34 |
|
| 35 |
Machine vision GigE cameras are designed towards throughput, and hence provide emphasis |
| 36 |
on high-speed video streaming. The main design goal for this driver is to use these |
| 37 |
cameras as primary imager or for guiding. Therefore, the main goal of this driver is |
| 38 |
not to provide high-speed video streams, but to control these cameras more or less as |
| 39 |
a generic CCD camera with a manual trigger and manual exposure controls. |
| 40 |
|
| 41 |
Many of the pre-processing features found on many of these cameras have therefore been |
| 42 |
not exposed. |
| 43 |
|
| 44 |
|
| 45 |
To run the driver from the command line: |
| 46 |
|
| 47 |
$ indiserver indi_gige_ccd |
| 48 |
|
| 49 |
|
| 50 |
GigE machine vision overview |
| 51 |
============================ |
| 52 |
|
| 53 |
Gigabit Ethernet machine vision cameras can be controlled in two ways: |
| 54 |
(1) Genicam standard, which accesses the camera's onboard XML file |
| 55 |
(2) CSR (Control Register) based: |
| 56 |
(2a) IIDC standard set |
| 57 |
(2b) Vendor specific set |
| 58 |
|
| 59 |
Project Aravis only uses genicam standard. For some features you need to |
| 60 |
access the CSR directly. These can easily be queried with arv-tool-0.6 that come |
| 61 |
with aravis, i.e. |
| 62 |
$ arv-tool-0.6 control R[0xF0F00A00] R[0xF0F00A04] R[0xF0F00A08] R[0xF0F00A10] R[0xF0F00A14] |
| 63 |
|
| 64 |
Point Grey Research-16048874 |
| 65 |
R[0xf0f00a00] = 0x08000600 |
| 66 |
R[0xf0f00a04] = 0x00040002 |
| 67 |
R[0xf0f00a08] = 0x00000000 |
| 68 |
R[0xf0f00a10] = 0x0a000000 |
| 69 |
R[0xf0f00a14] = 0x84780000 |
| 70 |
|
| 71 |
and refer to the camera register manual. |
| 72 |
|
| 73 |
For Grey Point blackfly cameras you can sometimes set raw mode and disable framerate through CSR only. |
| 74 |
This is done by subclassing the AvrGeneric class, see BlackFly.cpp for reference. |
| 75 |
|
| 76 |
If you are unsure, use the vendor's capture tool, and use wireshark to dump the traffic to the camera. |
| 77 |
This way, you can quickly and easily deduce what each register is used for, and how settings are |
| 78 |
programmed for your specific camera. |
| 79 |
|
| 80 |
Known issues |
| 81 |
============ |
| 82 |
|
| 83 |
(1) Currently, only a single camera is supported, although with GigE cameras you can have |
| 84 |
as many as you like in your network. Aravis library fully supports many cameras at once. |
| 85 |
It is rather easy to make this change, if you need it. Simply adapt the source code in |
| 86 |
indi_gige.cpp and ArvFactory.cpp to provide the necessary iteration. |
| 87 |
|
| 88 |
(2) Sometimes, with larger exposure times (>= 5s), the first frame is dropped. This |
| 89 |
will generate a black frame. Subsequent frames are OK. I have no idea why, it seems |
| 90 |
related to my particular camera behavior. |
| 91 |
|
| 92 |
(3) Probably only BLACKFLY cameras work, because AFAIK all machine vision cameras work |
| 93 |
with exposure times slaved to the framerate. If you want to access longer exposure times, |
| 94 |
you need to disable automatic frame rate control. Unfortunately, how to do this is |
| 95 |
camera-specific. |
| 96 |
|