-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathREADME
56 lines (35 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
libcaer
====
Minimal C library to access, configure and get data out of AER sensors,
such as the Dynamic Vision Sensor (DVS) or DAVIS cameras.
REQUIREMENTS:
cmake >= 2.6
gcc >= 4.9 or clang >= 3.6
libusb >= 1.0.17
Please make sure that you have the various development packages installed
for the above dependencies. They are usually called PKG-dev or PKG-devel.
INSTALLATION:
1) configure:
$ cmake -DCMAKE_INSTALL_PREFIX=/usr .
2) build:
$ make
3) install:
$ make install
DOCUMENTATION:
The API documentation for a release can be found at docs/libcaer_api_manual.pdf.
Also check the examples/ directory and the iniLabs Support website.
For the development tree, you can generate the documentation using:
$ make doc - to generate docs/latex/ and docs/html/ documentation files.
$ make pdf - to generate a PDF from the LaTeX sources at docs/latex/refman.pdf.
USAGE:
See examples/ directory. Usual usage is (simplified):
h = caerDeviceOpen(TYPE);
caerDeviceSendDefaultConfig(h);
caerDeviceDataStart(h);
loop:
c = caerDeviceDataGet(h);
work with c (container) and its event packets
caerDeviceDataStop(h);
caerDeviceClose(&h);
All configuration parameters and event types are specified in the
public headers and documented there.