X_ellips2ned: Transform position from ellipsoidal to NED coordinates

View source: R/X_ellips2ned.R

X_ellips2nedR Documentation

Transform position from ellipsoidal to NED coordinates

Description

Transform position from ellipsoidal coordinates to a fixed Cartesian NED frame

Usage

X_ellips2ned(x, x_o = NULL)

Arguments

x

An object of class trajectory in "ellipsoidal" system or a matrix of position data with latitude, longitude, and altitude

x_o

Origin of the fixed Cartesian NED frame expressed in ellipsoidal coordinates

Value

An object of class trajectory in "NED" system or a matrix of position data with x_N, x_E, and x_D, according to the type of input x

Author(s)

Davide Cucci, Lionel Voirol, Mehran Khaghani, St├ęphane Guerrier

Examples


library(navigation)
data("example_1_traj_ellipsoidal")
traj_ellips <- make_trajectory(example_1_traj_ellipsoidal, system = "ellipsoidal")
plot(traj_ellips)
plot(traj_ellips, threeD = TRUE)
traj_ned <- X_ellips2ned(traj_ellips, x_o = example_1_traj_ellipsoidal[1, -1])
plot(traj_ned)


navigation documentation built on May 31, 2023, 8:39 p.m.