mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
ui: use C3 video sizes by default on PC
This commit is contained in:
+2
-3
@@ -28,10 +28,9 @@
|
||||
|
||||
typedef cereal::CarControl::HUDControl::AudibleAlert AudibleAlert;
|
||||
|
||||
// TODO: this is also hardcoded in common/transformations/camera.py
|
||||
// TODO: choose based on frame input size
|
||||
const float y_offset = Hardware::TICI() ? 150.0 : 0.0;
|
||||
const float ZOOM = Hardware::TICI() ? 2912.8 : 2138.5;
|
||||
const float y_offset = (Hardware::TICI() || Hardware::PC()) ? 150.0 : 0.0;
|
||||
const float ZOOM = (Hardware::TICI() || Hardware::PC()) ? 2912.8 : 2138.5;
|
||||
|
||||
typedef struct Rect {
|
||||
int x, y, w, h;
|
||||
|
||||
Reference in New Issue
Block a user