yprsim: Yaw, pitch, and roll simulation data.

Description Usage Format Examples

Description

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

1

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 -π/2 ≤ to ≤ π/2)

roll

roll values (in radians from -π ≤ to ≤ π)

heading

heading values (in radians from 0 to )

xh

tilt corrected X-axis magnetometer values (in radians)

yh

tilt corrected Y-axis magnetometer values (in radians)

Examples

1

Example output

Loading required package: rgl
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 

animalTrack documentation built on May 29, 2017, 5:59 p.m.