dRonin
adbada4
dRonin GCS
|
Go to the source code of this file.
Functions | |
void | calibration_misalignment (Vector3f &rotationVector, const Vector3f samples0[], const Vector3f &reference0, const Vector3f samples1[], const Vector3f &reference1, size_t n_samples) |
void calibration_misalignment | ( | Vector3f & | rotationVector, |
const Vector3f | samples0[], | ||
const Vector3f & | reference0, | ||
const Vector3f | samples1[], | ||
const Vector3f & | reference1, | ||
size_t | n_samples | ||
) |
Calibrate the angular misalignment of one field sensor relative to another.
rotationVector[out] | The rotation vector that rotates sensor 1 such that its principle axes are colinear with the axes of sensor 0. |
samples0[in] | A list of samples of the field observed by the reference sensor. |
reference0[in] | The common value of the reference field in the inertial reference frame. |
samples1[in] | The list of samples taken by the sensor to be aligned to the reference. The attitude of the sensor head as a whole must be identical between samples0[i] and samples1[i] for all i. |
reference1[in] | The actual value of the second field in the inertial reference frame. |
n_samples | The number of samples. |
Definition at line 23 of file alignment-calibration.cpp.