interpolateTrajectory.Rd (744B)
1 % Generated by roxygen2: do not edit by hand 2 % Please edit documentation in R/interpolateTrajectory.R 3 \name{interpolateTrajectory} 4 \alias{interpolateTrajectory} 5 \title{Interpolate a trajectory (in time)} 6 \usage{ 7 interpolateTrajectory(trajectory, timestamp) 8 } 9 \arguments{ 10 \item{trajectory}{A \code{flighttrajectory} object.} 11 12 \item{timestamp}{The new timestamp along which the data should be 13 interpolated.} 14 } 15 \value{ 16 A new \code{flighttrajectory} with the given \code{timestamp} 17 } 18 \description{ 19 Interpolate a trajectory (in time) 20 } 21 \details{ 22 This just performs linear interpolation for all of the values in the 23 trajectory. A better approach would make use of the bearing and velocity 24 information to smoothly interpolate the coordinates. 25 } 26