fix_offset_3d

Estimate the offset in each axis of a triaxial field measurement from an accelerometer or magnetometer.


Matlab & Octave

[X,G] = fix_offset_3d(X)

R

list <- fix_offset_3d(X)

Estimate the offset in each axis of a triaxial field measurement, e.g., from an accelerometer or magnetometer. This is useful for correcting drift or calibration errors in a sensor.

Input var Description Units
X is a sensor structure/list or matrix containing measurements from a triaxial field sensor such as an accelerometer or magnetometer. X can be in any units and frame.N/A
Output var Description Units
X is a sensor structure/list or matrix containing the adjusted triaxial sensor measurements. It is the same size and has the same sampling rate and units as the input data. If the input is a sensor structure/list, the output will be also. N/A
G is a calibration structure containing one field: G.poly/G$poly. The first column of G.poly/G$poly contains 1 as this function does not adjust the scale factor of X. The second column of G.poly/G$poly is the offset added to each column of X.N/A
  1. This function is only usable for field sensors. It will not work for gyroscope data.

Will come soon!

bugs@animaltags.org Last modified: 4 August 2017

  • tagwiki/tools/calibration/fix_offset_3d.txt
  • Last modified: 2017/08/04 13:42
  • by das39