Learn R Programming

squat (version 0.5.0)

reorient: QTS Reorientation

Description

This function reorients the quaternions in a QTS for representing attitude with respect to the orientation of the sensor at the first time point.

Usage

reorient(x, disable_normalization = FALSE)

# S3 method for qts reorient(x, disable_normalization = FALSE)

# S3 method for qts_sample reorient(x, disable_normalization = FALSE)

Value

An object of the same class as the input argument x in which quaternions measure attitude with respect to the orientation of the sensor at the first time point.

Arguments

x

An object of class qts or qts_sample.

disable_normalization

A boolean specifying whether quaternion normalization should be disabled. Defaults to FALSE.

Examples

Run this code
reorient(vespa64$igp[[1]])
reorient(vespa64$igp)

Run the code above in your browser using DataLab