Dean Lee
e376a621ba
ui/device: change last_brightness from float to int ( #23029 )
2021-11-26 14:59:23 +01:00
Dean Lee
7ce9ff1b04
ui/device: fix uninitialized variable awake ( #22983 )
2021-11-19 20:40:29 -08:00
Adeeb Shihadeh
f2a81309e1
Revert "Revert "Fix build failures in Ubuntu 21.10 ( #22952 )""
...
This reverts commit 5e2570dc75 .
2021-11-17 13:46:38 -08:00
Adeeb Shihadeh
5e2570dc75
Revert "Fix build failures in Ubuntu 21.10 ( #22952 )"
...
This reverts commit 61f9b3e653 .
2021-11-17 11:40:17 -08:00
Jason Shuler
61f9b3e653
Fix build failures in Ubuntu 21.10 ( #22952 )
...
* Fix compile on Ubuntu 21.10
* Add missing c++17 optional refs in ui
2021-11-17 18:59:36 +01:00
Dean Lee
c35ae99927
ui: replace nvg transfrom with QTransform ( #21968 )
2021-11-17 12:24:37 +01:00
HaraldSchafer
c9218a55f3
tici: limit brightness with display uptime ( #22918 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-11-15 22:11:17 -08:00
Adeeb Shihadeh
ed8e6f857c
soundd: configure as persistent process ( #22878 )
...
* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai >
2021-11-12 15:04:57 -08:00
Dean Lee
797bb1acb0
soundd: misc cleanup + tests ( #22796 )
...
* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa3d5cd0aa8986d2b8da0b1edc7ea31b.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f3a846652837cc4a43d5d60dd81896b.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-11-09 14:18:29 -08:00
Willem Melching
cca07c0c73
navigation: use mapbox proxy server ( #22660 )
...
* use mapbox proxy
* remove MapboxToken param
* do not log jwt
* remove import
* move to staging url
* put has_prime in ui state
* logic was flipped
* Update selfdrive/ui/qt/maps/map.h
2021-10-26 18:59:17 +02:00
Mitchell Goff
fd3fdea7b4
Use TICI intrinsics by default on PC ( #22546 )
2021-10-13 12:44:36 -07:00
Willem Melching
abae4ef72c
Revert "ui: use C3 video sizes by default on PC"
...
This reverts commit cf4cd3b693 .
2021-09-14 11:48:34 -07:00
Willem Melching
cf4cd3b693
ui: use C3 video sizes by default on PC
2021-09-14 11:27:34 -07:00
Dean Lee
a034926264
Qt/onroad: use CameraViewWidget ( #21821 )
...
* use CameraViewWidget
* no timer, updateFrame after frameSwapped
* use QOpenGLShaderProgram
* merge master
* remove that
* new function setStreamType
* continue
* remove showEvent
* cleanup
* cleanup
* little more
* fix black screen on startup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-09-08 13:13:27 -07:00
Dean Lee
dec9addce0
Alert::equal: pass Alert by const reference ( #22044 )
2021-08-25 09:33:27 -07:00
Dean Lee
f0389f7e2d
Qt: draw border in OnroadWindow ( #21594 )
...
* draw border in OnroadAlerts
* non transparent
* no scissor
* set video_rect to the full size
* fix header gradient
* Revert "fix header gradient"
This reverts commit f5565c19d5cabda22fe6b60af23dc26727ecd5bc.
* Revert "set video_rect to the full size"
This reverts commit c012db105a8cabd140971208431d83ae3592b70e.
* fix scissor
* fix header gradient
* set scissor box to video_rect when draw lines
* move up eta
* init alert_size to NONE
* remove glScissor
* cleanup
* rename draw_video_frame to draw_vision_frame
* remove space
* add comment
* move border to OnroadWindow
* cleanup signals
* fw declare MapWindow
* fix build err
* remove viz_rect
* fix build err
* continue
* cleanup
* text rect:no border
* use signals
* remove space
cleanup
* merge master
* fix map eta
* get bgColor from alerts
* update alerts in OnroadWindow
* add function clearAlert
* repaint border
* init bg color to STATUS_DISENGAGED
* no black frame
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-07-23 21:45:47 -07:00
Adeeb Shihadeh
12948e661a
soundd ( #21619 )
...
* refactor alerts
* doesn't go here anymore
* soudd
* handle controls unresponsive
* same check
* fix path
* update sound test
* nice
* fix c2
* add script
* update tests
Co-authored-by: Comma Device <device@comma.ai >
2021-07-16 17:30:00 -07:00
Adeeb Shihadeh
a2f9259ebf
sidebar: indicator for GPS fix ( #21556 )
...
* sidebar: indicator for GPS fix
* fix cutoff
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh
8b6cf406ab
remove gps accuracy from sidebar
2021-07-10 14:40:11 -07:00
Dean Lee
13b2ce9391
UI: remove zoom from struct UIState ( #21520 )
2021-07-08 10:42:34 +02:00
Dean Lee
514111ca85
ui.h: const bg_colors ( #21169 )
2021-06-07 00:04:16 -07:00
Adeeb Shihadeh
2ddfd82913
limit icon flickering in UI ( #21132 )
2021-06-03 23:06:14 -07:00
Adeeb Shihadeh
9876723169
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
2021-06-01 20:59:41 -07:00
Willem Melching
93424ec6b4
cleanup brightness params ( #21066 )
2021-05-28 15:45:41 +02:00
George Hotz
f43671c987
Move MCLK from 24 -> 19.2 mhz + Add accuracy in sidebar ( #20960 )
...
* wip
* one day i'll flip that right
Co-authored-by: Comma Device <device@comma.ai >
2021-05-18 22:37:33 -07:00
Willem Melching
ccdec0291d
Update visionIPC stream and intrinsic matrix when going onroad ( #20947 )
...
* Choose correct vipc stream when going onroad
* whitespace
2021-05-18 14:17:38 +02:00
Dean Lee
0495426535
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
2021-05-17 10:31:31 +02:00
Dean Lee
533bc30c2e
UI: remove duplicate capnp readers ( #20855 )
...
* refactor submaster
* rebase master
* CAPNP best pratice
* zero initialize
* vwp_w has not been initialized before UIState()
* no static
* rebase master
* Minimize refactoring
* cleanup
* remove gpsOk
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-05-14 22:47:06 -07:00
Dean Lee
7222d0f20d
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai >
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh
e1a58e6268
match nvg sidebar ( #20847 )
2021-05-07 15:12:29 -07:00
Adeeb Shihadeh
f907219957
Qt onroad alerts ( #20776 )
2021-05-04 23:23:00 -07:00
Adeeb Shihadeh
8a280fbb8e
bump cereal
2021-05-03 20:47:11 -07:00
Dean Lee
81491dc57f
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
2021-05-03 11:53:11 +02:00