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>
3 years ago
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
3 years ago
Adeeb Shihadeh
a793b949be
boardd: add controls heartbeat ( #23185 )
...
* boardd: add controls heartbeat
* bump panda
* bump again
* bump panda
3 years ago
Dean Lee
768cfdb92a
framereader: use the same alignement as visionbuf ( #23208 )
...
* aligned rgb buffer
* fix yuv stride
3 years ago
Adeeb Shihadeh
66ee3e9ef9
model replay: more consistent replay ( #23237 )
...
* first cleanup
* don't send calib and desire
* should always be valid
* little more
3 years ago
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>
3 years ago
Adeeb Shihadeh
3bdb445c84
soundd: back to onroad only ( #23236 )
3 years ago
Jason Young
a11259929b
VW MQB: Add FW for 2018 Škoda Superb ( #23233 )
3 years ago
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
3 years ago
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
3 years ago
Willem Melching
d09cc197d1
manage_athenad.py: add daemon argument to launcher
3 years ago
Dean Lee
7c4855a609
modeld: make valid variable thread safe ( #23228 )
3 years ago
Dean Lee
f20d53b15c
driving.h: remove obsolete poly_fit function prototype ( #23229 )
3 years ago
Dean Lee
75687169eb
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
3 years ago
Adeeb Shihadeh
13b4ff504d
selfdrive/version: remove one unnecessary write to .git/ ( #23183 )
3 years ago
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
3 years ago
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>
3 years ago
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>
3 years ago
Adeeb Shihadeh
fa62b9d3f9
modeld: start publishing before calib seen ( #23190 )
3 years ago
Kevin Robert Keegan
245b4d910c
Toyota: Display Blue Barriers When Engaged, Matches OEM Design ( #23150 )
3 years ago
HaraldSchafer
cd190dc85d
Calibrationd: check size of valid_blocks without current ( #23223 )
3 years ago
HaraldSchafer
40dcc63823
Calibrationd: don't use noisy current block ( #23222 )
3 years ago
HaraldSchafer
837823ff58
Revert "Dont use erratic current block ( #23211 )" ( #23221 )
...
This reverts commit 19335bb6a4
.
3 years ago
HaraldSchafer
19335bb6a4
Dont use erratic current block ( #23211 )
3 years ago
Harald Schafer
c25ed45437
Update ref with minSpeedCAN removed
3 years ago
Shane Smiskol
c84310c94c
seems to be flipped ( #23213 )
3 years ago
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>
3 years ago
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
3 years ago
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
.
3 years ago
Willem Melching
36db473bab
comma two: remove lens sag compensation ( #23113 )
3 years ago
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>
3 years ago
Shane Smiskol
b745a14ff7
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
3 years ago
Dean Lee
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
3 years ago
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>
3 years ago
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
3 years ago
Adeeb Shihadeh
4a936bb2e5
bump version to 0.8.13
3 years ago
mitchellgoffpc
57871c9903
Updated release notes
3 years ago
Adeeb Shihadeh
5aa701b029
update contributing.md
3 years ago
Adeeb Shihadeh
8a229826cf
androidd: reduce cloudlog spam
3 years ago
Adeeb Shihadeh
df5b374033
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
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
3 years ago
Dean Lee
b519acd37b
LapConv: remove hardcoded FULL_STRIDE_X ( #23200 )
...
* fix wroing stride_x
* remove hardcoded rgb_stride
3 years ago
Dean Lee
8a84263c2d
replay: use std::unique_ptr to manage memory, reuse events buffer. ( #23049 )
...
* reuse events buffer
* Trigger Build
3 years ago
Dean Lee
5c6229f3df
common_process_driver_camera: same parameters as process_thread_cb ( #23202 )
3 years ago
Dean Lee
13ad02bc06
commonmodel.h: move global model size into class ModelFrame ( #23193 )
...
* move to class ModelFrame
* remove defines in dmonitoring as well
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Dean Lee
4aa291c406
Use std::unique_ptr to manage memory ( #23168 )
...
* use unique_ptr
* trigger ci
* move down loggerdstate
3 years ago
Dean Lee
cfad1f35e8
RawLogger: fix wrong pts ( #23205 )
3 years ago
Dean Lee
9decd3d8a2
util: move all functions into util namespace ( #23203 )
3 years ago
Adeeb Shihadeh
af125f3c51
update refs
3 years ago
Adeeb Shihadeh
7f618b16bf
increase cruise mismatch threshold
3 years ago