X_ellips2ned {navigation} | R 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 |
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)
[Package navigation version 0.0.1 Index]