Commit Graph

8558 Commits

Author SHA1 Message Date
Shane Smiskol 210e281cd4 cruise speed tests: match controlsd initialization of cruise speed (#26491)
* helper functions and fix resetting/enabling

* comment (resume not yet tested)

* make it clear how this resets

* this is fine to enable once

* same here
old-commit-hash: 3524cc7f0bbb94ccb4d6b7b0504692d23288a05f
2022-11-13 16:15:17 -08:00
Dean Lee 27e79880ab Cabana: update detail view on change (#26476)
update on changed
old-commit-hash: 4ef941e954198a6ed77b4d1cf9389cd621da6aac
2022-11-13 12:56:48 -08:00
Dean Lee 69d3a5f4ba Cabana: added color labels to signal list (#26485)
add color label
old-commit-hash: 3d208567f34bac3f7f910c8f0343d9472b67bf6c
2022-11-13 12:56:26 -08:00
Dean Lee 1ece0c2f38 Cabana: remove bus time from can message (#26475)
remove bustime
old-commit-hash: f924e797b745bf3a93201de85f807a0d101eaa0e
2022-11-13 12:56:05 -08:00
Dean Lee 9897d0dda8 Cabana: miscellaneous fixes (#26477)
* update pos after adjusted margins

* ts >=0

* output debug message to console

* fix freq&count incorrect after replay auto loop restart replay

* fix different height of play/pause

* delay posting CAN message if UI thread is busy

* >=

* clear undo stack after saving

* no space allowed in names

* const referer
old-commit-hash: 7b0f7312e577754958468ff6a176077976f1d6e2
2022-11-13 12:55:46 -08:00
Shane Smiskol dc27f0de03 GM: handle run-away set speed (#26480)
* GM: Handle run-away set speed

* bumpo

* This is a test of both PRs combined

* tempbump

* Revert "tempbump"

This reverts commit b73e04fca25e6a1bac889e44afac6430d5ad7c30.

* Revert "This is a test of both PRs combined"

This reverts commit 22cc0e6900e0f0470f14ed55e7846e4b1d570826.

* fix

* bump

* fix that

* Bump to master

* fix fix
old-commit-hash: 65f494d845bbfa47293ad3158a68bc38c1b4dcff
2022-11-12 02:02:30 -08:00
Shane Smiskol 0f3aeb531c controlsd: clean up v_cruise updating (#26479)
* clean up

* clean up

* clean up
old-commit-hash: 870b79818566ab91159d23f1197183f3e6567608
2022-11-11 23:56:35 -08:00
Shane Smiskol 415152ade9 controlsd: add tests around cruise speed (#26478)
* start to add some tests

* test !pcmCruise

* test !pcmCruise

* better test

* fix pylint

* new test for making sure we adjust on falling edge of buttons
old-commit-hash: a638afb98e2b9d7844c04b1ec55c79d3274bc9b1
2022-11-11 23:11:49 -08:00
Kurt Nistelberger 2efa3cecc1 CI: regroup devices (#26436)
* regroup ci devices

* cleanup looopback test

* split loopback devices

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 5f094b836851c392b89429cc654082c659f7caec
2022-11-11 21:50:09 -08:00
Shane Smiskol dd6f16fcfd controlsd v_cruise: fix unknown buttons (#26474)
Fix button being None
old-commit-hash: d3f971b365613329a35a3140b9418977baebd856
2022-11-11 20:10:12 -08:00
Shane Smiskol 0371e47fac controlsd: resume does not increment speed while cruise standstill (#25470)
* fix runaway set speed for GM

* fix runaway set speed for GM

* Handle resuming to exit standstill generically

* clean that up

* ugh i want to fix all the formatting

* class that manages v_cruise

* better name

* move around

* add depressed_state

* fine to update on pressed change, better name

* cmt

* we need to check CS. button_change_state only works if we exit standstill on rising edge not falling edge

* no defaultdict
old-commit-hash: 76ac3d4c99df24f068aee3baedb796f65dfcca66
2022-11-11 19:43:30 -08:00
Shane Smiskol a7828e1ae3 controlsd: add cruise speed helper class (#26472)
* fix runaway set speed for GM

* fix runaway set speed for GM

* Handle resuming to exit standstill generically

* clean that up

* ugh i want to fix all the formatting

* class that manages v_cruise

* better name

* move around

* add depressed_state

* fine to update on pressed change, better name

* revert gm stuff

* revert standstill stuff

* remove

* revert that

* we can put this in here now!

* below update

* actually only used here

* one line
old-commit-hash: 811c096e6454dc2bbdd1e15a08952979c3fb7be1
2022-11-11 18:53:48 -08:00
Shane Smiskol 054cb1f8c1 Hyundai: fix button enable controls mismatch (#26471)
* bump panda

* buttonCancel needs to be a noEntry

* bompo

* Update ref_commit
old-commit-hash: 89b88fc7a23c393b1d74c5c74aacd5c4ee254d81
2022-11-11 14:49:38 -08:00
Shane Smiskol 400b36a57f longitudinal tests: add disabled maneuver (#26470)
* undeclared variable

* run first second disabled

* only test

* test disabled as a new maneuver

* bottom
old-commit-hash: 9f80a97eee52d128559b7fef0593b8c328a6142d
2022-11-11 14:02:09 -08:00
Shane Smiskol 3fb09283a6 planner: fix undeclared variable (#26468)
* undeclared variable

* run first second disabled

* revert test

* rev
old-commit-hash: 98206fb92e6a071127f6d6e4fec456d0c437444f
2022-11-11 13:22:56 -08:00
Adeeb Shihadeh 8e88116dba boardd: SPI bulk read + write (#26462)
* bulk read

* write

* write

* fix write

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 714ab491b0ff90170353df99f43f09bbae1ab00d
2022-11-11 12:51:14 -08:00
ZwX1616 d0fd3cc9a0 Update RELEASES.md
old-commit-hash: 4ab13300892e4d00d6ce7583c117a465c062adde
2022-11-11 12:48:41 -08:00
Jason Wen 434324bfcb HKG: Bump Kia Telluride support to 2022 (#26467)
old-commit-hash: f6189b32351b21ad528486ee69c55666a1ef0d55
2022-11-11 11:40:21 -08:00
Adeeb Shihadeh afcf6f2e3e Update RELEASES.md
old-commit-hash: c4f9f2d206b68d5c4032ab7d31eb85639ce064d1
2022-11-11 11:05:47 -08:00
Dean Lee c9a3795057 Cabana: auto update signal on field changes (#26464)
* auto update signal on field changes

* better icon
old-commit-hash: 3c507e8ad7a4de1d03402b178389de2bee9c4363
2022-11-11 10:34:49 -08:00
Dean Lee df73f5a15d Cabana: fix segfault on exit (#26465)
fix segfault on exit
old-commit-hash: 6cf9fff9193f3d61c81de65e88ba9ea908552062
2022-11-11 10:34:25 -08:00
Harald Schäfer dfd47a5f4d Add force decel to e2e long (#26448)
* add force decel to e2e

* Update longitudinal_planner.py
old-commit-hash: f23296bc87a79c59d9ab011f2ba35ed1049beb72
2022-11-11 10:46:03 -05:00
Adeeb Shihadeh d87ea66802 agnos 6.2 (#26441)
* agnos 6.2

* staging manifest

* production
old-commit-hash: b549e8174e4f8ccd2be3c324e47333e721db3914
2022-11-10 21:10:34 -08:00
Shane Smiskol 1ea7e49e8d controls: disengage on regen paddle independently (#26453)
* add regen braking field that's just used to add a pedalPressed

* bump

* bump

* Update ref_commit

* we want the standstill check

we want the standstill check

* see what diff is now

* Update ref_commit
old-commit-hash: 74b6e22a7dc8e0b1ec051f00037506d23a017ae8
2022-11-10 19:06:31 -08:00
eFini 2dc299e937 Multilang: add missing Chinese (Traditional) translations (#26433)
* update cht translation

* fix ellipsis -> spaces

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 765761d7d0e813a3397728dcbe81a23a30051288
2022-11-10 19:02:58 -08:00
Adeeb Shihadeh cec416ac66 boardd: verify SPI checksum (#26454)
* verify checksum

* import from panda

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f5bf3cd21bef0069e0f470ad79ccac3da361a295
2022-11-10 18:37:10 -08:00
Lee Jong Mun b1b9b98efa Multilang: kor translation update (#26445)
* Multilang: kor translation update

* fix
old-commit-hash: df145ae99f80d53667533f848b661768b7d5c269
2022-11-10 16:56:28 -08:00
Dean Lee 2ed7ce2eed Cabana: confirm exit without saving (#26452)
* confirm exit without saving

* typo
old-commit-hash: e08896c45d84f4005de156317ae902d601e9b895
2022-11-10 12:57:52 -08:00
AlexandreSato ed43e73c33 Multilang: Update pt-BR translations (#26444)
* update pt-BR translations

* fix some cutoff texts

* Delete main_pt-BR.ts

* Add files via upload

* Delete main_pt-BR.ts

* Add files via upload
old-commit-hash: 2961f8a7d8b891dd95912e0d21f54cf1f4afb696
2022-11-10 12:27:25 -08:00
Dean Lee 26fb7d0db0 Cabana: remember last directory in open file dialog (#26449)
* remember last directory in open file dialog

* use QFileInfo
old-commit-hash: 122c0ec135804ac6a106f1e06f4cb3467fb13b1a
2022-11-10 10:37:52 -08:00
Dean Lee 5f80ca6359 Cabana: Added support for undo & redo (#26440)
* undo/redo

* display command list to rolling the state backwards or forward

* update detailview after rolling states

* add * to title bar to indicate dbc has changed

* fix signal pointer address changed after removed

* cleanup

* fix id error

* clear undo stack after dbc file changed

* cleanup

* use map

* cleanup

* typo
old-commit-hash: 7c922eafe9d9c8e07de80f8bafcd9b2dc2932c13
2022-11-10 10:37:38 -08:00
Dean Lee e48e9b30f0 Cabana: improve the BinaryView & fix known issues (#26409)
* fix flipping issue

* dragging up to create little endian signal

* transform between little & big endian

* complete selection functions

* scroll to top after msg updated

* remove empty line

* cleanup code

* remove extra semicolon

* fix indentation

* minmax

* dont select hex column

* create msg if not existed
old-commit-hash: b320ac6c237eb0d31ab54227066e8ea6ba0f4dec
2022-11-09 22:05:18 -08:00
YassineYousfi b7b827bdd2 min lane change speed 20mph (#26434)
old-commit-hash: 737408066895452f31f08144c129551b94e64662
2022-11-09 22:04:57 -08:00
ZwX1616 0ec1b66315 camerad: fix OX flicker (#26439)
old-commit-hash: 5eaf525c18becad63205fd3add4bfe540f70b01a
2022-11-09 21:49:24 -08:00
Shane Smiskol 8c981ed847 Toggle titles: proper capitalization (#26438)
* proper caps

* update translations

update translations

update translations

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 4efb01ece2a9ef54152682c1dc3756d3e4161241
2022-11-09 20:33:01 -08:00
Shane Smiskol a7eaaa16bb ui: static color non-e2e path (#26406)
* remove orientation color changing

* "just green"
old-commit-hash: 0941e40177eb0eb7a49bb08628e5aad2deb19c7f
2022-11-09 20:31:38 -08:00
Nelson Chen fcf4893f7d Toyota: add missing engine FW for RAV4H_TSS2 (#26432)
"rav4 hybrid xse 2020"

From Rogrhoa#2158 on Discord.

Example Route: 64edc30d23cad8cb|2022-11-09--20-02-03
old-commit-hash: d3122cc77e169d8eb87663741bacc165f7062d56
2022-11-09 19:59:12 -08:00
Shane Smiskol 848dc2da49 experimental long toggle: adjust description (#26437)
* Spell out AEB

* vanish
old-commit-hash: af84f1b3506082d644c2f52f88390fabcc9f7835
2022-11-09 19:42:34 -08:00
Shane Smiskol b2e82d028a ParamControl dialog: more explicit confirmation text (#26431)
* Use enable

* vanish

* fill in missing translation

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: a3cd50c5bbb924eaf40ab18d76f603edfc2f5a2a
2022-11-09 19:38:17 -08:00
Shane Smiskol 7c6601fed1 Multilang: clean up translation string (#26435)
* update translations

* do pt

* do pt

* do ko

* do ko

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 5a3c5e7a4b78853d6b350f551432a1bb6050eba9
2022-11-09 19:33:42 -08:00
Adeeb Shihadeh 18203a1cee UI: add set speed clarification for e2e long
old-commit-hash: 1fda075c7306976099bcfbb6b0a6303e819036b4
2022-11-09 18:42:51 -08:00
Shane Smiskol ab5e2b66e8 Toyota: factor on cluster speed to match dash (#26408)
* add a minimum factort

* Update ref_commit
old-commit-hash: e1001a3036fb93d6d0340d139d4ae2a1f2419d52
2022-11-09 18:27:30 -08:00
Shane Smiskol 2f978cd1a3 Multilang: mark some translations finished (#26430)
* mark finished translations

* fix

* cleanup

* revert
old-commit-hash: 6c03e093c6d1d9d45dc342cce2374656b80ecaa9
2022-11-09 17:31:58 -08:00
Shane Smiskol 215c16d661 Multilang badges: assert width exists in xml
old-commit-hash: bbc14656d937cadacbcb87ed88cb8800eb6b62fa
2022-11-09 17:30:33 -08:00
Shane Smiskol 9913ba51a9 multilang badges: no need to handle plurals
old-commit-hash: d8327bd9bed9833eb3d58a51097215c2de803d1b
2022-11-09 16:58:02 -08:00
Shane Smiskol c5f5a951dc translation badges: add number of unfinished translations (#26429)
* some clean up and add missing translations

* unfinished

* set proper width

* make this variable common
old-commit-hash: f540002e3fb6bcb15323add59d87269e7da6d00f
2022-11-09 16:49:17 -08:00
Lee Jong Mun 90418d1f97 Multilang: Korean translation update (#26424)
fix
old-commit-hash: 26d66ac671a6b15be4611face27844bae90b185f
2022-11-09 16:15:44 -08:00
AlexandreSato abd77480dc Toyota: Add missing Corolla Cross FW verions (#26426)
* add geraldo fingerprint

* add to non-H

* Update selfdrive/car/tests/routes.py

* Update non-us cross model years

* add test route

* Update routes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 52378c97ecde4c489e18e23d01021f27c3acf073
2022-11-09 16:06:36 -08:00
Shane Smiskol 4980210416 Hyundai: add missing Sonata 2022 FW versions (#26428)
* Added FW Versions for 2022 Elantra and 2022 Sonata. 

Added for CAR.ELANTRA_2021 :

Ecu.transmission :  b’\xf1\x87CXMQFM3421815JB2ww\x96y\xaa\x98x\x87\x88wtwTfuwWh\x9f\xff\x8a\xff\xff\xffE\xe3\xf1\x89HT6VA640A1\xf1\x82CCN0N20NS5\x00\x00\x00\x00\x00\x00'

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x82CNDWD0AMFCXCSG8A'


Added for CAR.SONATA :

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x81HM6M1_0a0_J10'

Ecu.transmission: 
b'\xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x81T02832A1  \xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x82VDN8T25XXX832NS8'

* Update values.py

* Removed FW Versions for Elantra_2021.

* fix

Co-authored-by: humza2000 <111622889+humza2000@users.noreply.github.com>
old-commit-hash: 048cce2149db34ea0e32df3673248fbbc8e804ad
2022-11-09 16:04:19 -08:00
AlexandreSato 5cdd97649d Multilang: update pt-BR (#26420)
* update pt-BR translations

* fix some cutoff texts

* Update pt-BR translations
old-commit-hash: 584842488f4cab62bb9d5e4d8fc2cc3090634fb7
2022-11-09 15:13:17 -08:00