Dean Lee
cef469cbed
convert glutil.c to gltuil.cc & add class GLShader ( #19720 )
...
* c++ glutil
* function getUniformLocation
* rebase master
4 years ago
Dean Lee
b3107e153c
Refactor image texture stuff into class ( #19719 )
...
* Refactor image texture stuff into class
* cleanup
* Update selfdrive/common/visionimg.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Willem Melching
92257e4dff
ui.cc: fix driverview ( #19723 )
4 years ago
Dean Lee
ccff893861
ui.cc: cleanup includes ( #19704 )
4 years ago
Dean Lee
595830135b
merge utilpp.h into util.h ( #19710 )
4 years ago
Dean Lee
de309b156d
Refactor alert blinking ( #19583 )
...
* add function get_alert_alpha()
* continue simplify
* reset alpha to 1.0 if blink_rate is 0
* review
* sine wave
* rebase master
* use time
* use cos
4 years ago
Dean Lee
4231b5b329
refactor ui_draw_driver_view ( #19597 )
...
* refactor ui_draw_driver_view
* continue simplify
* fix gap
4 years ago
Willem Melching
fb496c692a
VisionIPC 2.0 ( #19641 )
...
* Squashed vipc
* Update release files
* Remove else
* add visionipc to release files
* use poller in vipc receive
* opencl framework instead of lib on macos
* Fix camera webcam
* Fix opencl on mac in ui
* more webcam fixes
* typo in ui sconsfile
* Use cur_yuv_buf
* visionbuf c++ class
* Camera qcom was still using visionbuf_allocate
* Turn loggerd back on
* fix snapshot
* No build needed
* update test camerad
* no more release callback
* make encoder c++
* Revert "no more release callback"
This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.
* fix exit handlers
* No need to check errno
* move release callback call
* s/VIPCBufExtra/VisionIpcBufExtra/g
* use non blocking connect
* ui use non blocking connect
* Lower condition variable wait time
* Snapshot cleanup
* bump cereal
* bump cereal
4 years ago
Comma Device
b8aa250efb
qt reset and setup improvements
4 years ago
Dean Lee
61cf81502e
sidebar.cc remove prefix for static functions ( #19683 )
4 years ago
ffhspa
dd9d8bba89
remove double semicolon in paint.cc ( #19684 )
4 years ago
Dean Lee
fd4ddb769a
remove double semicolons ( #19681 )
4 years ago
Dean Lee
93cd4eae55
paint.cc car_space_to_full_frame less paramaters ( #19676 )
4 years ago
Willem Melching
37cb4bec63
UI: refactor model related functions ( #19657 )
...
Squashed commit of the following:
commit 7d7fb15e4cdd0e47fa38f949f79581dc611db015
Author: Willem Melching <willem.melching@gmail.com>
Date: Wed Jan 6 11:31:09 2021 +0100
no extern
commit 901893966e
Merge: 9816e01e
d8e864e3
Author: Willem Melching <willem.melching@gmail.com>
Date: Wed Jan 6 11:27:29 2021 +0100
Merge branch 'master' into refactor_model_draw
commit 9816e01e6f
Author: deanlee <deanlee3@gmail.com>
Date: Wed Jan 6 04:02:08 2021 +0000
fix lead_d
commit 6fa500dbce
Author: deanlee <deanlee3@gmail.com>
Date: Tue Jan 5 13:18:20 2021 +0000
populate model data in update_socket
commit e25db7e28c
Author: deanlee <deanlee3@gmail.com>
Date: Tue Jan 5 12:59:13 2021 +0000
update model in function
commit 0834a3ffe7
Author: deanlee <deanlee3@gmail.com>
Date: Tue Jan 5 12:50:21 2021 +0000
continue
commit 95b08679c2
Author: Willem Melching <willem.melching@gmail.com>
Date: Tue Jan 5 13:26:34 2021 +0100
Update selfdrive/ui/paint.cc
commit 0eef065ae4
Author: Dean Lee <deanlee3@gmail.com>
Date: Tue Jan 5 20:11:01 2021 +0800
Update selfdrive/ui/paint.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
commit 955ad9b03a
Author: deanlee <deanlee3@gmail.com>
Date: Thu Dec 31 04:45:31 2020 +0000
refactor model related functions
4 years ago
Willem Melching
d8e864e33d
dont show speed below zero
4 years ago
Dean Lee
d0ba19fedb
fix problem with drawing path ( #19670 )
4 years ago
Dean Lee
86fe2d1697
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
4 years ago
Dean Lee
20918d82b6
cleanup draw alert ( #19655 )
...
* cleanup
* use Rect
* Revert "use Rect"
This reverts commit 96d04339a0
.
* remove None from static map
4 years ago
Dean Lee
30c1164287
refactor ui_draw_image ( #19656 )
4 years ago
Dean Lee
f232f86a73
simplify ui_draw_vision_maxspeed ( #19642 )
...
if is_curise_set
4 years ago
Dean Lee
ba4fb80e92
UI: simplify ui_draw_vision_speed ( #19594 )
...
* simplify draw_vision_speed
* use std::nearbyint
* use std::to_string
4 years ago
Dean Lee
a4afc03a73
UI: reducing CPU usage from 13% to 4% when offroad ( #19575 )
...
* Accurately control the UI frequency
* helper function sleep_for
4 years ago
Dean Lee
37a43124c0
max_idx should be initialized as -1 ( #19625 )
4 years ago
Willem Melching
493937d2d9
round close button
4 years ago
Willem Melching
0cf3da17be
offroad alerts: put back reboot button
4 years ago
Willem Melching
250f285894
Nicer blue/red colors offroad alert button
4 years ago
Dean Lee
0c4e2fadc8
UI:shorten variable name ( #19633 )
4 years ago
Comma Device
3e34b67715
square looks better
4 years ago
Adeeb Shihadeh
0300eb3849
tici: fix backlight timer interval
4 years ago
Dean Lee
39bd8c7ce6
ui_draw_chevron: simplify calc size ( #19616 )
4 years ago
Adeeb Shihadeh
ce48d3c91e
offroad home style ( #19593 )
...
* make drive stats look nicer
* offroad alerts style
* rest of alerts
* move that
* fix up colors
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
b7adecdf59
make wifi settings a bit nicer
4 years ago
Adeeb Shihadeh
550b5e422f
qt settings style ( #19588 )
...
* dark mode
* inter
* frame
* this looks pretty good
* revert that
* fix bg hack
* don't override style sheet
4 years ago
Dean Lee
e3ffa91d17
simpilify ui_read_params ( #19585 )
...
* simpilify ui_read_params
* apply review
4 years ago
Adeeb Shihadeh
1bcc3beae8
spinner: pre-compute rotations
4 years ago
Dean Lee
e032c31069
improved handle_display_state ( #19574 )
4 years ago
Dean Lee
81369a65bb
don't check dMonitorState's frame if frontview is false ( #19584 )
4 years ago
Mayfield
5864f566df
add start_time parameter to unlogger ( #19573 )
...
* add start_time parameter to unlogger
* fix ui crash
* fix ui build
4 years ago
Dean Lee
c1cde2d148
UI: add function ui_read_params ( #19565 )
...
* ui_read_params
* remove last_athena_ping from UIState
* use s->sm->frame
4 years ago
Dean Lee
a56bbe1671
Sound: destructor should be virtual too ( #19570 )
...
* destructor should be virtual too
* empty commit, trigger tests
4 years ago
Dean Lee
ff0d9c074f
ui: delete the variable do_exit that is no longer used ( #19551 )
4 years ago
Adeeb Shihadeh
c0b1518a9b
Qt settings: highlight selected nav button
4 years ago
Adeeb Shihadeh
3c00e6792c
build nui with scons ( #19561 )
...
* it builds
* cleanup
* remove that
4 years ago
Adeeb Shihadeh
d5deaf2e6b
make onboarding a bit nicer
4 years ago
Adeeb Shihadeh
8d9be50bcc
uninstall from qt offroad ( #19538 )
...
* more offroad
* implement uninstall
* just uninstall for now
4 years ago
Adeeb Shihadeh
069189fd7f
build Qt UI with clazy ( #19537 )
...
* clazy, level0
* level1
4 years ago
Adeeb Shihadeh
a36632cc39
offroad home styling and cleanup
4 years ago
grekiki
5b26c97141
Qt Offroad stats ( #19498 )
...
* probably broke a lot, need the commit though
* finally works
* make it work...
* ...
* kind of works
* better styling
* all should work
* tiny cleanup
* temp
* looks nicer
* create JWT in C++
* kilometers -> km
* use correct free methods
* dont put code in assert statement
* Build JWT payload dynamically
* get dongle id once
* include cleanup
* Remove qDebug
* Update drive_stats.cc
Github is a nice editor :)
* swap week and all and fix sconscript
* install openssl
* openssl include dirs on mac
* is this where openssl is?
* It's here
* small cleanup
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Comma Device
717e49019f
increase controls alert timeout
4 years ago
Comma Device
1ea307a299
factory reset -> system reset
4 years ago