Open agnivsen opened 8 years ago
Sorry for the super late reply!
Since I don't have any details, the only thing I can get fro the error message is that the calibration fails since it reached the maximum number of allowed iterations. Why this happens could depend on a lot of things, e.g.:
You are also applying the L3G4200D post processing that my gyroscope needs, but yours probably does not.
The CAMERA_XXX
constants are parameters for the AtanCameraModel
class.
You can calibrate your own camera using this model (although that piece of code is not supported in any way) or, if you have already calibrated the camera with the OpenCV camera model, there is also an OpenCvCameraModel
class.
The _references.csv header is explained in detail in the README
file of the dataset which the example script is made for.
The gyro biases are part of the parameters that are being optimized by the calibrator. Not knowing them is thus fine and normal.
Trying to calibrate camera - gyroscope pair. Camera runs at 30 fps, Gyro at 100 Hz.
The example file 'gopro_dataset_example.py', when modified to suit our dataset, runs for 2 - 3 minutes and fails with the following message:
Traceback:
Traceback (most recent call last):
In the example python file, there are quite a few parameters which are not very obvious:
Care to explain these ones:
Also, in the *_reference.csv, please explain these column headers:
What happens if I do not already know the gyro biases? Do we need to provide an estimate?