View source: R/transform_bearing_range_to_latlon.R
transform_bearing_range_to_latlon | R Documentation |
This function takes sensor data given in bearing/range/alt units and converts it to latitude, longitude, altitude based on the sensor system position. Nautilus uses latitude and longitude, so units must be converted. The function will correct for sensor altitude in a purely additive manner (i.e., if sensor is at 1,000 feet, and tgt is 2,000 feet above, then tgt altitude is 3,000 feet).
transform_bearing_range_to_latlon(referenceData, relativeSensorData)
referenceData |
data frame containing the longitude and latitude position of the sensor system. MUST contain:
|
relativeSensorData |
data frame containing sensor readings of targets. MUST contain:
|
data frame with the lat and lon position of the targets. Variables include:
time: time of measurement (POSIX)
trackNum: (factor) name of sensor track. Number is recommended
lat: latitude (degrees)
lon: longitude (degrees)
alt: altitude (meters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.