Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyshox committed Nov 26, 2024
1 parent 31ecd6a commit 7e07680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/locationd/locationd.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ def main():
observation_timing_invalid = defaultdict(int)
observation_input_invalid = defaultdict(int)

input_invalid_decay = {s: INPUT_INVALID_DECAY ** (100. / SERVICE_LIST[which].frequency) for s in critcal_services}
timing_invalid_decay = {s: TIMING_INVALID_DECAY ** (100. / SERVICE_LIST[which].frequency) for s in critcal_services}
input_invalid_decay = {s: INPUT_INVALID_DECAY ** (100. / SERVICE_LIST[s].frequency) for s in critcal_services}
timing_invalid_decay = {s: TIMING_INVALID_DECAY ** (100. / SERVICE_LIST[s].frequency) for s in critcal_services}

initial_pose = params.get("LocationFilterInitialState")
if initial_pose is not None:
Expand Down

0 comments on commit 7e07680

Please sign in to comment.