Shane Smiskol
2624b4cb27
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 d4f330447
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 0b9790dd2
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 d932cb067
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 8e34ddc70
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
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
8e34ddc70e
ui: grey border and alert when pre-enabling ( #24057 )
...
* make border and alert grey when overriding
revert cereal
* no state machine changes
* typo
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
Cameron Clough
602cbfcba0
replay: fix wrong format code in print ( #24006 )
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
Willem Melching
a03685c3f9
Fix watch3 on mac ( #23834 )
3 years ago
Willem Melching
dc7de79dc9
replay: use VideoToolbox HW decoder on Mac ( #23832 )
...
* replay: support VideoToolbox HW decoding
* rename flag
* remove debug assert
3 years ago
Willem Melching
df88280e0f
replay: use QCoreApplication ( #23831 )
3 years ago
Willem Melching
724bab8ef3
Update raw_logger/framereader to new new ffmpeg api ( #23799 )
...
* Update raw_logger/framereader to new new ffmpeg api
* Can be removed now
* Handled by avcodec_free_context
* handle EAGAIN and clean up
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
955c7435f8
fix UI segfault when starting onroad and receiving radarState before modelV2 ( #23739 )
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
Shane Smiskol
e5005b8f44
scons: fix duplicate environments with test flag ( #23702 )
...
* fix duplicate environments when built with --test
* lib
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
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
Jonathan Frey
a39e635b5c
replay: fix pause key doc ( #23697 )
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
Dean Lee
fa3a787e9a
replay: fix wrong logging for local route ( #23652 )
3 years ago
Dean Lee
520c99a050
replay: add test case for local route ( #23650 )
...
* add test for local route
* retry download on network error
* sleep 500ms before retry
* read 100 frames
* read more segments from route
* add REQUIRE
3 years ago
Dean Lee
2f91441382
replay: cleanup functions ( #23655 )
...
* cleanup function seek
* cleanup signals&slots
* use false
* add comment back
3 years ago
Dean Lee
a901104a96
log error on avcodec_receive_frame ( #23649 )
3 years ago
Dean Lee
3ca8e3653b
replay: ncurses GUI ( #23608 )
...
* initial version
* print all message's in ncurses window
* show download progress bar
* move all to class ConsoleUI
* timeline
* improve timeline&stats
* fix logMessage
* add warning indicator
* continue
* cleanup
* cast type to int
* simplify seekToFlag
* more
* <=
* handle enter
* add box to logging window
* fix multiple threads problem
* fix concurrency issues
* draw indicator
* many improvements
* more
* fix multipe threads logging
* stop replay before exit
* use lambda instead of std::bind
* cleanup
* small cleanup
* use carFingerPrint
* don't emit signal in replay::stream
* merge car_events into timeline
* cleanup DonloadStats
* cleanup
* rename carname to carFingerprint
* improve alert
* add comments
* add help functions
templete function
* handle term resize
* display replaying status
* rename to INSTANT
* helper function pauseReplay
* more
* cleanup
use rDebug
* no template
* less colors
* remove function mv_add_str
* use BORDER_SIZE
* tune colors
* add spaces
* apply reviews
use /
3 years ago
Kevin Robert Keegan
347583d423
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.
3 years ago
Adeeb Shihadeh
3e9cb7fa12
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
3 years ago
Dean Lee
1e906366f8
ui/setup: check http status code ( #23597 )
...
* check resp code
* always cleanup curl and close file
* curl_global_init
* space
* cleaner
* Revert "curl_global_init"
This reverts commit c3f1a7cee8
.
3 years ago
Dean Lee
bca92a95cc
ui: fix lead vertex coordinates ( #23550 )
3 years ago
Dean Lee
f7932f874d
ui/networking: async dbus calls ( #23535 )
...
* async dbus calls
* simplify get ip address
* Revert "simplify get ip address"
This reverts commit 7ade7ec57d
.
* cleanup getConnectionPath()
* remove unused functions
* cleanup
* rename to getIp4Address
* clenup class definition
3 years ago
Dean Lee
6bd0e4b087
ui: fix invalid line vertices on startup ( #23541 )
3 years ago
Dean Lee
43a2674ffc
ui/networking: simplify dbus calls with a helper function ( #23531 )
...
* simplify d-bus calls
* move template function to source file
3 years ago
Dean Lee
39d904d2aa
ui/networking: combine connect functions into one ( #23522 )
3 years ago
Dean Lee
75be1223f8
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
3 years ago
Dean Lee
785180d234
MainWindow::eventFilter: add static keyword for evts ( #23521 )
3 years ago
Dean Lee
6dbae9593e
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago