fix_offset_3d {tagtools}R Documentation

Estimate the offset in each axis

Description

This function is used to 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.

Usage

fix_offset_3d(X)

Arguments

X

A sensor list or matrix containing measurements from a triaxial field sensor such as an accelerometer of magnetometer. X can be in any units and frame.

Value

A list with 2 elements:

Note

This function is only usable for field sensors. It will not work for gyroscope data.

Examples

s <- fix_offset_3d(harbor_seal$A)


[Package tagtools version 0.1.0 Index]