Commit Graph

9389 Commits

Author SHA1 Message Date
Justin Newberry
c1909df437 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>
2023-05-25 22:33:04 -07:00
Comma Device
78df554217 boardd: only look for new usb pandas 2023-05-25 19:35:57 -07:00
Shane Smiskol
21f88f997d Revert "ui: smooth wide cam transition" (#28298)
Revert "ui: smooth wide cam transition (#28277)"

This reverts commit 26064196d0.
2023-05-25 19:23:50 -07:00
Cameron Clough
13cf695738 UI: PrimeUserWidget cleanup (#28300)
* cleanup

* setMargin is obsolete

* more
2023-05-25 16:40:40 -07:00
Dean Lee
54506774f0 cabana: support editing comments for messages (#28299) 2023-05-25 13:38:58 -07:00
Cameron Clough
387e865793 UI: update "Finish Setup" widget style (#28287)
* UI: update SetupWidget registration design

* SetupWidget: add icon

* Revert "SetupWidget: add icon"

This reverts commit 325d2d390496f287953beb1634b229ff4ff31717.
2023-05-25 13:01:51 -07:00
Kacper Rączy
1f0ff21eee laikad: unit test refactor (#28295)
Refactor laika tests to use replay_process
2023-05-25 11:34:10 -07:00
Dean Lee
d5d1ca11d4 cabana: support editing dbc files without a stream (#28294)
* no stream mode

* disable tools menu if no stream

* disable splitter

* cleanup

* refactor matchMessage
2023-05-25 10:51:28 -07:00
Dean Lee
53190e926c cabana/MessageViewHeader: fixed header position issue (#28291) 2023-05-25 10:50:36 -07:00
wileytom65
2f625f64f0 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>
2023-05-25 00:06:54 -07:00
Cameron Clough
488975f06e UI: add missing QPushButton pressed styles (#28289)
* UI: add missing QPushButton pressed styles

* keyboard is special
2023-05-24 22:44:10 -07:00
Kacper Rączy
2bd37acef3 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
2023-05-25 07:41:45 +02:00
Dean Lee
a26e6d1633 cabana: supports switching streams on the fly (#28081)
* open stream

* use std::atomic::exchange

* emit streamStarted immediately
2023-05-24 20:47:37 -07:00
Shane Smiskol
75fc029130 manager: clear onroad/offroad transition params on start (#28199)
* clear onroad transition params

* all offroad params also have manager start
2023-05-24 20:46:59 -07:00
Adeeb Shihadeh
dee7ced00e controlsd: check longitudinalPlan avg freq (#28200) 2023-05-24 20:46:44 -07:00
Dean Lee
634280ca51 ui: update DM icon at every frame (#28226) 2023-05-24 20:46:27 -07:00
Dean Lee
2c44c8980c ui/MainWindow: use switch in eventFilter (#28276) 2023-05-24 20:45:58 -07:00
Shane Smiskol
26064196d0 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
2023-05-24 17:28:33 -07:00
Shane Smiskol
2ea7b69e26 CARS.md: footnotes header (#28285)
footnotes
2023-05-24 17:08:19 -07:00
Adeeb Shihadeh
394f0d2c30 bump panda 2023-05-24 16:29:34 -07:00
Cameron Clough
d659243648 UI: cleanup OffroadHome layout (#28284) 2023-05-24 15:41:14 -07:00
Cameron Clough
94937e0694 UI: reduce margin around software version (#28283) 2023-05-24 15:00:17 -07:00
Kacper Rączy
ac0272d0cc process_replay: use PARAMS_ROOT (#28282)
Use PARAMS_ROOT in process_replay
2023-05-24 13:16:22 -07:00
Adeeb Shihadeh
9f3c0a7781 update loggerd and ui cpu 2023-05-24 10:04:53 -07:00
Harald Schäfer
2c65b843a5 Calibrationd: allow more pitch angle (#28255)
* Calibrationd: allow more pitch angle

* Update ref_commit
2023-05-24 11:41:01 +02:00
Adeeb Shihadeh
696b69aa23 bump panda 2023-05-23 20:51:15 -07:00
Kacper Rączy
347004fdad aarch64: disable carla and onnxruntime-gpu on non-x64 hosts (#28261)
Disable carla and onnxrunner-gpu on aarch64
2023-05-23 19:50:56 -07:00
Adeeb Shihadeh
115fc66514 remove sleep on launch (#28236) 2023-05-23 19:49:54 -07:00
Kacper Rączy
00ff096ca2 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275) 2023-05-23 19:48:57 -07:00
Kacper Rączy
e6ac6320ac 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
2023-05-23 17:24:16 -07:00
YassineYousfi
d0a8b3780c fix input order in onnxmodel (#28274) 2023-05-23 16:11:51 -07:00
Jason Young
84886e28df 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>
2023-05-23 14:07:21 -07:00
Kacper Rączy
12b3ffcc49 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
2023-05-23 12:59:09 -07:00
Adeeb Shihadeh
bf8e6d0d29 pre-commit: autoupdate hooks (#28271)
Update pre-commit hook versions

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

* Change getenv type signature

* Use getenv default_val
2023-05-23 19:02:22 +02:00
Maxime Desroches
3785e161f0 car docs: allow auto_resume override (#28264)
* specify auto_resume

* format

* car compat

---------

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

* fix docs bot

* revert

* use dataclass

* sad this doesn't work
2023-05-23 00:36:42 -07:00
Maxime Desroches
715d7f9e3d car docs: keep similar naming (#28262)
better name
2023-05-22 19:30:04 -07:00
Adeeb Shihadeh
ea1e0a16dd boardd: set min spi timeout 2023-05-22 19:00:45 -07:00
Maxime Desroches
d433dc693d car docs: pass all car parts + types to template (#28260)
add car parts + types to template
2023-05-22 18:43:57 -07:00
Adeeb Shihadeh
4751d2b57c tici: log disk info (#28259) 2023-05-22 16:53:07 -07:00
Adeeb Shihadeh
577c17bcb8 add new driving model to release notes 2023-05-22 15:19:23 -07:00
Mitchell Goff
328b5d9d47 Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71

* Updated model_replay_ref_commit
2023-05-22 15:11:04 -07:00
Adeeb Shihadeh
a3d5913228 adjust uploader cpu usage 2023-05-22 10:48:15 -07:00
Maxime Desroches
9f5f8b603c 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>
2023-05-22 10:17:33 -07:00
Adeeb Shihadeh
1b12f17ee3 test onroad: add gpsLocationExternal to gps proc list 2023-05-22 01:10:24 -07:00
Adeeb Shihadeh
2664dba52e jenkins: switch order of tests 2023-05-22 00:48:51 -07:00
Comma Device
18559f4135 boardd: lower timeout for getting serial 2023-05-22 00:45:52 -07:00
eFini
b2e32a7ef8 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>
2023-05-22 00:06:39 -07:00
Mejty38
b977e1a4e9 Skoda: add fw for Superb 2020 (#28229)
* Update values.py

* sort and remove duplicate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-21 22:18:37 -07:00