From fcb3ed727b84af644fc10abc12c5855b51fa6df3 Mon Sep 17 00:00:00 2001
From: Willem Melching <willem.melching@gmail.com>
Date: Fri, 4 Dec 2020 18:07:51 +0100
Subject: [PATCH] set y offset to zero for now

---
 selfdrive/ui/paint.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/selfdrive/ui/paint.cc b/selfdrive/ui/paint.cc
index 4c6ac80a13..459e3f04f7 100644
--- a/selfdrive/ui/paint.cc
+++ b/selfdrive/ui/paint.cc
@@ -22,7 +22,7 @@ extern "C"{
 // TODO: this is also hardcoded in common/transformations/camera.py
 // TODO: choose based on frame input size
 #ifdef QCOM2
-const float y_offset = 200.0;
+const float y_offset = 0.0;
 const float zoom = 1.1;
 const mat3 intrinsic_matrix = (mat3){{
   2648.0, 0.0, 1928.0/2,