-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
152 lines (118 loc) · 5.24 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
========================================================================
This software is free: you can redistribute it and/or modify
it under the terms of the GNU General Public License Version 3,
as published by the Free Software Foundation.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
Version 3 in the file COPYING that came with this distribution.
If not, see <http://www.gnu.org/licenses/>.
========================================================================
ssl-vision
RoboCup Small Size League Shared Vision System
http://code.google.com/p/ssl-vision/
========================================================================
========================
Online Documentation:
========================
To find more in-depth and up-to-date information about SSL-Vision
(including installation and configuration), please visit the Wiki
Documentation Page:
http://code.google.com/p/ssl-vision/wiki/Manual
========================
Software Requirements:
========================
- g++
- QT >= 4.3 with opengl and networking support
- cmake
- Eigen2
- Google protocol buffers (protoc)
- OpenGL
- GLU
- libdc1394 Version >= 2.0
- libjpeg
- libpng
To get all of these packages in (k)ubuntu, run:
sudo apt-get install g++ libqt4-dev libeigen2-dev protobuf-compiler libprotobuf-dev libdc1394-22 libdc1394-22-dev cmake
========================
Hardware Requirements:
========================
The system supports 1394B / Firewire 800, but it's also backward compatible
with 1394A.
===============
Compilation:
===============
build the code by running:
make
The project *should* build without errors or warnings.
===============
Running:
===============
1) depending on your OS, you might need to ensure that you
have full access to the firewire devices /dev/fw*
This *might* require logging in as root.
2) run the software using the following command:
./bin/vision
============================================
Starting to Capture and Setting Parameters
============================================
Once the software is running, you should see two empty capture frames
on the right, and a data-tree structure on the left.
In this data-structure you can setup your camera parameters,
such as resolution, capture mode, etc.
A quick hint: the text-field below the data-tree allows for
fast search through the data-tree.
See the section of DC1394 parameters below to get an idea of what the
parameters do.
Once you have them set up, you can start capturing by clicking
"Image Capture/Capture Control/Start"
in the data-tree.
===================
DC1394 Parameters
===================
If you expand the tree then the capture parameters are in
"Image Capture/DC1394/Capture Settings"
Furthermore, conversion settings are in
"Image Capture/DC1394/Conversion Settings"
"convert to mode" should currently be "yuv422"
for best performance, "capture mode" should also be "yuv422",
but can also be a different format such as "yuv411" or "rgb"
Alternatively, if you desire, you can do de-bayering in software,
but this will take extra CPU cycles. To do so, you would set the
capture mode to e.g. "raw8" and the convert mode to "rgb". Finally,
you will need to set "de-bayer" to true, and select the correct
de-bayer pattern and desired method.
Capturing supports both DCAM native modes and Format7 modes.
This is selected in the "capture format" field. Leaving it on
"auto" will attempt native mode first, then format7_0.
By default, ISO800 support is disabled. To enable it, mark the
field "use ISO800" as true.
--- ONLINE PARAMETERS: ---
Once you start capturing, you should see the realtime video image
on the right.
Furthermore, in the data tree, you should be able to go to the
"Camera Parameters" node which will then be expandable and show
all of your DCAM parameters.
You can adjust all of these parameters in real-time.
Note that the read-out of these parameters from the camera
only happens automatically if "auto refresh params" in the
Capture Control is set to true. Otherwise, you can use
the "re-read params" "Refresh" button to refresh them manually.
For performance reasons, it might make sense to set auto refresh
to false, so the bus is not being flooded with too much control
data and has full bandwidth available for the video streaming.
====================================
Storage of Settings and Parameters
====================================
When you quit the application normally (by closing the window
not thru Ctrl-C) then all settings and parameters will
automatically be written to a set of xml files.
All settings should be automatically restored during the next
program start.
In case the files should ever become corrupted, or the
program refuses to start completely when parsing the XML files
(this should normally never occur) then simply delete all
XML files and restart. The program should restore its default
settings.