resolve_gps_location

Function resolve_gps_location 

Source
pub fn resolve_gps_location(
    camera_coords: (f64, f64),
    altitude: f64,
    heading: f64,
    target_position: (i32, i32),
) -> (f64, f64)
Expand description

This function calculates and returns the co-ordinates of the target based on the images taken by the drone camera, and the position of the camera.

ยงArguments

  • camera_coords - coordinates of the center of the camera
  • altitude - altitude of the drone at snapshot
  • heading - heading of the drone at snapshot
  • target_position - coordinates of the target; specifically, the center of the target