HaraldSchafer
08ad733229
Remove laneless toggle ( #24738 )
...
* Remove laneless toggle
* Update refs
old-commit-hash: 7f16e19f79
3 years ago
Willem Melching
753045c73d
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: f49a9c9fd2
3 years ago
Gijs Koning
6a53db981b
Simulator: Speed up process by removing second camera ( #24679 )
...
* simulator: support running wide camera only
* proper frame id
* use param name that makes more sense
* do some cleanup
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b5aed2bf67
3 years ago
Shane Smiskol
a11084a6c6
UI: draw map with uiUpdate signal ( #24632 )
...
* draw map with same uiUpdate signal as onroad window
* fix
* fix
* fix
* test
* test
* clean up
* clean up
* clean up
* draw instantly when dragging
* self explanatory
* remove line
* fix spacing
* see if we call ui'c sm->update before mapwindow
* Revert "see if we call ui'c sm->update before mapwindow"
This reverts commit e5dcd70013
.
* sort includes
old-commit-hash: fb4b4773a5
3 years ago
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb
3 years ago
Adeeb Shihadeh
5e42de3e36
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>
old-commit-hash: 2466233b1c
3 years ago
Willem Melching
c1091a67cd
ui: Fix path artefact when going over hill ( #24285 )
...
old-commit-hash: 38300474bb
3 years ago
Shane Smiskol
8d6ab099dc
ui: adjust e2e path width
...
old-commit-hash: 492489e55c
3 years ago
George Hotz
440e82e106
ui: make the path double wide for e2e
...
old-commit-hash: 273831aa14
3 years ago
Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
3 years ago
Willem Melching
410557490f
camera_qcom2: target 40ms acquisition time, use register wizard ( #24093 )
...
* register values from wizard
* target 25fps to leave some room for timing jitter
* update max lines in ui
old-commit-hash: 67d6847039
3 years ago
Shane Smiskol
20d823d18a
controlsState: add override state with grey border ( #24030 )
...
* Squashed commit of the following:
commit f0cf822666fb8f78a486d721fe474e8f37da6970
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Apr 4 17:24:00 2022 -0700
clean up
commit 4364bdb79b1b055daa7542267eb3f37740723fd4
Merge: d448664cf e85f82af3
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Apr 4 17:21:41 2022 -0700
Merge remote-tracking branch 'upstream/master' into override-alert-type
commit d448664cfdacbdfd3c99f8e12d96f2ba7b24abb5
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Apr 4 17:20:44 2022 -0700
revert tests changes
commit 40ab8c2d912ccbeb12286ca272e3737656388ac8
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:03:39 2022 -0700
sort
commit 5abd4448b420e91eda57e3c4edb6794893dab42f
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:02:59 2022 -0700
bump cereal
commit fcffc42082b1460676554924461c63c881c31501
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:02:25 2022 -0700
pass in CI
commit f47dd63bc597e18c05d2d9365eb996c13ec70c17
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 12:06:00 2022 -0700
update refs
commit f1c54e16ccfa37f770b422ad77e2fc940f8ea7f2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 11:51:04 2022 -0700
move to tuple
commit bebafc6ed223a67e59daa7c2105f8cb28c4f9c5f
Merge: b0578dc54 0e983562d
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 11:45:19 2022 -0700
Merge remote-tracking branch 'upstream/master' into override-alert-type
commit b0578dc54f9d943e0ab2182b0b79d076129468a7
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 11:44:37 2022 -0700
make global variables of states in controlsd
make global variables of states in controlsd
commit 32b7e293e88f001ef44c9197dfc68b7240ae129e
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 23:41:41 2022 -0700
test individual event types
fix
commit 1fbf66fc8ba7e5a0a25d34a1f30a2cb3ccb86a02
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 23:03:09 2022 -0700
clean up
test state machine
test state machine
commit 33856bef69b1c2e637e58032b1358f275a6cd6bb
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 22:59:05 2022 -0700
clean up
commit d64cd664980edd6cff0038379a5c3965409ebda0
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 22:40:25 2022 -0700
test few more things
commit 72a3e57a9a8813b348a8ae9648e283983f7ba56b
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 22:17:22 2022 -0700
default transitions
commit ce0051fde8296dab6417d9ef175fdf039d09a8f3
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 22:05:21 2022 -0700
remove
commit 56de4f8a87e9b96dd99739772da1dddaa873ceb1
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 22:05:15 2022 -0700
this way we can test any combo of event types
commit bdfd47738e5a3c0e22817047cc2d804ca0fe2785
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 21:36:33 2022 -0700
add some state machine tests
commit 81a72d1773b204cc984fb0631ac30fb00555962d
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 17:43:03 2022 -0700
update refs
commit 00018708714b156c29f963011a6193fa9028b308
Merge: fa97ffa67 fa934d846
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 17:31:51 2022 -0700
Merge remote-tracking branch 'upstream/master' into override-alert-type
commit fa97ffa67eec1556b2b255ee68bdf46fc101596e
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 17:30:23 2022 -0700
revert todo
commit b0dcd49b0b0254a4754ddc5ea61618246686327d
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:07:11 2022 -0700
move back
commit ef12853ceed8c8aa37b16af406e510d172269226
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 29 23:09:05 2022 -0700
bump cereal
commit 2658f557e2fac79563b74385b8676a659f31f7dc
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 20:54:48 2022 -0700
fix
commit ed2db85acd34cd78017c6bae0db5df3356c2c19c
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 20:47:18 2022 -0700
add alert to pass unit tests
commit dc970f55f5f69ecbca7095099bd50ff21ba02610
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 20:26:18 2022 -0700
bump
commit e9a3c73d61590120cc5e5c16a3d1a0bbbd51e19d
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 20:25:33 2022 -0700
normal
commit 4ecfbf18d5e6436f9be6bd3b1c4ea3bca8c1a572
Merge: 47e0ad3cb 02b968ed9
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 20:14:08 2022 -0700
Merge remote-tracking branch 'upstream/master' into override-alert-type
commit 47e0ad3cbe4fee81b7a6e4c284973c25b144ddf7
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 10:50:34 2022 -0700
only rename
commit 8c46435630c1bfba5c5b911bc1d3c8d4b24c9fdd
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 10:49:26 2022 -0700
bump cereal
commit eb48440843d6a4b09e1f34d8eb2ed4c7f7a8274c
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 10:29:49 2022 -0700
fix
commit 231afe3e6f211e866216a557f2ec2787760d2607
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 23:57:40 2022 -0700
clean up
commit 7a3f49db1bdb58c8ef59a9376306ef1157ba2e57
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 23:57:10 2022 -0700
fix logic
commit eab4f8b46e6c22033ac4ae433b6ba94e6a4ff322
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 21:05:05 2022 -0700
clean up
commit 51e189a27268364e051c6d9231ae6f181ec7f95b
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 20:51:23 2022 -0700
override state testing
* clean up
old-commit-hash: 2624b4cb27
3 years ago
Shane Smiskol
5f4ac6cb96
ui: grey border and alert when pre-enabling ( #24057 )
...
* make border and alert grey when overriding
revert cereal
* no state machine changes
* typo
old-commit-hash: 8e34ddc70e
3 years ago
Willem Melching
5d55924fac
ui: fix onroad transition with active nav ( #23757 )
...
old-commit-hash: e76ef93a83
3 years ago
Willem Melching
8e2c273be8
fix UI segfault when starting onroad and receiving radarState before modelV2 ( #23739 )
...
old-commit-hash: 955c7435f8
3 years ago
Willem Melching
30a0b40b5d
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
old-commit-hash: 4e4cb07297
3 years ago
Kevin Robert Keegan
6d8a141938
Use Wide Road Camera as Light Sensor for Screen Brightness ( #23610 )
...
Using the narrow camera as a light sensor meant that the
reflection of our own headlights, tail lights, and head lights
of opposing vehicles dominated the sensor value at night
even though the broader overall scene is very dark.
This has very little effect during daylight hours. The change
affects nightime driving the most, resulting in a dimmer
screen when it is dark.
I think this makes more sense as the wide angle camera's
field of view is much closer to the human eye's field of
view than the narrow road camera.
old-commit-hash: 347583d423
3 years ago
Dean Lee
07d1094f84
ui: fix invalid line vertices on startup ( #23541 )
...
old-commit-hash: 6bd0e4b087
3 years ago
Willem Melching
016b5e1d01
Revert "ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )"
...
This reverts commit 939898a2cd498dc7f30b0d56782abd3e03108ff7.
old-commit-hash: c4b36ce11e
3 years ago
Dean Lee
336d37e95c
UI: run set_brightness in QtConcurrent ( #23326 )
...
* use QFuture
* update at 10 hz
* don't change frequency
old-commit-hash: cd9813ab6a
3 years ago
Dean Lee
b756c89d38
ui/get_path_length_idx: line_x[i] shoud be less than or equal to path_height ( #23336 )
...
* start loop index from 1
* use islessequal
* use build in <=
old-commit-hash: 9295066dac
3 years ago
Dean Lee
36b506c880
ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )
...
old-commit-hash: f561d84c62
3 years ago
Dean Lee
2701743349
ui: emit offroadTransition in UIState::updateStatus ( #23265 )
...
old-commit-hash: 21ee6d25c7
3 years ago
Dean Lee
64ba111cbb
ui: update lead's z position if modelV2 has been updated after startup. ( #23355 )
...
* model frame >= started_frame
* remove optional
old-commit-hash: 2a99bc6dde
3 years ago
Dean Lee
9321e1bb6c
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
...
old-commit-hash: e4de82f906
3 years ago
Dean Lee
1fc1819c2b
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
old-commit-hash: 2483fc5d5d
3 years ago
Dean Lee
c031c1a8d4
UI: add timeout to close settings window while onroad ( #22980 )
...
* refactor updateWakefulness
* don't hide sidebar
* rename reset->reset_timeout
* move related variables and functions into class Device
* reset timeout in ctor
* set timeout to 10s if ignition is on
* cleanup
* remove unused QTimer *timer
* check getTimestamp
* keep socket reading in update_state
* keep filtering
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c5dbee4e58
3 years ago
Adeeb Shihadeh
2063ff2d71
UI: remove burn in prevention ( #23173 )
...
old-commit-hash: 755ec71c05
3 years ago
Dean Lee
88ebf835bb
UI: move rest of NVG to Qt ( #23133 )
...
* move ui_draw_world to qt
* draw world if world_objects_visible is true
* cleanup
* cleanup includes
* continue
* cleanup
* cleanup
* enable multisampling on all devices
old-commit-hash: 20f571db3c
3 years ago
Dean Lee
53c7684956
OnroadHud: update engageability and DM icons at 2Hz ( #23134 )
...
old-commit-hash: 5ab6bff670
3 years ago
sshane
51081766f3
ui: draw all radard leads ( #22901 )
...
* draw leads detected from radar since it has a low speed override
* comment
* fill lead_verticies
* fix
* Revert changes
Revert "fix"
This reverts commit 7a478c435a0913e09512801309cf52654f3e17ac.
Revert "fill lead_verticies"
This reverts commit 5cdf265bb98480413a4a83c093b3e00489ba2f94.
Revert "comment"
This reverts commit 24a8a3fc2beef263909810d828d4e4fb5ea576e8.
Revert "draw leads detected from radar since it has a low speed override"
This reverts commit 4679fa5d16c7e961def9aaa52e92fb7d994a830d.
* Revert "Draw model leads (#21864 )"
This commit reverts f1003b8c85f73d9fbecd0b83bc9a6de6f46ea0c0
old-commit-hash: fa55dbe983
3 years ago
Dean Lee
fb0a97b972
ui: replace nvg transfrom with QTransform ( #21968 )
...
old-commit-hash: c35ae99927
3 years ago
Dean Lee
84097b29df
watchdog_kick: non-allocating ( #22892 )
...
* non-allocating
* unpack
* call kick every second
* cleanup include
old-commit-hash: ca88a8769b
3 years ago
Dean Lee
dce66df5ef
ui: update params on the show event ( #22927 )
...
old-commit-hash: 9062085043
3 years ago
HaraldSchafer
95d63ee981
tici: limit brightness with display uptime ( #22918 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c9218a55f3
3 years ago
Dean Lee
13b3a3583d
ui: only check sensorEvents when offroad ( #22893 )
...
old-commit-hash: 96e6c343e2
4 years ago
Willem Melching
d6c860cb0a
cache prime status in param ( #22850 )
...
old-commit-hash: 6ace88a0f1
4 years ago
eFini
ad64b505fe
ui.cc: fix Hardware::TICI() check for screen brightness ( #22847 )
...
old-commit-hash: 1f106e3725
4 years ago
Robbe Derks
58c99158a1
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
old-commit-hash: 91987f38d4
4 years ago
Willem Melching
a16e2fba2a
ui: only update ignition when panda is connected ( #22425 )
...
old-commit-hash: 009e37e797
4 years ago
Adeeb Shihadeh
757e768d9f
UI: show steering wheel icon while engaged or engageable
...
old-commit-hash: 78b97eaa36
4 years ago
Dean Lee
f4d8621be1
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>
old-commit-hash: a034926264
4 years ago
Willem Melching
b05eb4cac6
C3: increase brightness at night a little
...
old-commit-hash: 01e779ef2d
4 years ago
Mitchell Goff
b7b87efed9
Retuned desire model ( #21919 )
...
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950
* Updated process replay refs
* Updated model replay ref
old-commit-hash: 05b37552f3
4 years ago
Willem Melching
e6847fc2af
Improve perceived display brightness ( #21884 )
...
* tweak light sensor function
* CIE 1931 compensation
* before filter
* C3 scaling
* C2 is also linear
* whitespace
* scaling and min brightness
old-commit-hash: 358cdaaefd
4 years ago
Harald Schafer
6695eaacd9
better name
...
old-commit-hash: 543a0c509d
4 years ago
Dean Lee
0a445b571a
fix lead2 not updated ( #21895 )
...
old-commit-hash: 339aa5e3f9
4 years ago
HaraldSchafer
331eb5d553
Draw model leads ( #21864 )
...
* draw model not radar
* compiles
* wrong way
old-commit-hash: 276b00ccb8
4 years ago
arfy slowy
63b3d6024b
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74def61f8
4 years ago
Adeeb Shihadeh
82c9f6734b
UI: maintain frequency before vipc is connected ( #21704 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b13f5e6328
4 years ago