mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-01-30 07:33:55 +00:00
add heading check
This commit is contained in:
parent
9b467dfaac
commit
ad0fa3ac28
@ -162,6 +162,9 @@ def telemetry_filter(telemetry):
|
||||
|
||||
return (False, f"Sonde {telemetry['serial']} position breached radius cap by {_radius_breach:.1f} km.")
|
||||
|
||||
if "heading" in telemetry and telemetry["heading"] > 360:
|
||||
return (False,f"Heading {telemetry['heading']} is above 360")
|
||||
|
||||
# DateTime Check
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user