This commit is contained in:
concordia
2024-05-02 21:29:10 -05:00
parent f56042fcb9
commit 00f797f931
2 changed files with 17 additions and 16 deletions

View File

@@ -18,7 +18,7 @@
#include "selfdrive/ui/qt/network/wifi_manager.h"
#include "system/hardware/hw.h"
const int UI_BORDER_SIZE = 30;
const int UI_BORDER_SIZE = 20; // clearpilot
const int UI_HEADER_HEIGHT = 420;
const int UI_FREQ = 20; // Hz
@@ -26,7 +26,7 @@ const int BACKLIGHT_OFFROAD = 50;
typedef cereal::CarControl::HUDControl::AudibleAlert AudibleAlert;
const float MIN_DRAW_DISTANCE = 10.0;
const float MAX_DRAW_DISTANCE = 100.0;
const float MAX_DRAW_DISTANCE = 100.0; // clearpilot
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, 0.0, 1928.0 / 2,
0.0, 2648.0, 1208.0 / 2,