Dean Lee
7c6b409b1d
cleanup ui_draw_vision_event ( #20386 )
...
old-commit-hash: 00dcc94ae6
4 years ago
Dean Lee
1b4a583e89
paint.cc: fix indentation & code style ( #20302 )
...
old-commit-hash: 4e9e751ba5
4 years ago
Dean Lee
0818f7166d
UI: Move the variables need to be updated by socket to UIScene ( #19783 )
...
* move variables into UIScene
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* fix build error
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dd603a89f6
4 years ago
Dean Lee
2c8696ddac
move function calib_frame_to_full_frame to ui.cc ( #20230 )
...
* move calib_frame_to_full_frame to ui.cc
* cleaup includes
old-commit-hash: a1b2bdb844
4 years ago
Dean Lee
5e19cdb0d3
move intrinsic_matrix into modeldata.h, removed duplicate definitions. ( #20051 )
...
* move intrinsic_matrix into modeldata.h
* def __cplusplus
old-commit-hash: ae72d34a42
4 years ago
Dean Lee
4fd0fe80f0
UI: rename frontview to driver_view ( #20228 )
...
old-commit-hash: 8db3eea6c5
4 years ago
ZwX1616
f8966cecae
tici driverview support ( #20223 )
...
* add tici support and clean up
* not exactly 4/3
* keep c2 style
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2a9e775bb9
4 years ago
HaraldSchafer
8bb63abe4f
fixup ui ( #20049 )
...
* fixup ui
* works
* new formate
* more cleanup
* works I assume we need a library somehow
* more readable
* fix lead sign
* put on road
* transformations lib
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ab0456c0eb
4 years ago
Dean Lee
99f19b5da6
UI: remove struct track_vertices_data ( #20018 )
...
* remove struct track_vertices_data
* space
* rebase master
old-commit-hash: c2aefab553
4 years ago
Dean Lee
766302fabe
removed margin paramater from car_space_to_full_frame ( #20017 )
...
old-commit-hash: 40919a6f48
4 years ago
Dean Lee
dc406c1b16
move global SET_SPEED_NA to function that uses it ( #20026 )
...
old-commit-hash: a7fe4560a6
4 years ago
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
4 years ago
Dean Lee
58cf6b8a80
UI: mv sidebar_collapsed&viz_rect to struct UIState ( #19782 )
...
* mv sidebar_collapsed&viz_rect to struct UIState
* rebase master
* rebase master
* rebase master
* revert that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c22d6e315d
4 years ago
Comma Device
a2f322de6e
match driverView with new model
...
old-commit-hash: 75d0802804
4 years ago
Dean Lee
34952f246e
draw lead indicator in 3D ( #19793 )
...
* lead indicator in 3D
* more
* Update selfdrive/ui/ui.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 6bd9e5ca6a
4 years ago
Dean Lee
32dfaa9b2a
UI: cleanup draw_alerts condition ( #19875 )
...
old-commit-hash: 8b4731ffc8
4 years ago
ZwX1616
d0726d1f7d
face icon reflects DM policy ( #19842 )
...
* send that
* draw icon based on whether active
* Update selfdrive/monitoring/dmonitoringd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 88430f12f4
4 years ago
Dean Lee
f0fce01b85
use std::map for images ( #19768 )
...
* use std::map for fonts&images
* rebase master
* use std::string
* remove cmp_str
* Update selfdrive/ui/paint.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1796f63211
4 years ago
Dean Lee
3c9142a709
UI: refactor transform ( #19658 )
...
* refactor transform
* always draw chevron if there is a lead
* remove nvgSave&nvgRestore
* keep one point outside the screen
* zoom chevron
* more size
* still use margin
* still use margin
old-commit-hash: cc2d62a938
4 years ago
Dean Lee
a6e3036aea
Use Rect as the parameter of draw_rect ( #19696 )
...
* Use rect as the parameter of draw_rect
* add function ui_fill_rect
* simplify
* rebase master
* apply review
old-commit-hash: fcfba42c59
4 years ago
Adeeb Shihadeh
781accd0b3
fix camera malfunction alert ( #19757 )
...
* fix camera alert malfunction
* remove old alert
old-commit-hash: 40830a216b
4 years ago
Dean Lee
74dc639515
convert glutil.c to gltuil.cc & add class GLShader ( #19720 )
...
* c++ glutil
* function getUniformLocation
* rebase master
old-commit-hash: cef469cbed
4 years ago
Dean Lee
4b15f8a12d
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>
old-commit-hash: b3107e153c
4 years ago
Dean Lee
38443793da
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
old-commit-hash: de309b156d
4 years ago
Dean Lee
e8936467f5
refactor ui_draw_driver_view ( #19597 )
...
* refactor ui_draw_driver_view
* continue simplify
* fix gap
old-commit-hash: 4231b5b329
4 years ago
Willem Melching
3f950832b9
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
old-commit-hash: fb496c692a
4 years ago
ffhspa
4ef1b8910f
remove double semicolon in paint.cc ( #19684 )
...
old-commit-hash: dd9d8bba89
4 years ago
Dean Lee
af4b8bb307
paint.cc car_space_to_full_frame less paramaters ( #19676 )
...
old-commit-hash: 93cd4eae55
4 years ago
Willem Melching
1cc43f8d7d
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
c0703a57
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
old-commit-hash: 37cb4bec63
4 years ago
Willem Melching
b56d44bbd2
dont show speed below zero
...
old-commit-hash: d8e864e33d
4 years ago
Dean Lee
ff7d537c96
fix problem with drawing path ( #19670 )
...
old-commit-hash: d0ba19fedb
4 years ago
Dean Lee
4765ba9478
cleanup draw alert ( #19655 )
...
* cleanup
* use Rect
* Revert "use Rect"
This reverts commit 96d04339a0
.
* remove None from static map
old-commit-hash: 20918d82b6
4 years ago
Dean Lee
041db30454
refactor ui_draw_image ( #19656 )
...
old-commit-hash: 30c1164287
4 years ago
Dean Lee
9864456618
simplify ui_draw_vision_maxspeed ( #19642 )
...
if is_curise_set
old-commit-hash: f232f86a73
4 years ago
Dean Lee
9d0efaaccf
UI: simplify ui_draw_vision_speed ( #19594 )
...
* simplify draw_vision_speed
* use std::nearbyint
* use std::to_string
old-commit-hash: ba4fb80e92
4 years ago
Dean Lee
23a52deb5b
max_idx should be initialized as -1 ( #19625 )
...
old-commit-hash: 37a43124c0
4 years ago
Dean Lee
0ac1e659da
UI:shorten variable name ( #19633 )
...
old-commit-hash: 0c4e2fadc8
4 years ago
Dean Lee
e1723d7238
ui_draw_chevron: simplify calc size ( #19616 )
...
old-commit-hash: 39bd8c7ce6
4 years ago
Mayfield
93d23902da
add start_time parameter to unlogger ( #19573 )
...
* add start_time parameter to unlogger
* fix ui crash
* fix ui build
old-commit-hash: 5864f566df
4 years ago
Adeeb Shihadeh
99b06dd837
offroad home styling and cleanup
...
old-commit-hash: a36632cc39
4 years ago
Dean Lee
b81e9d63ae
cleanup camera malfunction alert ( #2751 )
...
* cleanup alert
* move ui_draw_vision_alert out of ui_draw_vision
old-commit-hash: 1ee8287705
4 years ago
Willem Melching
69a8855010
paint.cc: lower y offset
...
old-commit-hash: 93cc7335fc
4 years ago
Willem Melching
79275c08e1
add optional margin to car_space_to_full_frame check
...
old-commit-hash: 11fb6efba2
4 years ago
Willem Melching
2edf720d53
paint.cc: fix y offset
...
old-commit-hash: bbc289b671
4 years ago
Dean Lee
e89e1a185c
small cleanup ( #2715 )
...
old-commit-hash: 232cb25683
4 years ago
grekiki
2e07e45bed
UI style improvements with improved keyboard ( #2710 )
...
* fix spaces and make spacebar dynamically sized
* some spaces and a comment
* more spaces
* const
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3e466aa528
4 years ago
Willem Melching
95e839d6c8
set y offset to zero for now
...
old-commit-hash: fcb3ed727b
4 years ago
Willem Melching
995950c77b
Add y offset to video ( #2694 )
...
* add y offset to video
* Also reduce zoom
old-commit-hash: 35baefa72e
4 years ago
George Hotz
b3e7154ab1
remove ui sidebar hint ( #2662 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6159906e5f
4 years ago
Adeeb Shihadeh
c6b35839d6
no gl inside nvg frame
...
old-commit-hash: b9c14c92a7
5 years ago