From 240b0b019c1d12f9fba5e58f3880c91be3207e8a Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 3 Mar 2023 16:23:18 -0800 Subject: [PATCH] not used --- selfdrive/ui/qt/onroad.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 2457537a59..83d08e2749 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -492,10 +492,6 @@ void AnnotatedCameraWidget::updateFrameMat() { .translate(-intrinsic_matrix.v[2], -intrinsic_matrix.v[5]); } -float lerp(float a, float b, float t) { - return a + t * (b - a); -} - float interp1d(float value, float start_min, float start_max, float end_min, float end_max) { value = std::max(start_min, std::min(start_max, value)); float factor = (value - start_min) / (start_max - start_min);