Changed to vehicle sensor instead of single sensor types

This commit is contained in:
2026-07-04 23:49:20 -06:00
parent 55522fc6fc
commit 10e9a0f5df
147 changed files with 523 additions and 8763 deletions
-9
View File
@@ -14,15 +14,6 @@ var WGS84_AB = WGS84_A_M * WGS84_B_M
var g = 9.80665
func calc_time_diff(timestamp_1, timestamp_2):
if timestamp_2 < 3600 and timestamp_1 > 82800:
return (timestamp_2 + 86400) - timestamp_1
return timestamp_2 - timestamp_1
func is_timestamp_newer(old_timestamp: float, new_timestamp: float) -> bool:
if old_timestamp > 82800. and new_timestamp < 3600: # earlier than 23 hours
return true
return old_timestamp < new_timestamp
func calc_wgs84_altitude(latitude_rad: float):
var theta_rad = abs(latitude_rad)