flightconflicts

Tools to analyze conflicts between aircraft.
git clone https://git.eamoncaddigan.net/flightconflicts.git
Log | Files | Refs | README | LICENSE

calculateTCPA.Rd (923B)


      1 % Generated by roxygen2: do not edit by hand
      2 % Please edit documentation in R/calculateTCPA.R
      3 \name{calculateTCPA}
      4 \alias{calculateTCPA}
      5 \title{Calculate the time to closest point of approach (TCPA) between two aircraft 
      6 at each time point of their their trajectories.}
      7 \usage{
      8 calculateTCPA(trajectory1, trajectory2)
      9 }
     10 \arguments{
     11 \item{trajectory1}{A \code{flighttrajectory} object corresponding to the 
     12 first aircraft.}
     13 
     14 \item{trajectory2}{A \code{flighttrajectory} object corresponding to the 
     15 second aircraft.}
     16 }
     17 \value{
     18 The numeric vector giving the TCPA. Values in seconds.
     19 }
     20 \description{
     21 Calculate the time to closest point of approach (TCPA) between two aircraft 
     22 at each time point of their their trajectories.
     23 }
     24 \details{
     25 This code is based on the SLoWC formulation by Ethan Pratt and Jacob
     26   Kay as implemented in a MATLAB script by Ethan Pratt dated 2016-04-18. This
     27   code calculates horizontal CPA only.
     28 }
     29