Link Configuration
Before the link is ready to be shipped a few important steps are to be performed. Namely, making sure all values are set in the configuration files.

Config.json

Edit the ./config/config.json/ file and set the following:
  • unit_id - Unique KORUZA v2 Pro unit identifier
  • version - Do not set manually - will be set when KORUZA v2 Pro updates
  • cloud_config - Configuration regarding the InfluxDB data logging
  • link_config - Configuration regarding the low-data secondary communication channel between both units

Factory_defaults.json

After the calibration process unlock the file for editing with sudo chattr +i ./config/factory_defaults.json and copy the contents of ./config/calibration.json to this file and to koruza_v2/.factory_defaults.json. After you are done lock the file with sudo chattr -i ./config/factory_defaults.json
Below is the default .factory_calibration.json file.
1
{
2
"calibration": {
3
"offset_x": 0,
4
"offset_y": 0,
5
"zoom_level": 1
6
},
7
"camera_config": {
8
"X": 0.0,
9
"Y": 0.0,
10
"IMG_P": 1.0
11
}
12
}
Copied!