Commit Graph

6373 Commits

Author SHA1 Message Date
Shane Smiskol 9fc4aa38b3 offroad ui: update chill mode icon (#26523)
* Add files via upload

* Add files via upload

* Delete thick couch.svg

* Rename img_couch.svg to img_couch_old.svg

* Rename thickerer couch.svg to img_couch.svg

* Add files via upload

* Rename img_couch.svg to img_couch_alt.svg

* Rename best couch.svg to img_couch.svg

* delete old files
old-commit-hash: c3e2d35963a95bfeaf99048decbd6066c52113d8
2022-11-16 14:20:00 -08:00
Willem Melching 6dd30b3bca add missing <QPainterPath> include (#26520)
old-commit-hash: 8f9f015567a9f2dad66d31c25c514c436d1ba862
2022-11-16 09:25:36 -08:00
Lee Jong Mun 8b1e10a580 Multilang: kor translation update (#26522)
old-commit-hash: e79a384a9bdc0f7421e2a914abf88a302a7e32a2
2022-11-16 09:13:41 -08:00
Oxygen 87b94afb3b Updated main_zh-CHS.ts (#26524)
old-commit-hash: fe2368c9eb14ee49eb59af6d892becdb4d449443
2022-11-16 03:11:45 -08:00
Shane Smiskol 87a558190e Multilang: add missing translations (#26519)
* add back missing japanese translations that haven't been changed

* other languages

* fix
old-commit-hash: d8bc69c788c581485ac9e65e8f6d06e4c368935c
2022-11-15 23:52:47 -08:00
Shane Smiskol e78d32a92c Multilang: refactor experimental description (#26518)
* refactor e2e description

* forgot to update
old-commit-hash: 1899d439f4aaf8f218ad7d40d8d70bec0d6f151a
2022-11-15 23:11:53 -08:00
Shane Smiskol dcd22dda7a ui: offroad experimental mode button (#26498)
* draft

* draft

* before qpushbutton

* icon, clean up button, clicked goes to toggles

* fix icon

* add imgs

* img

* make square

* works with layouts!

* fix gradient

* this looks good

* clean up

* clean up

* remove padding around couch

* use scene's experimental_model, new onroad design

* rename widget

* def want 3

* update translations

* add img

* add 25px of padding!

* make 300px (no change)

* clean up old images

* 5 px smaller

* add white img

* fix from merge

* no style sheets

* see how this looks on device

* aliased vertical line (clean up)

* clean up

* imgs

* couch

* delete

* bye bye

* expand toggle support

* clean up

* fix dynamic icon

* make exp icon dynamic

* order

* move to offroad
old-commit-hash: 58b84fb401a804967aa0dd5ee66fafa90194fd30
2022-11-15 22:18:26 -08:00
Shane Smiskol 097f501e0d ui: handle two dynamic toggle icon cases (#26517)
handles two cases
old-commit-hash: 797c626984080e1ff17206b99e67a11bba87992f
2022-11-15 21:07:11 -08:00
Shane Smiskol cd33325949 ui: toggle control supports active icons (#26514)
* support active icons

* function

* fix crash if not setting icon but active icon

* revert

* clean up
old-commit-hash: 62024176c6e0386401374873e73512ab76f4204a
2022-11-15 20:52:31 -08:00
Shane Smiskol f53cdd6857 ui: function for setting toggle confirmation settings (#26516)
function for setting confirmation settings
old-commit-hash: b3f75b0c5b151cbcb048a31bb33c8f49b2a818b1
2022-11-15 20:46:42 -08:00
Vivek Aithal b274f3cff0 [torqued] Non-zero offline friction (#26513)
add non zero friction values
old-commit-hash: 3b71a9780dab0eed22dc277ce26a4d95c97f07df
2022-11-15 19:45:15 -08:00
Adeeb Shihadeh 8c19a25c99 update experimental mode disabled description
old-commit-hash: c6e3d566e9b23b2046f933f3dd9e189708230a56
2022-11-15 19:24:12 -08:00
Dean Lee 4756106694 UI: fix CameraView crash on deleting. (#26390)
* fix crash on delete

* TODO?

* after makeCurrent
old-commit-hash: 97a205c94df412d40db1a94bbc4bb735b5afea27
2022-11-15 19:07:50 -08:00
Adeeb Shihadeh 15b07085ff taco time
old-commit-hash: f3efc8998cee2750e65a99f96a6e9c787c17a19f
2022-11-15 18:49:52 -08:00
Vivek Aithal 71696403fb [torqued] Make torqued work on Hyundai Tucson (#26511)
* changes to get offline values

* set tucon values

* move to params.yaml
old-commit-hash: d4fd0c3c8798317e4af87642af30ddbcd39fc4d6
2022-11-15 18:41:43 -08:00
Adeeb Shihadeh aec5f32f3c publish experimental mode state (#26512)
* publish experimental mode state

* remove that
old-commit-hash: 9c96b21367af3dda9b193a821fe2e175a63f4176
2022-11-15 17:18:13 -08:00
Shane Smiskol 74aa9e5b80 offroad ui: support storing confirmation of a toggle (#26510)
* show confirmation toggle on first toggle of experimental mode

* don't store confirmation if users toggle off *after* this PR

* refactor

* cleaner

* not true

* try here
old-commit-hash: 2ad9a4f95a82bf922c86b373026c0e96f9971a80
2022-11-15 16:44:03 -08:00
Kurt Nistelberger bc00819b3f add laikad comment
old-commit-hash: 4eda53cef2adb949709166c2e5d204565376ce2e
2022-11-15 16:41:27 -08:00
hoomoose e0e94e4c8c Hyundai: longitudinal support for all CAN-FD EV and Hybrids (#26345)
* Update values.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update values.py

* Update values.py

* Update interface.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* cleanup

* update docs

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c5df76a6c8784af3bec64827a2dbab464d8ce39
2022-11-15 16:19:30 -08:00
Harald Schäfer beccaa2e76 More Honda rate limit (#26509)
* More Honda rate limit

* Update ref_commit
old-commit-hash: fbf3ef0895182ffab90ddda83fa485b02d5a76d6
2022-11-15 14:21:00 -08:00
Tim Wilson d985096170 Add video link for Volt (#26504)
old-commit-hash: bdc432d21824cc83627bb5d1abd5e99b4bc62fc3
2022-11-15 10:55:43 -08:00
Willem Melching c38032656a loggerd: add missing utility include (#26502)
old-commit-hash: 844f7692d48c5b2b2b6f8bc90070d9fc83ef7171
2022-11-15 10:44:25 -08:00
Harald Schäfer 88135d52cb Rate limit honda steer (#26500)
* Rate limit honda steer

* Update ref_commit
old-commit-hash: e58f6fbc11424e8059d6a86a4f0990f604c3a22f
2022-11-15 00:46:47 -08:00
Oxygen 3a4188580b Update missing items in main_zh-CHS.ts (#26492)
Update missing iterms in main_zh-CHS.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d7f943e27524744f20b008a55ad3358fc9272034
2022-11-15 00:23:37 -08:00
ambientocclusion da6b3ff15d Multilang: add missing Japanese translations (#26482)
Add new Japanese translations
old-commit-hash: ffa32df062fe3cf241e887e7afbc582118bd1e36
2022-11-15 00:04:20 -08:00
Shane Smiskol 0953a5d2ab ui: stretch abstract control title (#26499)
stretch toggle title so it's easier to expand
old-commit-hash: 7fcafa402239c30d8344c46608ade6a8fd4831f4
2022-11-14 23:28:43 -08:00
Jason Wen 5c11b2529b HKG: Car Port for 2022 Kia Stinger (#26397)
* HKG: Car Port for 2022 Kia Stinger

* Substitute KIA STINGER GT2 2018 torque params

* bump panda

* Add test route

* Update CARS.md

* Not this checksum

* Update test route

* Update CARS.md

* Harness C -> Harness K

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d766fee14e94011e261c8c557098a7223c87014
2022-11-14 19:46:29 -08:00
Vivek Aithal dd16344a1b [locationd] Add input checks (#26460)
* add input checks with same decay as reset_tracker

* add observation timings check

* typo

* bugfix

* improve offline locationd visibility

* sbugfix offline lld

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fbf2f3816b18321ed921cf03042327134be68edb
2022-11-14 15:02:26 -08:00
Jason Young 944b19d27d VW MQB: Add missing FW for 2016 Škoda Superb (#26484)
* VW MQB: Add missing FW for 2016 Škoda Superb

* regen CARS.md
old-commit-hash: 41e5c79948216af2d416dcea2bceb1ba53855022
2022-11-14 12:04:59 -08:00
Shane Smiskol 270fe5aac3 controlsd cruise speed: fix missing initial value
old-commit-hash: f15d169289c0d806a49af123678bd49b8b3ba4f1
2022-11-14 11:01:01 -08:00
Shane Smiskol 74d58ab0d6 GM: match stock enabling behavior (#26442)
* add first draft enable button timeout

* use allow_enable

* it doesn't count if brakePressed

* enable on rising edge of resume (matches stock)

* not today

* add comment describing the fault this avoids

* cleaner

* handle incrementing speed

* rename

* add test for not changing speed if enabled changes mid-press

* spacey

* ugh

* bumpo

* need this to fix a fault (draft)

* already have

* this should be cancel

* fine to do for all

* fine to do for all

* bump

* bumpo

* bump to master

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update ref_commit
old-commit-hash: 15383d30161de7646edf770153b0f81d15338c54
2022-11-13 21:13:46 -08:00
Shane Smiskol a570984aa3 interfaces: disable on falling edge of cancel button (#26493)
* both

* Update ref_commit
old-commit-hash: ca37d0c8cc43a88189c2a96b02aed0edfe5aa32e
2022-11-13 20:50:28 -08:00
Shane Smiskol a0539910bf controlsd: no speed increment if enabled on button rising edge (#26490)
* don't increment speed if we enabled on rising edge

* more realistic test
old-commit-hash: e46063086f079eff6292a32ae9aeeafa3aa523a3
2022-11-13 16:34:26 -08:00
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
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
Jason Wen 434324bfcb HKG: Bump Kia Telluride support to 2022 (#26467)
old-commit-hash: f6189b32351b21ad528486ee69c55666a1ef0d55
2022-11-11 11:40:21 -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
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