|
|
# Simple setup for laser plane scanner
|
|
|
# Simple setup for laser plane range finder (LPRF)
|
|
|
|
|
|
## Requirements for LPRF
|
|
|
* Python 2.7
|
|
|
* OpenCV3 compiled with GUI and ChAruCo optional packages (ROS version can be used)
|
|
|
* PylonForPython --> https://gitlab.ciirc.cvut.cz/cmirajak/PylonForPython
|
|
|
|
|
|
### PylonForPython
|
|
|
Copy GitHub link to CameraManager and follow the project the README to install the package.
|
|
|
git clone git@gitlab.ciirc.cvut.cz:cmirajak/PylonForPython.git
|
|
|
|
|
|
## Choosing the calibration pattern
|
|
|
Two calibration pattern are available, the chessboard and ChAruCo (chessboard with position tags), both of which can be combined to calibrate the whole system. We will use the ChAruCo board for camera calibration and chessboard for laser position calibration. |
|
|
Two calibration pattern are available, the chessboard and ChAruCo (chessboard with position tags), both of which can be combined to calibrate the whole system. We will use the ChAruCo board for camera calibration and chessboard for laser position calibration.
|
|
|
|
|
|
|
|
|
## Generating ChAruCo board
|
|
|
**GenerateBoardCharuco.py** generates the ChAruCo board and saves it as .png file. You can configure the board generation by setting the number of columns, rows, size of the squares, size of the markers and specify the dictionary of markers. The generated picture of the board is printed in 1:1 ratio and glued to a flat surface.
|
|
|
|
|
|
The setting is later used in the other files. The setting of these files must be changed accordingly to this setting.
|
|
|
|
|
|
|
|
|
|