Skip to content

Commit

Permalink
adjust minLeadProb and less verbose controlsd
Browse files Browse the repository at this point in the history
  • Loading branch information
MankaranSingh committed Nov 26, 2022
1 parent 2bdaf9f commit a3468c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions selfdrive/controls/controlsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,11 +813,9 @@ def controlsd_thread(self):
if self.i % 500 == 0:
print("---------------")
for event in self.events.events:
print(EVENT_NAME[event], EVENTS.get(event, {}))
print(EVENT_NAME[event])
print('enabled:', self.enabled)
print('initialized:', self.initialized)
print('current alerts:', self.current_alert)
print('v_cruise:', self.v_cruise_kph)
print("---------------")
self.i += 1

Expand Down
2 changes: 1 addition & 1 deletion selfdrive/ui/java/ai.flow.app/OnRoadScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class OnRoadScreen extends ScreenAdapter {
int drawResolution = 1;
float fadeStrength = 0.03f;
float minZ = 0.2f;
float minLeadProb = 0.7f;
float minLeadProb = 0.5f;
float leadDrawScale = 6f; /** in meters (think of it as a 6m sign board) **/
float borderWidth = 30;
float expandedBorderWidth = 600;
Expand Down

0 comments on commit a3468c4

Please sign in to comment.