This commit is contained in:
Your Name
2024-05-18 02:58:28 -05:00
parent 69165b456a
commit 691036b9b9
3 changed files with 13 additions and 7 deletions

View File

@@ -117,13 +117,11 @@ void update_model(UIState *s,
// update path
float path;
if (paramsMemory.getInt("no_lat_lane_change")) {
path = LANE_CHANGE_NO_LAT_PATH_WIDTH;
path = LANE_CHANGE_NO_LAT_PATH_WIDTH / 20; // Release: better calc for EU users
} else {
path = CENTER_LANE_WIDTH;
path = CENTER_LANE_WIDTH / 20; // Release: better calc for EU users
}
path = 0.7;
auto lead_count = model.getLeadsV3().size();
if (lead_count > 0) {
auto lead_one = model.getLeadsV3()[0];