n_E_and_wa2R_EL: Find 'R_EL' from n-vector and wander azimuth angle

Description Usage Arguments Value References See Also Examples

View source: R/n_E_and_wa2R_EL.R

Description

Calculate the rotation matrix (direction cosine matrix) R_EL using n-vector (n_E) and the wander azimuth angle. When wander_azimuth = 0, we have that N = L (See Table 2 in Gade (2010) for details)

Usage

1
n_E_and_wa2R_EL(n_E, wander_azimuth)

Arguments

n_E

n-vector decomposed in E (3x1 vector) (no unit)

wander_azimuth

The angle between L's x-axis and north, positive about L's z-axis (rad)

Value

The resulting rotation matrix (3x3) (no unit)

References

Kenneth Gade A Nonsingular Horizontal Position Representation. The Journal of Navigation, Volume 63, Issue 03, pp 395-417, July 2010.

See Also

R_EL2n_E, R_EN2n_E and n_E2R_EN.

Examples

1
2
3
4
# Calculates the rotation matrix (direction cosine matrix) R_EL
# using n-vector (n_E) and the wander azimuth angle.
n_E <- c(1, 0, 0)
(R_EL <-  n_E_and_wa2R_EL(n_E, wander_azimuth = pi / 2))

nvctr documentation built on Oct. 28, 2020, 5:07 p.m.