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
+2 -2
View File
@@ -11,9 +11,9 @@ func _on_data_received(source_ip: String, timestamp_list: Array, sat_counts: Arr
if source_ip != ip_address:
return
var msg_timestamp = timestamp_list[0] * 3600 + timestamp_list[1] * 60 + timestamp_list[2] + timestamp_list[3]
if not Constants.is_timestamp_newer(timestamp, msg_timestamp):
if not Constants.is_timestamp_newer(latest_timestamp, msg_timestamp):
return
timestamp = msg_timestamp
latest_timestamp = msg_timestamp
var sat_ids = []
for sat_data in sat_positions:
sat_ids.append(sat_data[0])