Commit Graph

16653 Commits

Author SHA1 Message Date
Dean Lee 54a3a91628 UI: call map::offroadTransition after creating map (#23283)
old-commit-hash: 50cce27e34
2021-12-21 11:06:45 -08:00
Adeeb Shihadeh 487f8cdeaf UI: less harsh controls unresponsive when not engaged
old-commit-hash: 2d8578545f
2021-12-20 23:56:25 -08:00
Adeeb Shihadeh 9522a54293 delete old scripts
old-commit-hash: ea82af14ca
2021-12-20 23:20:02 -08:00
Adeeb Shihadeh 7d4c84dcaf repeat immediate warning sound
old-commit-hash: f3e67e0ec2
2021-12-20 23:16:16 -08:00
Adeeb Shihadeh 8f09da4407 bump cereal
old-commit-hash: 256c51e16a
2021-12-20 23:04:27 -08:00
Adeeb Shihadeh 55d6972d08 Revert "Mazda: alert when LKAS is disabled (#23273)"
This reverts commit e67713edb1f62957974f20a0f7eceb2fc9efb1f4.

old-commit-hash: c92199ab1a
2021-12-20 23:02:02 -08:00
Jafar Al-Gharaibeh 9b7dd754c4 Mazda: alert when LKAS is disabled (#23273)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Update selfdrive/controls/lib/events.py

* Update selfdrive/car/mazda/interface.py

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f25121b736
2021-12-20 14:58:46 -08:00
Jafar Al-Gharaibeh 5f92847cfa Mazda CX-5 2021 FW (#23270)
dongle id: 661fdb17fa82339c

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: cd7db7f48e
2021-12-20 14:30:54 -08:00
George Hotz 6bac4f1c4a build for mac (#23048)
old-commit-hash: 16dd7ce1fe
2021-12-18 22:00:09 -08:00
Adeeb Shihadeh 02aafc42c3 mui
old-commit-hash: 646fe7de4b
2021-12-18 15:11:29 -08:00
Jafar Al-Gharaibeh 241392b370 Mazda: CX-5 and 3 FW (#23267)
* Mazda 3 2017 fw

dongle id: f7fec643f5178df8

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-5 2020 FW

dongle id: f4b488f06d3b7711

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: fc7d152dca
2021-12-18 14:47:04 -08:00
Dean Lee 9321e1bb6c ui: remove variable world_objects_visible, use rcv_frame (#23264)
old-commit-hash: e4de82f906
2021-12-17 21:37:29 -08:00
Dean Lee de3f8d227b modeld: update live calibration in main thread (#23235)
* update live calibration in main thread

* static ground_from_medmodel_frame

* more static

* cleanup

* no lambda

* trigger ci
old-commit-hash: ffc2f64f19
2021-12-17 12:29:59 -08:00
HaraldSchafer f64c2974b4 Road Roll Compensation Rebased (#23251)
* first commit

* update refs
old-commit-hash: cf466222f6
2021-12-16 17:34:12 -08:00
Igor Biletskyy f532819faf Revert "boardd: new class USBDevice (#23015)"
This reverts commit 6965aa0b903060ab38aace31c15fefdc7a0429eb.

old-commit-hash: 285addeef2
2021-12-16 17:11:45 -08:00
Dean Lee 49c35a70b5 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>
old-commit-hash: 4061f50da3
2021-12-16 16:53:48 -08:00
Adeeb Shihadeh d5a1acd1b6 update model replay ref commit after increased model idx precision
old-commit-hash: e49480185a
2021-12-16 15:58:56 -08:00
Dean Lee 52ad5cddac modeldata: use a constexpr function to build the IDXS (#23245)
remove convert_array_to_type

rename to build_idxs

space

double
old-commit-hash: 7d3ad941bc
2021-12-16 14:19:46 -08:00
Adeeb Shihadeh fe13487ad8 update release notes
old-commit-hash: 2ab57c29b7
2021-12-16 14:07:25 -08:00
Willem Melching 686a38aea4 Abstract classes inherit from ABC (#23246)
old-commit-hash: 14bf834fef
2021-12-16 15:31:53 +01:00
Ewout ter Hoeven a962365292 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>
old-commit-hash: 55390d273f
2021-12-16 14:58:17 +01:00
Willem Melching 7b3e330def 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
old-commit-hash: 4f1eb4278a
2021-12-16 13:08:20 +01:00
Adeeb Shihadeh 0386f99c1f boardd: add controls heartbeat (#23185)
* boardd: add controls heartbeat

* bump panda

* bump again

* bump panda
old-commit-hash: a793b949be
2021-12-15 17:58:16 -08:00
Dean Lee 20c50f8f51 framereader: use the same alignement as visionbuf (#23208)
* aligned rgb buffer

* fix yuv stride
old-commit-hash: 768cfdb92a
2021-12-15 16:19:07 -08:00
Adeeb Shihadeh 24c730f083 model replay: more consistent replay (#23237)
* first cleanup

* don't send calib and desire

* should always be valid

* little more
old-commit-hash: 66ee3e9ef9
2021-12-15 16:12:24 -08:00
martinl b99c359d61 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>
old-commit-hash: 7fd98757b4
2021-12-15 15:13:31 -08:00
Adeeb Shihadeh ab783fe661 soundd: back to onroad only (#23236)
old-commit-hash: 3bdb445c84
2021-12-15 14:29:32 -08:00
Jason Young e4b396864d VW MQB: Add FW for 2018 Škoda Superb (#23233)
old-commit-hash: a11259929b
2021-12-15 11:18:40 -08:00
Dean Lee d5e9c7ecf1 UI: always clear CameraView background (#23231)
* fix background

* gate that with Hardware::EON

* always call glclear
old-commit-hash: 5810583d57
2021-12-15 11:13:50 -08:00
Adeeb Shihadeh 85ff2fe9cb Revert "Qt/SetingWindow: faster initialization and painting (#21764)"
This reverts commit 720e3a73e7befe597bb94f93e41f8f294431ba65.

old-commit-hash: 472177e2a8
2021-12-15 09:58:25 -08:00
Willem Melching 4b13d224bd manage_athenad.py: add daemon argument to launcher
old-commit-hash: d09cc197d1
2021-12-15 17:03:12 +01:00
Dean Lee 0e0c8c9941 modeld: make valid variable thread safe (#23228)
old-commit-hash: 7c4855a609
2021-12-15 14:01:11 +01:00
Dean Lee b547e87f17 driving.h: remove obsolete poly_fit function prototype (#23229)
old-commit-hash: f20d53b15c
2021-12-15 14:00:46 +01:00
Dean Lee f0eb7a5402 qt/util: new function scaledPixmap (#23103)
* new function scaledPixmap

* rename to loadpixmap
old-commit-hash: 75687169eb
2021-12-14 22:58:47 -08:00
Adeeb Shihadeh 5e37ac43be selfdrive/version: remove one unnecessary write to .git/ (#23183)
old-commit-hash: 13b4ff504d
2021-12-14 22:35:18 -08:00
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
2021-12-14 22:28:12 -08:00
martinl 14c8689bab 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>
old-commit-hash: 345fe48338
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh 6fc218503c 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>
old-commit-hash: b27a19e9d1
2021-12-14 20:43:26 -08:00
Adeeb Shihadeh ea2dcf9d37 modeld: start publishing before calib seen (#23190)
old-commit-hash: fa62b9d3f9
2021-12-14 17:04:40 -08:00
Kevin Robert Keegan 7a55ba0175 Toyota: Display Blue Barriers When Engaged, Matches OEM Design (#23150)
old-commit-hash: 245b4d910c
2021-12-14 16:42:31 -08:00
HaraldSchafer 4de7b45d40 Calibrationd: check size of valid_blocks without current (#23223)
old-commit-hash: cd190dc85d
2021-12-14 15:14:14 -08:00
HaraldSchafer 22ec491d1f Calibrationd: don't use noisy current block (#23222)
old-commit-hash: 40dcc63823
2021-12-14 14:09:38 -08:00
HaraldSchafer 4708268c7d Revert "Dont use erratic current block (#23211)" (#23221)
This reverts commit 5c76900f565c8e55f5738efb8fdf5d6a846dbe0e.
old-commit-hash: 837823ff58
2021-12-14 13:59:39 -08:00
HaraldSchafer 6a7849aea3 Dont use erratic current block (#23211)
old-commit-hash: 19335bb6a4
2021-12-14 13:58:42 -08:00
Harald Schafer 8d8b61e73f Update ref with minSpeedCAN removed
old-commit-hash: c25ed45437
2021-12-14 12:31:30 -08:00
Shane Smiskol c413152da3 seems to be flipped (#23213)
old-commit-hash: c84310c94c
2021-12-14 12:17:02 -08:00
ZwX1616 f464a02782 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>
old-commit-hash: af5a418fa6
2021-12-14 12:13:59 -08:00
Shane Smiskol 91ff6918e5 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
old-commit-hash: 2799ef5292
2021-12-14 12:09:32 -08:00
Dean Lee 01eb405677 put logcat in bootlog (#23217)
* put logcat in boot log

* continue

* use std::unique_ptr

* Revert "use std::unique_ptr"

This reverts commit c671f8ca7160691791bade508c4a8eb5cdb73fb8.
old-commit-hash: f042962933
2021-12-14 11:54:54 -08:00
Willem Melching 0574f0f774 comma two: remove lens sag compensation (#23113)
old-commit-hash: 36db473bab
2021-12-14 13:29:59 +01:00