Skip to content

Instantly share code, notes, and snippets.

View jackersson's full-sized avatar

Taras jackersson

View GitHub Profile
@jackersson
jackersson / satellite_maps.py
Created April 25, 2023 18:24
SatMapsUseful
from pymavlink import mavextra
import math
import numpy as np
import typing as typ
# a threshold that indicates that latitude between the two image centers
# is significantly different
LATITUDE_CHANGE_THRESHOLD = 1e-4
# for the reference geoid used by OpenStreetMap