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 cameraaltitude- altitude of the drone at snapshotheading- heading of the drone at snapshottarget_position- coordinates of the target; specifically, the center of the target