Adeeb Shihadeh
e38b93fc31
athena: remove redirect detection for old prime ( #24662 )
...
This worked on old magenta, but doesn't work on new magenta
or blue prime.
3 years ago
Shane Smiskol
c10a2ef2e4
UI: draw camera on same frame from modelV2 ( #24335 )
...
* draw camera on same frame from modelV2
* fix reversing
* optimze
* sleep shorter
* heavy debugging
* clean up
* fix ui hang
* try this
* more generic implementation
* add unused flag back
* draw latest frames when camerad is coming up with no modeld
* only get modelV2 once
* fix drawing
* conflate, reduce buffer, and remove special case when starting
* make tests pass
* remove comments
* frame_id is a uint32_t
* not sure why passing to cameraview causes overflow
* ternary, not too complicated
* change to size
* rename to frame
* use unique_ptr
* Revert "use unique_ptr"
This reverts commit 955842d951
.
* Assert buffer size
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* use one deque with pairs and uint32_t
* formatting
* frame offset
* Revert "frame offset"
This reverts commit a2cff8a2d5
.
* use array
* add prints
* Revert "add prints"
This reverts commit d6978746e5
.
* clean up
* this handles all cases
* we want to clip
* fixes going backwards when replay or modeld lags multiple frames, then skips multiple frames
fixes going backwards when replay or modeld lags multiple frames, then skips multiple frames
* fix rare case where camera is behind model
simpler comment
* draw latest frames if we start with no model, then hang on current frame until model catches up
fix
* store if it's updated
* accurate comment
* reset to latest on connect and showevent
* better order
* use quint32 for sending signal function
* use empty
* draft
* kinda works
* works
* one line
* debug
* clean up
* revert this
* to preserve behavior, think we need to poll these
* revert
* no timeout when modeld is not alive
* Update selfdrive/ui/qt/onroad.cc
* changes from other PR
* see if we're drawing dup model or camera frames
* looks good, just need to clean up
* debug
* clean up
* clean up
* revert these changes
* fix
* pretty simple, test on device
* clean up
* revert this
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
ab7c653cc5
define new prime types
3 years ago
Adeeb Shihadeh
cb8885cffb
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
3 years ago
Willem Melching
aac7248a01
ui: fix cameraview widget on MacOS after YUV changes ( #24506 )
3 years ago
Adeeb Shihadeh
2466233b1c
body: opt-out logging ( #24423 )
...
* body: opt-out logging
* wait a bit
* little better
* fix that too
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
e8892481ab
ui: fix HUD drawing order ( #24419 )
3 years ago
Willem Melching
3fc01ec15a
cameraview.cc: set alignment to 1 when copying texture ( #24418 )
3 years ago
Willem Melching
9307fe434c
map.cc: fix crash on older route with missing liveLocationKalman values
3 years ago
Adeeb Shihadeh
670126cbf1
body: opt-in logging ( #24416 )
3 years ago
Adeeb Shihadeh
043a309d67
ui: new notcar battery design ( #24412 )
...
* ui: new notcar battery design
* if charging
* cleanup
* remove that
* slower
* real colors
* relative from left
* fix that
3 years ago
Adeeb Shihadeh
061b18805e
UI: add battery percent to body ( #24401 )
...
* UI: add battery percent to body
* little smaller
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Joost Wooning
7ac92938d2
UI: remove unused lock and fence ( #24355 )
3 years ago
Willem Melching
a3cfa444d3
ui: combine OnroadHud into NvgWindow ( #24369 )
...
* ui: combine OnroadHUD and NVGWindow
* draw hud first
* cleanup
* removed commented line
* fix text rendering
* increase cpu usage
3 years ago
Willem Melching
bff0db566b
ui: only open map pane when route is not empty ( #24352 )
3 years ago
Adeeb Shihadeh
de56544531
Revert "onroad UI: show negative speed ( #23987 )"
...
This reverts commit 62087a6368
.
3 years ago
Joost Wooning
f84fdc86bb
UI: remove memcpy on frame receive ( #24318 )
...
* UI: remove frame memcpy
* fix freezing
* fix onroad test
3 years ago
Joost Wooning
43f43b1c64
UI: use YUV stream instead of RGB ( #24317 )
...
* UI: use YUV stream instead of RGB
* cleanup
* cleanup
3 years ago
Adeeb Shihadeh
13e1c0b339
Revert "UI: remove RGB buffer usage ( #24298 )"
...
This reverts commit b9907e86b2
.
3 years ago
Joost Wooning
b9907e86b2
UI: remove RGB buffer usage ( #24298 )
...
* ui: use yuv buffer
* cleanup
* fix watch3
* replay always send yuv
* fix drawing of path
* fix onroad test
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Shane Smiskol
fdeb590ae6
ui: adjust laneless design ( #24246 )
...
* tune design
* adjust
* adjust
* fix and compromise!
* fix sl
3 years ago
Shane Smiskol
998cd7fa20
UI: new laneless design ( #24169 )
...
* stash
* Revert "stash"
This reverts commit f0019010e28ffb6d70b3c84666572f30c22077c9.
* new laneless ui
* clean up
* always draw lane lines
* no compensation
* make sure it's long enough
* debug time
* tune design
* tune design 2
* correct scaling with new updated curve hue
* debug time
* full test
* revert test
* move yellow back a bit
3 years ago
Adeeb Shihadeh
639255bd10
UI: double click to switch between body and onroad views ( #24214 )
...
* UI: double click to switch between body and onroad views
* fix that
* Update selfdrive/ui/qt/home.cc
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Brett Sanderson
61d987f630
UI: improved disengage on gas toggle description ( #24132 )
...
* Update settings.cc
Should be depressed as standard in automotive industry.
Pressed implies state change from down -> up, depressed means the state is down
* Update selfdrive/ui/qt/offroad/settings.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Shane Smiskol
f1f40c117a
Add Disengage on Accelerator Toggle ( #23977 )
...
* Squashed commit of the following:
commit 953bcf0ecf8d03f0fec9ce0d5442cc660ae2347d
Merge: b4198608d 333257bad
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:58:06 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit b4198608dac9595bfeb9443f95cd6c5d385cd62d
Merge: 24f90b2c8 0b9790dd2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 14:32:54 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 24f90b2c8d6ae509c0776b6e33b743467aa08dee
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 14:07:52 2022 -0700
revert changes and get ready for override
commit aa514df6b5e8431f0faa07f6b25eb5cb6c9f2749
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 20:52:24 2022 -0700
temporary
commit c874e10c2555968c683f629c4582ab22e51d431f
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:30:13 2022 -0700
move gasPressed to controlsd
commit fe670439dff5bc6dfc5963d79ca2febe0c5920c7
Merge: 49d3b6d11 81862fce7
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:15:48 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49d3b6d1162893fa94b2294152f0718eeb4698ed
Merge: 475b27e74 d60c44e03
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 13:06:08 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 475b27e74fd6479f1d148e9ded1eca6ee476865c
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 20:24:59 2022 -0700
update SAFETY.md
commit 0798eadb82749e12ecbaa86f4e57b21bd3dbc7e8
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 17:52:06 2022 -0700
⛽ ➡️ 🔋
bump
commit d2b64b89cf8d7265bc90848b4e3a2276c9a4cb78
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:19:34 2022 -0700
these changes will be in border PR
these changes will be border PR
commit bed31e63de2244c161729773978fef8a9246ddb5
Merge: 491417640 e91613bc6
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:17:31 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49141764098e3a701ff123ead52de4656b31db4d
Merge: 9291e9f00 c88ced1f1
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 19:00:26 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 9291e9f0045780669b2ffa7f08fb10373c03b070
Merge: 2aed64157 99c02bdd2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:13 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 2aed64157d6e9dc993d103a2c6abf7e643410562
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:03 2022 -0700
Revert "send pre-enable state when gas is pressed"
This reverts commit 8d82e697dc2efade307413e767d14b56b4d2d079.
commit a219defe5342efa731a957b2ff4fd86292c1f239
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 17 12:50:46 2022 -0700
bump cereal
commit 8d82e697dc2efade307413e767d14b56b4d2d079
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:40:13 2022 -0700
send pre-enable state when gas is pressed
formatting and it's out
forgot one
allow gas press
show toggle
revert changes
revert changes
commit 5eb4d1ab1b77ac65bdd901f692ebfb848d5187ca
Merge: bad1bdc74 db7b49c71
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:29:43 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit bad1bdc7428c5d8a4a765b259da504f0ade84424
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 23:03:56 2022 -0700
clean up a bit
commit 7516ed9b786536a07f00a92b9c1742ca252a01d1
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:55:09 2022 -0700
these are null checks right now
commit 408f5f1d633521b29b08d966c9b387fa79dff0d6
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:51:14 2022 -0700
should work
commit be1978e29c03d8843cf073cc9ddf84020fd2b378
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:36:16 2022 -0700
stash
commit f0bd4c47e9d27061c6cd3b88765a7c10995f42db
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:26:24 2022 -0700
this was flipped
commit d5b6e30389a727e8559331acd706422e1b246f60
Merge: 820b19894
5fe00fb77
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:25:49 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 820b198949
Merge: 91763f9ff
d7c758d4b
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 14 23:39:34 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 91763f9ff4
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:15:26 2022 -0800
add icon from jozef 🔥
commit 1885c9e2ba
Merge: 1f591736a
9c70e8bca
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:08:07 2022 -0800
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 1f591736a2
Merge: 465811f0b
7410160d0
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Sat Feb 12 10:24:29 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 465811f0b4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:20:32 2022 -0500
Add param to process replay
commit 0344363a53
Merge: 700efcb3f
3e915cf62
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Fri Feb 11 11:07:31 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 700efcb3f4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:04:39 2022 -0500
Add param to unsafeMode
commit 220ce272fe
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:54:16 2022 -0500
Add param to unsafeMode
commit d273bb78ac
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:52:22 2022 -0500
Resolve conflicts
commit 1a85afd60c
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:50 2022 -0500
Resolve conflicts
commit e3be32afc2
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:08 2022 -0500
Resolve conflicts
commit f27203af3a
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Wed Jan 19 00:30:09 2022 -0500
Add param to process replay
commit 04c0ad1a54
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Wed Jan 19 00:28:49 2022 -0500
Update interfaces.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
commit 99cf13caeb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Sat Jan 15 00:03:38 2022 -0500
Fix missing params lib
commit 2230254ca7
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:38:46 2022 -0500
Disengage on gas toggle
commit 87475e02cb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:24:00 2022 -0500
Disengage on gas toggle
* bump
* use ALTERNATIVE_EXPERIENCE
* or it
* de-bump
* update refs
* update refs!
* you can just ctrl+click ALTERNATIVE_EXPERIENCE!
* already have a params
* update text
3 years ago
Adeeb Shihadeh
e40c36f22b
better support non-car robots ( #24106 )
...
* better support non-car robots
* bump cereal
* update refs
3 years ago
Adeeb Shihadeh
b51deb97d1
UI: body support ( #24079 )
...
* body ui template
* faces
* abs
* not raw
* auto switch
* check that
* no smoosh
* cmath
3 years ago
George Hotz
f3d390bdfa
sidebar: the word SEARCHING didn't fit
3 years ago
Willem Melching
34a8a5ea76
api.cc: expose error type in requestDone signal ( #24064 )
...
* put error in requestDone
* only check in tools
3 years ago
Shane Smiskol
405ecbced3
Training guide updates ( #24033 )
...
* add new images
* update boxes
* copy updates and fix checkmark spacing
* update wide images and boxes
* tune path and smaller triangle
* tune bounding boxes
* clean up
* same triangle as c3
* revert panda
* optimize images
* Revert "revert panda"
This reverts commit f66aac85a0
.
* add comment
* add new step18
* final fixes
* pixel perfect
3 years ago
Adeeb Shihadeh
67e3a2c39a
UI: better lag logging ( #24042 )
...
* UI: better lag logging
* remove print
3 years ago
Shane Smiskol
4802c864d5
ui: repaint toggles after offroadTransition ( #24038 )
...
* repaint after offroadTransition
* Update selfdrive/ui/qt/widgets/controls.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Igor Biletskyy
62087a6368
onroad UI: show negative speed ( #23987 )
...
* show negative speed
* remove ()
3 years ago
Gijs Koning
57b6fdc17a
Rename RGB vision streams to match YUV streams ( #23961 )
...
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Lee Jong Mun
0b47800e74
ui: white color define ( #23930 )
3 years ago
royjr
82bc052dc6
UI: remove redundant condition ( #23918 )
3 years ago
Willem Melching
ca8d4e417e
MacOS: ensure 1:1 rendering on HiDPI screens ( #23860 )
3 years ago
Adeeb Shihadeh
95da470795
same check
3 years ago
Adeeb Shihadeh
00d469dbc9
UI: fix power buttons disable logic ( #23774 )
3 years ago
Willem Melching
f8c81103fc
nav: set settings stack based on uiState.prime_type ( #23770 )
...
* nav: set settings stack based on uiState.prime_type
* also show on success
3 years ago
Willem Melching
14f7a78251
nav: handle route responses with duplicate points ( #23769 )
3 years ago
Willem Melching
e76ef93a83
ui: fix onroad transition with active nav ( #23757 )
3 years ago
Lee Jong Mun
ab9fb0541d
missing optional include ( #23749 )
3 years ago
Willem Melching
4e4cb07297
ui: configure tethering based on prime type ( #23733 )
...
* Store prime type in param
* set tethering metric based on prime type
* update existing connections
* returning zero is fine
* always set
* add callback on activate
* call systemctl
* match server enum
* add delay
* assume field is there
* snake case
3 years ago
Dean Lee
786152f0f1
remove trailing whitespaces ( #23716 )
3 years ago
Dean Lee
4e0c08c0a6
WifiManager: fix crash if no wifi device found ( #23701 )
3 years ago
Jason Wen
4715510e91
UI: hide power off button on C3 while onroad ( #23689 )
...
* Grey out power button while onroad - comma three only
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
e6d8a84578
for those who want to live in the moment
3 years ago
Adeeb Shihadeh
e9cd0a059c
setup: add OS version to user agent ( #23656 )
3 years ago