ui: fix disappearing path with wide cam (#26354)
* split lat long icons * no overriding border status, consider steering pressed for lat icon, spacing for readability * add engageable back add engageable back add engageable back * all the debugging code 🙃 * revert that stuff * only the fix * comment comment * fix dat * explicit Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 384f9402374e341843f503f871421a7b43437444
This commit is contained in:
@@ -63,6 +63,8 @@ void update_line_data(const UIState *s, const cereal::ModelDataV2::XYZTData::Rea
|
||||
right_points.reserve(max_idx + 1);
|
||||
|
||||
for (int i = 0; i <= max_idx; i++) {
|
||||
// highly negative x positions cause flickering, clip to zy plane of camera
|
||||
if (line_x[i] < 0) continue;
|
||||
QPointF left, right;
|
||||
bool l = calib_frame_to_full_frame(s, line_x[i], line_y[i] - y_off, line_z[i] + z_off, &left);
|
||||
bool r = calib_frame_to_full_frame(s, line_x[i], line_y[i] + y_off, line_z[i] + z_off, &right);
|
||||
|
||||
Reference in New Issue
Block a user