Simulated calibration sequence with 2 yaw, 2 pitch, and 2 roll rotations. No magnetic inclination is assumed. The yaw rotation is clockwise, with the x-axis facing north at the beginning and end of the rotations. The pitch rotation is a downward pitch with the x-axis facing north at the beginning. The roll rotation is a downward rotation with the x-axis facing west at the beginning.
Usage
data(yprsim)
Arguments
Format
A data frame with 378 observations on the following 11 variables.
mx
a numeric vector of magnetometer X-axis values.
my
a numeric vector of magnetometer Y-axis values.
mz
a numeric vector of magnetometer Z-axis values.
ax
a numeric vector of accelerometer X-axis values.
ay
a numeric vector of accelerometer Y-axis values.
az
a numeric vector of accelerometer Z-axis values.
pitch
pitch values (in radians from $-\pi/2 \le$ to $\le \pi/2$)
roll
roll values (in radians from $-\pi \le$ to $\le \pi$)
heading
heading values (in radians from $0$ to $2\pi$)
xh
tilt corrected X-axis magnetometer values (in radians)
yh
tilt corrected Y-axis magnetometer values (in radians)