Skip to content

Commit

Permalink
radard.py: remove trailing space (#23703)
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee authored Feb 3, 2022
1 parent 4e0c08c commit 414d4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/radard.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def update(self, sm, rr, enable_lead):
radarState.carStateMonoTime = sm.logMonoTime['carState']

if enable_lead:
leads_v3 = sm['modelV2'].leadsV3
leads_v3 = sm['modelV2'].leadsV3
if len(leads_v3) > 1:
radarState.leadOne = get_lead(self.v_ego, self.ready, clusters, leads_v3[0], low_speed_override=True)
radarState.leadTwo = get_lead(self.v_ego, self.ready, clusters, leads_v3[1], low_speed_override=False)
Expand Down

4 comments on commit 414d4ca

@adeebshihadeh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deanlee selfdrive/test/test_onroad.py is failing randomly. It seems that logcatd can get into a loop where it'll keep repeating messages it's already seen. want to take a look at it?

@deanlee
Copy link
Contributor Author

@deanlee deanlee commented on 414d4ca Feb 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logcatd_android.cc?

@adeebshihadeh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@deanlee
Copy link
Contributor Author

@deanlee deanlee commented on 414d4ca Feb 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found the problem.
we should compare the log_time with the latest log_msg after re-open logger_list.

Please sign in to comment.