Commit Graph

9623 Commits

Author SHA1 Message Date
Shane Smiskol 8bb530cec5 Deprecate brakeUnavailable event (#28351)
* bump cereal

* deprecate

* Update selfdrive/controls/lib/events.py
old-commit-hash: fc2bd16e72a89feb270f99468cfd8d14ccbab4fd
2023-05-31 16:29:11 -07:00
Kacper Rączy 37fb563225 locationd: add filterState (#28340)
* Add filterState to published messages

* Hide it behind DEBUG flag

* Update cereal

* Update cereal
old-commit-hash: 9abe95c949747e87f059ea0810c03b01305110c5
2023-05-31 15:01:12 -07:00
Shane Smiskol d609b70296 cars: log non-critical car faults (#28338)
* log non-noEntry acc faults

non

* adasFaulted

* bump

* bump again

* bump agaiiinn

* remove event

* bump to master

* add fixme comment and fix

* whoops

* switch
old-commit-hash: 2ff1eadb1153a26a177a55f1f29426ebf328b655
2023-05-30 20:46:44 -07:00
Mitchell Goff 3dc3978a10 Test navmodel (#28272)
* Test navmodel

* removed comment

* Updated model_replay ref

* read tiles from azure bucket

* updated ref commit
old-commit-hash: 2d34083cd8a507ed06f0139f496930cfe4bde820
2023-05-30 20:33:01 -07:00
Cameron Clough bdb92e691c UI: remove comma points (#28303)
* UI: remove comma points

* remove param
old-commit-hash: e875bcfaeec9a4bfab2d8e4e4bb5b7ee978eb047
2023-05-30 18:18:47 -07:00
Shane Smiskol b928bf4f2c Mazda: set default steering control values (#28342)
don't crash when porting new car
old-commit-hash: 2e4e41a7d3e533fb1c74d68ea9078e45b26bb1d9
2023-05-30 15:40:54 -07:00
Shane Smiskol a072c467b5 cars: explicitly add counter/checksum messages (#28341)
* hkg canfd: add counter/checksum

* add explicitly to subaru

* same for ES_LKAS_State

* and ES_DashStatus

* aaand INFOTAINMENT_STATUS

* and preglobal ES_Distance

* Revert "and preglobal ES_Distance"

This reverts commit 68d98307703a24296ff7aafd99503ea6af4b231b.
old-commit-hash: 439a30aae4c0495bb27aed4b5cd2d0e684fe0f1b
2023-05-30 15:33:02 -07:00
Shane Smiskol 8de2d08c0b Nissan: add counter signal to forwarded message (#28336)
Update carstate.py
old-commit-hash: 4b4b31450ccf0d4b63bb2cc4fa77c7f476374bde
2023-05-30 15:10:17 -07:00
Shane Smiskol b5aff78ee0 Honda: use CS accFaulted field (#28339)
* log accFaulted

* bool

* also bool
old-commit-hash: 80e84a2158df7e4cacf1a21aee71206293ff7f5d
2023-05-30 15:05:57 -07:00
vanillagorillaa ef2fd2c311 Nissan: use generated DBCs (#28307)
* nissan dbc update

* bump

* for release build

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 90e0c61664d5620c82dccd058c67757426649435
2023-05-29 23:01:30 -07:00
Adeeb Shihadeh 7c7276f3dd athena: raise log level for call method (#28334)
old-commit-hash: 7e141f25f9454d245e09bbdc8d7cc826e4095592
2023-05-29 14:46:15 -07:00
Adeeb Shihadeh 5258610d88 show ign off time in count events debug script
old-commit-hash: 43b0e51906f0054fe4ba0dddf27ce90df443d8bd
2023-05-28 11:59:01 -07:00
Shane Smiskol 6064fbb5e3 IsoTpParallelQuery: log all timeouts (#28325)
* log

* self explan

* clean up

* revert

* need a better name

* move

* bvack
old-commit-hash: 026c093d05dfc05a9a04ff341942e5b9858a12f7
2023-05-27 22:14:50 -07:00
Cameron Clough 8ddf02e69b Ford: fix counter in LateralMotionControl2 message (#28328)
old-commit-hash: de5e0d0c714ce8820c5bbd9dc7e981cc8f58bb03
2023-05-27 21:54:37 -07:00
Shane Smiskol 000db65838 IsoTpParallelQuery: fixup comment and simpler response check (#28326)
* startswith works with bytes

* this comment only explained an exception, was confusing
old-commit-hash: aa3490ac3058832fc7da0e5e824714cb5f95b469
2023-05-27 19:25:38 -07:00
Shane Smiskol 5c6a61f34f HKG: add missing FW for 2020 G70 (#28323)
missing g70
old-commit-hash: 897b9c117abb9777b7d41e2efd3de04e3df482ce
2023-05-27 18:49:03 -07:00
Adeeb Shihadeh 8ab5a48725 Hyundai CAN FD DBC update (#28322)
old-commit-hash: 3f61537d1b7b33ee0a1104ca6a47bf323bf31c4b
2023-05-27 16:50:34 -07:00
Adeeb Shihadeh 00f5fd6079 CI: enable FW query (#28316)
old-commit-hash: 376faefec26f30cf457178cb02cdaff111bdfabe
2023-05-27 15:41:55 -07:00
Kacper Rączy e6855f049f process_replay: fix crash on segments without carParams (#28286)
* Fix crash on segments without carParams

* Add assertion for carParams
old-commit-hash: a075905c4ab04b0e159416ed5068fa2c0069928c
2023-05-27 02:10:10 +02:00
Saber422 10ec09d081 VW MQB: Add FW for 2017 Volkswagen Passat (#28280)
route name : 40443218782e5709|2023-05-22--13-05-38--0
old-commit-hash: 9a1d7d5fc2e8b5f1ab95e56ba3ecf38914350126
2023-05-26 16:56:02 -07:00
Shane Smiskol 0189b3fbe6 controls: write recalibrating offroad alert once (#28312)
* only write once

* rm read

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 715f44ff455e1d5cf03ed6e0b0a2dae526229f84
2023-05-26 13:07:35 -07:00
Shane Smiskol dc829240cd offroad alerts: change email reference to support page (#28311)
old-commit-hash: 79872db74137a4d3ae8c4b85609d15fa9556bfd6
2023-05-26 11:07:22 -07:00
Shane Smiskol fcc06d092d car docs: sort parts by shown name (#28293)
* sort by shown name

* fix
old-commit-hash: f678ff0f2282d9374a13fa9513f5f8f43f5dac11
2023-05-26 00:19:46 -07:00
Shane Smiskol 5ab21f538b Hyundai: explicitly copy signals to forward (#28020)
* define signals in brandcan.py

* seems so

* fix and reorder

* lkas11 for hyundai

* clu11

* honda: we only use this one signal for BRAKE_COMMAND

* Revert "honda: we only use this one signal for BRAKE_COMMAND"

This reverts commit f5f3aaed7e2fa1cdf35c3608b259fab11164644e.

* do cam and cruise info

* add todo

* do nissan

* s for signal

* do nissan

* mazda

* toyota

* gm

* ford

* ES_DISTANCE_SIGNALS is used twice

* for s

* volks

* tesla

* no copy

* oh there's mqbcan

* same with mqb lka message

* all s's

* these actually are different (pre vs. global)

* this is not in the DBC...

* fix

* check len

* rm import

* need to copy counter!

* fix other proc replay diff (TODO: the rest)

* missing cs/cnt
old-commit-hash: f494abf0d2db769a0a55ac29a3914962c3db902b
2023-05-26 00:00:18 -07:00
Shane Smiskol 3aff7d044e Tesla: explicitly copy signals to forward (#28306)
* tesla

* cmt
old-commit-hash: 303c62119d6e41f13a59e12a41495e4950d6acf3
2023-05-25 23:35:32 -07:00
Shane Smiskol 906c07f3e6 Nissan: explicitly copy signals to forward (#28305)
* nissan

* missing counter

* add comment from carstate
old-commit-hash: 26baac2ff4a57fa8dc7de46bd1292f2734a4d179
2023-05-25 23:12:50 -07:00
Shane Smiskol 39088829b6 Subaru: explicitly copy signals to forward (#28304)
* do subaru

* add missing checksum

* more missing checksums
old-commit-hash: 54e6d4c4028f790a2c38c5ccd3e4a9f012e4cce2
2023-05-25 22:59:52 -07:00
Justin Newberry 8e51174066 Subaru: frequency based messaging (#28066)
* frequency based messaging

* frequency based messaging

* frequency based messaging

* frequency based messaging

* rename better

* use frame in if statement

* syntax

* remove extra space

* put all behind one if statement

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c1909df43716d8e40333b2e587dbc5ac97020b05
2023-05-25 22:33:04 -07:00
Comma Device 8a91f7cd30 boardd: only look for new usb pandas
old-commit-hash: 78df554217fc27211d1b0cb227421a0f3f2153cd
2023-05-25 19:35:57 -07:00
Shane Smiskol afe7825130 Revert "ui: smooth wide cam transition" (#28298)
Revert "ui: smooth wide cam transition (#28277)"

This reverts commit ee6df0ef025d95c495248e46d53de2842363058e.
old-commit-hash: 21f88f997d80430dac16513c9dafb358ce3494ae
2023-05-25 19:23:50 -07:00
Cameron Clough 7db6687227 UI: PrimeUserWidget cleanup (#28300)
* cleanup

* setMargin is obsolete

* more
old-commit-hash: 13cf6957384f0ce620c6f74f87f77d04e19800c3
2023-05-25 16:40:40 -07:00
Cameron Clough 36a72433c7 UI: update "Finish Setup" widget style (#28287)
* UI: update SetupWidget registration design

* SetupWidget: add icon

* Revert "SetupWidget: add icon"

This reverts commit 325d2d390496f287953beb1634b229ff4ff31717.
old-commit-hash: 387e865793a72011a6dfa096557987601c816809
2023-05-25 13:01:51 -07:00
Kacper Rączy 7656bb16bb laikad: unit test refactor (#28295)
Refactor laika tests to use replay_process
old-commit-hash: 1f0ff21eee457f635059325bdcde61fc1bc6f0b4
2023-05-25 11:34:10 -07:00
wileytom65 24881456f7 Car Port for Hyundai Santa FE Hybrid 2023 (non-HDA2) (#28279)
* Added 2023 Hyundai Santa Fe HEV

* Added 2023 Hyundai Sante_FE_HEV 

Additional info added for 2023my of Hyundai SANTA_FE_HEV (nonHDA2)

* fix FW versions

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2f625f64f003fdb785cfa75d5e8e714e321166f0
2023-05-25 00:06:54 -07:00
Cameron Clough 397665d45c UI: add missing QPushButton pressed styles (#28289)
* UI: add missing QPushButton pressed styles

* keyboard is special
old-commit-hash: 488975f06ec6a282e023dbd5db9e265299458f4c
2023-05-24 22:44:10 -07:00
Kacper Rączy c63d3378c9 ubloxd: enable satReport parsing (#28037)
* Uncomment satReport parsing. New ublox recv callback logic in process_replay

* Typo

* Update replay ref commit

* Update ref commit again
old-commit-hash: 2bd37acef37f2526c562865eddeaf0b5cd856a05
2023-05-25 07:41:45 +02:00
Shane Smiskol 72c64ed1bc manager: clear onroad/offroad transition params on start (#28199)
* clear onroad transition params

* all offroad params also have manager start
old-commit-hash: 75fc0291307e78ae6462e21a088e3229bca58305
2023-05-24 20:46:59 -07:00
Adeeb Shihadeh b820990639 controlsd: check longitudinalPlan avg freq (#28200)
old-commit-hash: dee7ced00ee7e8cdec883989958f43d94c01e4bb
2023-05-24 20:46:44 -07:00
Dean Lee 7be85a4550 ui: update DM icon at every frame (#28226)
old-commit-hash: 634280ca5117a014cc7f2620e94ebc62c050d70e
2023-05-24 20:46:27 -07:00
Dean Lee cdd5958ab7 ui/MainWindow: use switch in eventFilter (#28276)
old-commit-hash: 2c44c8980c3893c01453049dd06a396e6f2358ad
2023-05-24 20:45:58 -07:00
Shane Smiskol 33ddd8eb44 ui: smooth wide cam transition (#28277)
* horribly messy

* bit simpler

* is this right?

* simpler and should work?

* used to be int/frames, but added easing so treat as float

* end slow (start fast)

* little faster

* clean up

* not needed

* try ease in/ease out and fix

* remove debugging print

* fix

* revert to previous curve

* based on speed

* not right

* fix

* fix

* this kinda works

* Revert zoom by speed

Revert "this kinda works"

This reverts commit 48aa30b945148b8eb79fbe33eb58e3fc3a6a7009.

Revert "fix"

This reverts commit 4ff2d33486231727d7cd68d366342c2273e3a315.

Revert "fix"

This reverts commit 15b22f8e8284eb017000856abb05b5e8973a6c0e.

Revert "not right"

This reverts commit 378b9965e14250c57ed39e1976de60d89054c2c8.

Revert "based on speed"

This reverts commit 1f7bfa5d73a2dee3740096da64eda24b33288b51.

Revert "Revert "not right""

This reverts commit 1beeb402534a755208d19771eb4a2afdc69b8739.

* better curve

* revert

* use constants and fixes

* up here too

* feels more intuitive to make zoom_transition=1 be zoomed in

* rm line

* fix

* cmt

* better handling

* better name

* zoom if ANY other stream is requested

* Update selfdrive/ui/qt/widgets/cameraview.cc
old-commit-hash: 26064196d0362d7719ce7b1ee835eb2193a3dc57
2023-05-24 17:28:33 -07:00
Shane Smiskol 24007dcfa2 CARS.md: footnotes header (#28285)
footnotes
old-commit-hash: 2ea7b69e2689591772cc23181bd09724831f4d71
2023-05-24 17:08:19 -07:00
Cameron Clough 5560082d37 UI: cleanup OffroadHome layout (#28284)
old-commit-hash: d6592436481e448933e8124541a8d5654a3b3d34
2023-05-24 15:41:14 -07:00
Cameron Clough a02f688db2 UI: reduce margin around software version (#28283)
old-commit-hash: 94937e0694d600bf15c4180452acf1a2029bf81c
2023-05-24 15:00:17 -07:00
Kacper Rączy 7ab3f88015 process_replay: use PARAMS_ROOT (#28282)
Use PARAMS_ROOT in process_replay
old-commit-hash: ac0272d0cc1b33893b3fbbea0b9653f68f2e1a82
2023-05-24 13:16:22 -07:00
Adeeb Shihadeh 2aa55ce54a update loggerd and ui cpu
old-commit-hash: 9f3c0a778113313e7d390f672abfe40a0d242b7d
2023-05-24 10:04:53 -07:00
Harald Schäfer 74bb4956ab Calibrationd: allow more pitch angle (#28255)
* Calibrationd: allow more pitch angle

* Update ref_commit
old-commit-hash: 2c65b843a573f260f378489457d32c9061f4a139
2023-05-24 11:41:01 +02:00
Kacper Rączy a48b67f720 process_replay: universal replay mechanism using cereal fake sockets (#28115)
* replay_process_with_fake_sockets implementation

* add missing polled_pubs to configs

* drained_pubs field

* updated cereal

* Remove python/native variations of process replay. Replace with universal one using cereal fake sockets

* Replace old py FakeSocket with DummySocket

* Invalidate and deregister fake sockets after replay is done

* Remove unused import

* Set up new prefix for each replay

* Fixes for radard

* Refactor ReplayContext and ProcessConfig

* Minor fixes

* Reimplement controlsd fingerprinting callback

* time.sleep for sockets to safely reconnect

* Fix fingerprinting for controlsd

* Fixes for regen to work

* Fix replay loop to respect submaster frames

* Fix profiler to use new ProcessConfig fields

* Remove tqdm

* Refactor tests to use new ProcessConfig

* Add FrequencyBasedRcvCallback

* Make tolerance None by default

* Update cereal

* Add get_process_config utility func

* Update cereal. Simplify sync procedure

* Chain context managers

* New sub-socket reconnection procedure

* Fix linter issues

* Revert chaining of context managers

* Init controlsState only when replaying controlsd. Update cereal

* Update cereal

* Update process_replay to use new cereal API

* Update cereal

* Update cereal

* Update cereal

* Simplify radard recv callback

* Update release/files_common
old-commit-hash: e6ac6320ace377657446a1a16ccccd75091f5453
2023-05-23 17:24:16 -07:00
YassineYousfi 52e1cf2e64 fix input order in onnxmodel (#28274)
old-commit-hash: d0a8b3780c6ca3db07cbb0a1d644f781efad40f0
2023-05-23 16:11:51 -07:00
Jason Young 80a26c3f12 VW MQB: Start documenting FtS cars (#28268)
* specify auto_resume

* format

* car compat

* VW MQB: Start documenting FtS cars

* retry CI

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 84886e28df5e39cae331ed60afa437b60a572b8c
2023-05-23 14:07:21 -07:00