projecthorus / sondehub-infra

GNU General Public License v3.0
26 stars 4 forks source link

Add heading check #23

Closed TheSkorm closed 3 years ago

TheSkorm commented 3 years ago
if "heading" in telemetry and telemetry["heading"] > 360:
        return (False,f"Heading {telemetry['heading']} is above 360")