Transform position from ellipsoidal coordinates to a fixed Cartesian NED frame

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

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)