Igor Biletskyy
285addeef2
Revert "boardd: new class USBDevice ( #23015 )"
...
This reverts commit 4061f50da3
.
2021-12-16 17:11:45 -08:00
Dean Lee
4061f50da3
boardd: new class USBDevice ( #23015 )
...
* USBDevice
* merge master
* rebase master
* add to fiels_common
* inline functions
* namespace
* init err
* remove nested if
* cleanup
* bump panda for branch
* change includes
* bump panda branch
* change name
* bump master panda
Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
Co-authored-by: Igor Biletskyy <bs@privacy.im>
2021-12-16 16:53:48 -08:00
Adeeb Shihadeh
e49480185a
update model replay ref commit after increased model idx precision
2021-12-16 15:58:56 -08:00
Dean Lee
7d3ad941bc
modeldata: use a constexpr function to build the IDXS ( #23245 )
...
remove convert_array_to_type
rename to build_idxs
space
double
2021-12-16 14:19:46 -08:00
Adeeb Shihadeh
2ab57c29b7
update release notes
2021-12-16 14:07:25 -08:00
Willem Melching
14bf834fef
Abstract classes inherit from ABC ( #23246 )
2021-12-16 15:31:53 +01:00
Ewout ter Hoeven
55390d273f
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-16 14:58:17 +01:00
Willem Melching
4f1eb4278a
Log actuators after applying rate limits in CarController ( #23230 )
...
* return actuators from carcontroller
* log it
* pass to latcontrol
* chrysler
* gm
* honda
* more brands
* rest of the brands
* gm cleanup
* hyundai cleanup
* update ref
* rename field
* fix subaru
* add types
* more subaru fixes #23240
* consistent whitespace
* bump cereal
2021-12-16 13:08:20 +01:00
Adeeb Shihadeh
a793b949be
boardd: add controls heartbeat ( #23185 )
...
* boardd: add controls heartbeat
* bump panda
* bump again
* bump panda
2021-12-15 17:58:16 -08:00
Dean Lee
768cfdb92a
framereader: use the same alignement as visionbuf ( #23208 )
...
* aligned rgb buffer
* fix yuv stride
2021-12-15 16:19:07 -08:00
Adeeb Shihadeh
66ee3e9ef9
model replay: more consistent replay ( #23237 )
...
* first cleanup
* don't send calib and desire
* should always be valid
* little more
2021-12-15 16:12:24 -08:00
martinl
7fd98757b4
Subaru: Add Impreza/Crosstrek 2020 ( #21011 )
...
* Add Subaru Impreza/Crosstrek 2020
* Update selfdrive/test/test_routes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-15 15:13:31 -08:00
Adeeb Shihadeh
3bdb445c84
soundd: back to onroad only ( #23236 )
2021-12-15 14:29:32 -08:00
Jason Young
a11259929b
VW MQB: Add FW for 2018 Škoda Superb ( #23233 )
2021-12-15 11:18:40 -08:00
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
2021-12-15 11:13:50 -08:00
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
2021-12-15 09:58:25 -08:00
Willem Melching
d09cc197d1
manage_athenad.py: add daemon argument to launcher
2021-12-15 17:03:12 +01:00
Dean Lee
7c4855a609
modeld: make valid variable thread safe ( #23228 )
2021-12-15 14:01:11 +01:00
Dean Lee
f20d53b15c
driving.h: remove obsolete poly_fit function prototype ( #23229 )
2021-12-15 14:00:46 +01:00
Dean Lee
75687169eb
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
2021-12-14 22:58:47 -08:00
Adeeb Shihadeh
13b4ff504d
selfdrive/version: remove one unnecessary write to .git/ ( #23183 )
2021-12-14 22:35:18 -08:00
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
2021-12-14 22:28:12 -08:00
martinl
345fe48338
Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance ( #23024 )
...
* Rename preglobal ES_CruiseThrottle to ES_Distance
* bump opendbc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh
b27a19e9d1
cloudlog: add daemon name to context for python daemons ( #23225 )
...
* python
* manager is a daemon too
* Update selfdrive/manager/process.py
Co-authored-by: Comma Device <device@comma.ai>
2021-12-14 20:43:26 -08:00
Adeeb Shihadeh
fa62b9d3f9
modeld: start publishing before calib seen ( #23190 )
2021-12-14 17:04:40 -08:00
Kevin Robert Keegan
245b4d910c
Toyota: Display Blue Barriers When Engaged, Matches OEM Design ( #23150 )
2021-12-14 16:42:31 -08:00
HaraldSchafer
cd190dc85d
Calibrationd: check size of valid_blocks without current ( #23223 )
2021-12-14 15:14:14 -08:00
HaraldSchafer
40dcc63823
Calibrationd: don't use noisy current block ( #23222 )
2021-12-14 14:09:38 -08:00
HaraldSchafer
837823ff58
Revert "Dont use erratic current block ( #23211 )" ( #23221 )
...
This reverts commit 19335bb6a4
.
2021-12-14 13:59:39 -08:00
HaraldSchafer
19335bb6a4
Dont use erratic current block ( #23211 )
2021-12-14 13:58:42 -08:00
Harald Schafer
c25ed45437
Update ref with minSpeedCAN removed
2021-12-14 12:31:30 -08:00
Shane Smiskol
c84310c94c
seems to be flipped ( #23213 )
2021-12-14 12:17:02 -08:00
ZwX1616
af5a418fa6
DM: more adaptive pose policy ( #23184 )
...
* rename and add dep
* proto thresholds
* tweak vk
* update natural offset and clip offsets
* 95th looks good
* no punish for being relaxed
* yaw laplace only
* some pay more attention
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-14 12:13:59 -08:00
Shane Smiskol
2799ef5292
Remove minSpeedCan ( #22991 )
...
* Remove minCanSpeed
Remove minCanSpeed
* it actually only goes out to 2.5 seconds, this is okay to remove
* test to see if this preserves behavior
add minSpeedCan
* Revert "test to see if this preserves behavior"
This reverts commit 31b11f017f7e9da7654fc8064b5983d4a6cc22e5.
* preserve behavior (don't enter stopping as early)
* vEgoStopping needs to be less than or equal to vEgoStarting to avoid state oscillation
2021-12-14 12:09:32 -08:00
Dean Lee
f042962933
put logcat in bootlog ( #23217 )
...
* put logcat in boot log
* continue
* use std::unique_ptr
* Revert "use std::unique_ptr"
This reverts commit c671f8ca71
.
2021-12-14 11:54:54 -08:00
Willem Melching
36db473bab
comma two: remove lens sag compensation ( #23113 )
2021-12-14 13:29:59 +01:00
Devin Leamy
8cb83b29a6
athena: persist upload queue to disk ( #22659 )
...
* revert submodules
* lowercase
* addressed comments
* add test for cancelled uploads
* formatting
* catch all exceptions
* handle empty param
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-14 13:29:17 +01:00
Shane Smiskol
b745a14ff7
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
2021-12-14 12:15:13 +01:00
Dean Lee
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
2021-12-14 12:14:51 +01:00
Dean Lee
c5dbee4e58
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>
2021-12-14 11:22:16 +01:00
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
2021-12-14 11:00:01 +01:00
Adeeb Shihadeh
4a936bb2e5
bump version to 0.8.13
2021-12-13 22:24:03 -08:00
mitchellgoffpc
57871c9903
Updated release notes
2021-12-13 20:39:39 -08:00
Adeeb Shihadeh
5aa701b029
update contributing.md
2021-12-13 20:30:24 -08:00
Adeeb Shihadeh
8a229826cf
androidd: reduce cloudlog spam
2021-12-13 17:42:15 -08:00
Adeeb Shihadeh
df5b374033
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
2021-12-13 17:38:19 -08:00
Dean Lee
f482354e4e
Qt/SetingWindow: faster initialization and painting ( #21764 )
...
* reduce init time from ~520ms to ~350ms
* faster init toggle
setfixedheight in ctor
delay init TogglesPanel,reduce init time to ~180ms
cleanup
* precise style, reduce to ~100ms
* revert 'faster toggle
* fix horizontal_line
* fix background
* cleanup
2021-12-13 15:57:04 +01:00
Dean Lee
b519acd37b
LapConv: remove hardcoded FULL_STRIDE_X ( #23200 )
...
* fix wroing stride_x
* remove hardcoded rgb_stride
2021-12-13 15:53:44 +01:00
Dean Lee
8a84263c2d
replay: use std::unique_ptr to manage memory, reuse events buffer. ( #23049 )
...
* reuse events buffer
* Trigger Build
2021-12-13 15:22:31 +01:00
Dean Lee
5c6229f3df
common_process_driver_camera: same parameters as process_thread_cb ( #23202 )
2021-12-13 15:07:31 +01:00