From aa1b11b01b82e252ba259b176254dea3fde9e936 Mon Sep 17 00:00:00 2001 From: ZwX1616 Date: Fri, 5 Apr 2024 13:49:08 -0700 Subject: [PATCH] default --- selfdrive/ui/ui.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/selfdrive/ui/ui.h b/selfdrive/ui/ui.h index 7909fa76f6..6efb72af9a 100644 --- a/selfdrive/ui/ui.h +++ b/selfdrive/ui/ui.h @@ -27,13 +27,13 @@ typedef cereal::CarControl::HUDControl::AudibleAlert AudibleAlert; const float MIN_DRAW_DISTANCE = 10.0; const float MAX_DRAW_DISTANCE = 100.0; constexpr mat3 DEFAULT_CALIBRATION = {{ 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0 }}; -constexpr mat3 FCAM_INTRINSIC_MATRIX = (mat3){{2648.0 * 1.5, 0.0, 2688.0 / 2, - 0.0, 2648.0 * 1.5, 1520.0 / 2, +constexpr mat3 FCAM_INTRINSIC_MATRIX = (mat3){{2648.0, 0.0, 1928.0 / 2, + 0.0, 2648.0, 1208.0 / 2, 0.0, 0.0, 1.0}}; // tici ecam focal probably wrong? magnification is not consistent across frame // Need to retrain model before this can be changed -constexpr mat3 ECAM_INTRINSIC_MATRIX = (mat3){{567.0 * 1.5, 0.0, 2688.0 / 2, - 0.0, 567.0 * 1.5, 1520.0 / 2, +constexpr mat3 ECAM_INTRINSIC_MATRIX = (mat3){{567.0, 0.0, 1928.0 / 2, + 0.0, 567.0, 1208.0 / 2, 0.0, 0.0, 1.0}};