Commit Graph

11597 Commits

Author SHA1 Message Date
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
Dean Lee 6cc979a258 cabana: support editing dbc files without a stream (#28294)
* no stream mode

* disable tools menu if no stream

* disable splitter

* cleanup

* refactor matchMessage
old-commit-hash: d5d1ca11d4a5ba5ffcb067fd842540d5334e9360
2023-05-25 10:51:28 -07:00
Dean Lee 14fdc8aca6 cabana/MessageViewHeader: fixed header position issue (#28291)
old-commit-hash: 53190e926c7320f95a108874ab44536ca57a7cfd
2023-05-25 10:50:36 -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
Dean Lee c1fecfb6dd cabana: supports switching streams on the fly (#28081)
* open stream

* use std::atomic::exchange

* emit streamStarted immediately
old-commit-hash: a26e6d1633b994029e67611f7954250517f71acd
2023-05-24 20:47:37 -07: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
Adeeb Shihadeh c87bcd1d0a bump panda
old-commit-hash: 394f0d2c3083782c5bf568ffe265a61cc8989528
2023-05-24 16:29:34 -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
Adeeb Shihadeh 3887ad7a20 bump panda
old-commit-hash: 696b69aa23ac6eefd42de5bf0f146f29598e05ec
2023-05-23 20:51:15 -07:00
Kacper Rączy 2c0675bce5 aarch64: disable carla and onnxruntime-gpu on non-x64 hosts (#28261)
Disable carla and onnxrunner-gpu on aarch64
old-commit-hash: 347004fdad21cb063ba81f05bb83ad6e5be1e9c2
2023-05-23 19:50:56 -07:00
Adeeb Shihadeh 7eb2e59618 remove sleep on launch (#28236)
old-commit-hash: 115fc66514dbbdac0591d2d59734ed5233fd0dd8
2023-05-23 19:49:54 -07:00
Kacper Rączy 3c1ae19261 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275)
old-commit-hash: 00ff096ca2f9ca5e1c0f6a78702dc3cc78978092
2023-05-23 19:48:57 -07: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
Kacper Rączy dd70d2bdf3 process_replay: drain sockets instead recv_one (#28161)
* Drain the sockets until the next cycle in python process replay

* Add waiting mechanism to native process replay, which mimics the syncing

* Sort logs when comparing them. Drain all the sockets instead of only recv_socks.

* Reverse the retrieval order of FakeSocket

* Change pub order for torqued

* Update ref commit
old-commit-hash: 12b3ffcc49c819bf01ee9c6cadf500d3411aacda
2023-05-23 12:59:09 -07:00
Adeeb Shihadeh 4e1ff2b4b9 pre-commit: autoupdate hooks (#28271)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: bf8e6d0d290e04a2f11f4a71ba6a802691eb5a86
2023-05-23 11:09:40 -07:00
Kacper Rączy c4a75225e8 params: specify path using PARAMS_ROOT (#28257)
* Add PARAMS_ROOT env var

* Change getenv type signature

* Use getenv default_val
old-commit-hash: b43a875ba26685d7aa4eab3972c580810d5108d0
2023-05-23 19:02:22 +02:00
Maxime Desroches f9dacacc85 car docs: allow auto_resume override (#28264)
* specify auto_resume

* format

* car compat

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3785e161f0ac1b05a0b2fae00bf3245eec9db560
2023-05-23 01:40:23 -07:00
Shane Smiskol 9352b02943 car docs: fix diff bot (#28266)
* test bot

* fix docs bot

* revert

* use dataclass

* sad this doesn't work
old-commit-hash: eee8a7a4b45150981b9d313fb5546bd2cf7ebcc1
2023-05-23 00:36:42 -07:00
Maxime Desroches 428e1ec347 car docs: keep similar naming (#28262)
better name
old-commit-hash: 715d7f9e3d4d6b3a667fbde1914ca149d147e74b
2023-05-22 19:30:04 -07:00
Adeeb Shihadeh 716ffecb14 boardd: set min spi timeout
old-commit-hash: ea1e0a16ddaf0a2f6a253724bd695a04d30af1cc
2023-05-22 19:00:45 -07:00
Maxime Desroches 2bc8f7efce car docs: pass all car parts + types to template (#28260)
add car parts + types to template
old-commit-hash: d433dc693d866fe20786baabe23db63b21eb8bf0
2023-05-22 18:43:57 -07:00
Adeeb Shihadeh 05d3b28bb6 tici: log disk info (#28259)
old-commit-hash: 4751d2b57c986599c45280e45867e778cb8bc9d4
2023-05-22 16:53:07 -07:00
Adeeb Shihadeh 702e5fc5d5 add new driving model to release notes
old-commit-hash: 577c17bcb8df8f825d06616621da7bce510bfe6b
2023-05-22 15:19:23 -07:00
Mitchell Goff 22c5053bbc Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71

* Updated model_replay_ref_commit
old-commit-hash: 328b5d9d47ef24140b316c375665e1cfd00cef31
2023-05-22 15:11:04 -07:00
Adeeb Shihadeh 1ae2769a72 adjust uploader cpu usage
old-commit-hash: a3d59132283f97faadf0be2ca55264b895e4c232
2023-05-22 10:48:15 -07:00
Maxime Desroches 734b6481b7 car docs: list all needed hardware (#28212)
* generic car parts

* better carparts

* add part type

* more tests

* multiple enums

* unit tests

* just check isinstance

* better name

* remove _connector suffix

* remove those hyundai lines

* remove default arg

* Revert "remove default arg"

This reverts commit 139650a3b6b94358c3b9b12bb5fbe0a326d7abad.

* cleaner code structure

* use fingerprint

* review

* abstrac data class + common

* no more dataclass

* conflict

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9f5f8b603cf69b06c4804632268491cf38cfac7e
2023-05-22 10:17:33 -07:00
Adeeb Shihadeh 8de1d811da test onroad: add gpsLocationExternal to gps proc list
old-commit-hash: 1b12f17ee3826b7553b9d907f9d33d58799c4688
2023-05-22 01:10:24 -07:00
Adeeb Shihadeh dbe615db9e jenkins: switch order of tests
old-commit-hash: 2664dba52e03b45d7a55f17211eb17abb35598c9
2023-05-22 00:48:51 -07:00
Comma Device 8459bf03ed boardd: lower timeout for getting serial
old-commit-hash: 18559f41359913cc546837ff3f25ff25428ca20c
2023-05-22 00:45:52 -07:00
eFini f702f7e478 pandad: app_path -> app_fn (#28253)
* Fix pandad.py

Should be `app_fn` instead of `app_path`?

* fw path

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b2e32a7ef86e6572afc2f7ee4f5bcf4810fb2979
2023-05-22 00:06:39 -07:00
Mejty38 08d8348e2f Skoda: add fw for Superb 2020 (#28229)
* Update values.py

* sort and remove duplicate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: b977e1a4e95eb276f4827b6bb933ee142a7d8de9
2023-05-21 22:18:37 -07:00
Adeeb Shihadeh 321d4774d3 bump panda
old-commit-hash: 41771ad7f0bc841326b0a8a77836c6461f5277f2
2023-05-21 21:20:16 -07:00
Jason Young 66afb30511 VW MQB: Extend Touran supported model-year range (#28247)
VW MQB: Extend Touran model-year range
old-commit-hash: e0a2607eee50abc3571459c9e8ca415844da2dd1
2023-05-21 19:28:12 -07:00
Dean Lee 3a838e5342 cabana: use double for minimum value & maximum value (#28252)
old-commit-hash: 36dd49e542968bf13943dcd375424dae6c271b63
2023-05-21 12:35:45 -07:00
Jason Young f6622dc893 VW MQB: Add FW for 2020 Volkswagen Arteon (#28251)
* VW MQB: Add FW for 2020 Volkswagen Arteon

* mechanical sort
old-commit-hash: dee611a9bc211eabcc4773574ebc29607bb13a4c
2023-05-21 12:35:30 -07:00
Dean Lee 5198e64c8f cabana: reject group separator in QDoubleValidator (#28250)
old-commit-hash: 9ac73b719fe0c7bb6f3dd23514b2c837a3bd17ae
2023-05-21 12:33:38 -07:00
Adeeb Shihadeh 29efcea415 spi: handle timeout more like usb (#28249)
old-commit-hash: 038d2264aab863a5c262456782e8c84443c70c56
2023-05-20 23:35:14 -07:00