dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
alignment-calibration.cpp File Reference

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)
 

Function Documentation

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.

Parameters
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_samplesThe number of samples.

Definition at line 23 of file alignment-calibration.cpp.