From a25637897bb81a0c7996ee2bfd3339e6a6a03296 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 17 Nov 2021 12:26:17 +0100 Subject: [PATCH] nav: render at 20fps instead of 10fps old-commit-hash: 5648b22833c4ec5eaa1b76af3018f856f6cfaf6f --- selfdrive/ui/qt/maps/map.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/qt/maps/map.cc b/selfdrive/ui/qt/maps/map.cc index 1f54516133..ecb5c122ae 100644 --- a/selfdrive/ui/qt/maps/map.cc +++ b/selfdrive/ui/qt/maps/map.cc @@ -22,7 +22,7 @@ const float MIN_PITCH = 0; const float MAP_SCALE = 2; MapWindow::MapWindow(const QMapboxGLSettings &settings) : - m_settings(settings), velocity_filter(0, 10, 0.1) { + m_settings(settings), velocity_filter(0, 10, 0.05) { sm = new SubMaster({"liveLocationKalman", "navInstruction", "navRoute"}); // Connect now, so any navRoutes sent while the map is initializing are not dropped @@ -30,7 +30,7 @@ MapWindow::MapWindow(const QMapboxGLSettings &settings) : timer = new QTimer(this); QObject::connect(timer, SIGNAL(timeout()), this, SLOT(timerUpdate())); - timer->start(100); + timer->start(50); // Instructions map_instructions = new MapInstructions(this);