DLP: display Laneless path on initialization (#200)

* DLP: display Laneless path on initialization

* Default in ui as well
This commit is contained in:
Jason Wen
2023-06-28 16:07:20 -04:00
committed by GitHub
parent 3d9668d622
commit eb75b0cfbd
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class LateralPlanner:
self.param_s = Params()
self.dynamic_lane_profile_enabled = self.param_s.get_bool("DynamicLaneProfileToggle")
self.dynamic_lane_profile = int(self.param_s.get("DynamicLaneProfile", encoding="utf8"))
self.dynamic_lane_profile_status = False
self.dynamic_lane_profile_status = True
self.dynamic_lane_profile_status_buffer = False
self.standstill_elapsed = 0.0
+2 -1
View File
@@ -154,7 +154,8 @@ typedef struct UIScene {
uint64_t started_frame;
int dynamic_lane_profile;
bool dynamic_lane_profile_status, dynamic_lane_profile_toggle;
bool dynamic_lane_profile_status = true;
bool dynamic_lane_profile_toggle;
bool visual_brake_lights;