mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
laikad: Filter unwanted pseudoranges (#25051)
Filter unwanted pseudoranges old-commit-hash: b88d7c89fae448068aeaca65706d99aa145c8a74
This commit is contained in:
@@ -103,6 +103,9 @@ class Laikad:
|
||||
self.fetch_orbits(latest_msg_t + SECS_IN_MIN, block)
|
||||
|
||||
new_meas = read_raw_ublox(report)
|
||||
# Filter measurements with unexpected pseudoranges for GPS and GLONASS satellites
|
||||
new_meas = [m for m in new_meas if 1e7 < m.observables['C1C'] < 3e7]
|
||||
|
||||
processed_measurements = process_measurements(new_meas, self.astro_dog)
|
||||
|
||||
est_pos = self.get_est_pos(t, processed_measurements)
|
||||
|
||||
Reference in New Issue
Block a user