Commit Graph

6525 Commits

Author SHA1 Message Date
Erich Moraga 1e6d3fc374 Add several missing HIGHLANDER_TSS2 firmwares (#26801)
* Add several missing HIGHLANDER_TSS2 firmwares

`@randywf#0891` 2023 Toyota Highlander (ICE)  DongleID/route d9049fcd50225c9d|2022-12-14--12-16-16

* docs.py gen'd CARS.md w/ 2023 Highlander update
old-commit-hash: 6d8f1667228d74e8c9afca52bafb50c0730a0d83
2022-12-18 20:09:40 -08:00
Shane Smiskol 4a4703fdcb Fix spacing in MultiOptionDialog (#26817)
Update input.cc
old-commit-hash: 66bdd8b1228eb725006cc4c2d389fe2cef7e674a
2022-12-17 00:50:37 -08:00
Adeeb Shihadeh a8c4347a5f nav: add polyline helpers (#26816)
* nav: add polyline helpers

* Update selfdrive/navd/map_renderer.py
old-commit-hash: d3a3d74830efb33eff6a9f9057a8d552e355bfd7
2022-12-16 21:46:07 -08:00
Harald Schäfer 58b1f1fd7f Sonata less starting state accel (#26363)
* Sonata less start accel

* Update ref_commit
old-commit-hash: 8744384a4f24326c9a39fdae8038b425f5f26df0
2022-12-16 17:21:42 -08:00
Shane Smiskol c6e6482603 Remove stretch from MultiOptionDialog
old-commit-hash: 6dc1fa255970a5976a6acc1f1b9424258ee3fcf3
2022-12-15 22:31:34 -08:00
Shane Smiskol e66e4d8af2 Lateral jerk unit test (#25759)
* stash

* more test

* less test

* clean test

* no angle

* add tolerance

* fix gm

fix gm

* test both

* lower some rates on hkg

* stash

* simpler

* bump panda

* Revert "bump panda"

This reverts commit f2137c221145cca723fe6ee3378ba947b7061965.

* only torque

* make kona pass

* duplicate __init__

* move

* half clean up

* half clean up

* more clean up

* more clean up

* fix static analysis

* calculate over 0.5 seconds

* limit to max steer

* type annotation

* calc once
old-commit-hash: aab33b1c5f56eb7ef66f1128c98d45d5340ebc60
2022-12-15 21:52:07 -08:00
Shane Smiskol 6a183d2bb3 soundd: increase upper bound for volume level (#26811)
Raise soundd upper limit
old-commit-hash: 0fd8e6f491264500a22d80c106ad1f6d78e99dc9
2022-12-15 15:34:44 -08:00
YassineYousfi 3309d1a218 navd: recompute if far for > 3 steps (#26798)
* navd: recompute if far for > 3 steps

* typo

* reset and unindent
old-commit-hash: 08b4cff484940b394fa64d89dad65330bcb51a4a
2022-12-15 10:51:21 -08:00
Adeeb Shihadeh a9be264076 navd: avoid re-routing back to past waypoints
old-commit-hash: 951ceecadd555abac3eea67fe655ddc33dc48b1f
2022-12-15 10:38:44 -08:00
Adeeb Shihadeh 1946615724 nav: add setting for extra coordinates to specify route (#26803)
old-commit-hash: be9a3fad377fbc6c0cd6d9a3c12f77fb0a3f299a
2022-12-14 18:48:39 -08:00
Adeeb Shihadeh b6a495e992 nav: add README (#26802)
* start docs

* Update README.md
old-commit-hash: 8d95faf97a0717be33ec12f9039efd22fad36857
2022-12-14 17:17:25 -08:00
royjr 8b41a133a1 Honda: set MINI_CAR when engaged (#26797)
* Update hondacan.py

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9743b37cf2b7c3b07a21c52b8be687659fb9b4bb
2022-12-14 15:51:24 -08:00
Jason Wen 92391790be HKG: Add FW Versions for Southeast Asia Kia EV6 2022 HDA1 (#26795)
HKG: Add FW Versions for Southeast Asia Kia EV6 2022
old-commit-hash: a143ebf6486480dfa6e2c67a7f68dcb1b9e329a3
2022-12-14 14:05:13 -08:00
Shane Smiskol 0026b3b4e6 soundd: increase upper bound for volume level (#26792)
Update sound.cc
old-commit-hash: 0c1fbe22b4d83ee5873c992d02b9bc46fd16ae7b
2022-12-14 02:19:09 -08:00
Jason Wen 31d14da03e Hyundai: Add FW Versions for Southeast Asia 2022 Ioniq 5 HDA1 (#26755)
* Hyundai: Add FW Versions for 2022 Ioniq 5 HDA1

* Check IONIQ_5 fwdCamera FW to segregate radar and camera SCC cars

* Test things out

* Is it that simple?

* Revert "Is it that simple?"

This reverts commit 6d48945925597fa686a7c6c534960487bb811e26.

* Revert "Test things out"

This reverts commit 772cd5f47ab4d92c6ba69e77f44ba3799849d399.

* Revert "Check IONIQ_5 fwdCamera FW to segregate radar and camera SCC cars"

This reverts commit 3ca1a2d6faa02e86b8fa628985cd5d76e1763688.

* No ADAS ECU detected, but has all messages for HDA2

* Check DISTANCE_UNIT on CRUISE_BUTTONS

* Revert "Check DISTANCE_UNIT on CRUISE_BUTTONS"

This reverts commit 9cbfe520f3406f8b1d66a56608a80417fea54871.

* Check DISTANCE_UNIT on CRUISE_BUTTONS for all CAN-FD HKG

* Update selfdrive/car/hyundai/interface.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Test fingerprint

* Southeast Asia specific

* Revert "Test fingerprint"

This reverts commit 33bb30b750c09f6d11e1b04d72e47f9354bdc9d5.

* updatedocs

* rename

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6fe592c678427b17c48f79487d12e9aed75ac551
2022-12-14 01:57:17 -08:00
Shane Smiskol a2bdb7617b HKG CAN-FD: remove duplicate FW versions (#26793)
* remove duplicate FW version

* Update values.py
old-commit-hash: 41681e1de102e74d73fe7e13257d51681dcc8b4c
2022-12-14 01:56:57 -08:00
cydia2020 7c1abacda8 Toyota: keep Lane Sway Warning system (#24782)
* Toyota: pass through sway warning system signals

* signal doesn't seem to exist on the Prius V

bad log?

* remove duplicated checks

* syntax

* Revert "syntax"

This reverts commit 6c30c30d46e55a3595d7e2519b448d49c2f08a66.

* Revert "remove duplicated checks"

This reverts commit 6a364984eb8adfb0ee61b87452730da389dd5ff1.

* Revert "signal doesn't seem to exist on the Prius V"

This reverts commit 57fa571fde79336a48c50b617755fb2f68b2f124.

* Revert "Revert "signal doesn't seem to exist on the Prius V""

This reverts commit 9b1c3f6cacea74aa12a472bf02c469ffcd88eb24.

* Revert "Revert "remove duplicated checks""

This reverts commit 38bc7f3de6011e81c8e5f825a15dc9ec2fdcf5b0.

* Revert "Revert "syntax""

This reverts commit f81f93631f9a04406f818a2528680017635f229c.

* hard code values for Prius V

* send ui once every 25 frames

remove send ui logic

* send UI immediately on pcm_cancel_cmd

* draft

* clean that up

* same order as toyotacan

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2f80580fee32d25857eac605a7eb88e63fa1126f
2022-12-13 15:42:54 -08:00
Shane Smiskol 82be7d0b1b HKG CAN-FD: steering pressed filter (#26789)
* steering pressed filter

* use a counter

* parameterize

* double

* filter doesn't instantly reset on falling edge of true steering pressed

* Update selfdrive/car/interfaces.py

* Update selfdrive/car/interfaces.py

* Update selfdrive/car/hyundai/carstate.py

* add comment

* the pain of committing without pycharm

* more like a filter

* Update ref_commit
old-commit-hash: 9be7e527a908274522020481d3275b1ab6790c2e
2022-12-13 14:33:20 -08:00
Jason Wen f1c3967491 Hyundai: Add FW Versions for 2017 i30 PD (Elantra GT) (#26760)
* Hyundai: Add FW Versions for 2017 i30 PD

* Update docs

* Update docs

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: bac56f78c9877daf56ff0edd413a14d4b04343c4
2022-12-13 00:42:50 -08:00
Shane Smiskol 9c576f2541 HKG: log accFaulted (#26785)
log accFaulted for HKG
old-commit-hash: 6b36cfaf7e08fed204422f7faf37da1014d817c3
2022-12-13 00:37:13 -08:00
Jason Wen eaecbb8995 HKG: Car Port for Genesis GV60 2022 (#26777)
* HKG: Car Port for Genesis GV60 2022

* Ugh, keeps forgetting torque params

* Update docs

* Test route

* more interesting segment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1f774e4ec39d6f1ef7f8cb4224c0dbfd4dd4fe62
2022-12-13 00:21:58 -08:00
Shane Smiskol bbed3a961a Events: actionable accFaulted alert text (#26783)
same alert text as steer and brake unavailable
old-commit-hash: 9e9600a4f4fb69dd99cc24b791ccdd62540348f1
2022-12-13 00:16:36 -08:00
Shane Smiskol 6dac5ed9e7 HKG CAN-FD: log brake errors/ACC faults (#26781)
* log brake_error

* bumpopendbc

* add signal to can parser
old-commit-hash: 72bf819ef06ee81f37d33f45979dfcf8d88b0ad3
2022-12-12 23:41:29 -08:00
royjr dac7e50493 Honda Radarless: clean up disabled radar check (#26776)
* exclude radarless cars

* this was never an issue, but clean up some stuff

* better

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0aada196e0c0ec75d6d8a1b9d96c41576aff88a1
2022-12-12 21:44:48 -08:00
Jason Wen 8e925f39ab HKG CAN-FD: common distance unit signal (#26758)
* Check DISTANCE_UNIT on CRUISE_BUTTONS for all CAN-FD HKG

* update refs

* move down

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c954634ac0dc622600b43757fcbbce1e66a68961
2022-12-12 20:33:16 -08:00
Adeeb Shihadeh 83c62c5040 update refs for GM checksum change
old-commit-hash: 7bfb63b93c1c2094931fff9054e1fa09268a1739
2022-12-12 19:10:03 -08:00
Jason Shuler fc38509523 GM: add checksum to button message (#26014)
* Add GM button msg checksum

* checksum that works for both, fix missing bit

* bump opendbc

* update comment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2f83b9872fe991d21e07a95cc518f91f140a856a
2022-12-12 17:26:30 -08:00
Cameron Clough c5cbd60a34 athenad: more types (#25877)
* add typing hints

* missed these

* revert functional changes and changes to uploader

* remove

* try any

* add types to test code

* try dataclass instead

* mypy needs this

* comments

* remove Any type

* remove unused method

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e1c739f7091942cf4108b3cc3564c09a7b0404d7
2022-12-12 17:15:37 -08:00
Michael Burns 4a41f1f6a2 Add missing FW versions for Audi S3/A3 (#26555)
* Added fingerprint for Audi S3/A3

* Fixed inconsistent spacing issue

* Fixed unit test error due to duplicate value

* Changing fwdRadar value back to 00101 from x0101

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cc7c2157e51dcb9fec6b76c117f54f80f589de0e
2022-12-12 15:26:35 -08:00
Chris Hart cc907ce599 SANTA_FE_2022: add missing FW versions (#26759)
* added fingerprint for unrecognized 2021 Santa Fe

* sorted fingerprints for SANTA_FE_2022

* missed some

db56bda387c66164|2022-12-11--10-25-12--0

* revert unnecessary changes

* just the shorter query responses

Co-authored-by: Chris Hart <chris@creyonbio.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1478aab005b3cd59b3494ad7edc16057cb542999
2022-12-12 15:13:13 -08:00
ajith339 bca84f4e60 Corolla 2019 GX New Zealand: add missing FW versions (#26746)
Update values.py

Added Missing FW
old-commit-hash: 91dd9b12cc4e4cd032489ef6a372ce3d81c1c55c
2022-12-12 15:05:48 -08:00
Jason Young 38565b63a9 Multilang: add German (#26411)
* initialize de_DE file

* German translation (#83)

Formatting will be an issue!

* update de_DE qm file

* Update main_de.ts

Fixed the German translations

* regen translations

* Fix typo (#84)

* regen translations

* Update selfdrive/ui/translations/main_de.ts

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@hotmail.com>

* we don't keep these in-tree anymore?

* Update main_de.ts

Neue Strings ergänzt

* update plurals

* remove vanished, add new strings

* don't translate a brand/service name

* capitalize some things, cleanup

* capitalize

* more cleanup, mark too-long strings

* proper (no) capitalization, line wrap

* Update selfdrive/ui/translations/main_de.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* update translation strings

* Updating the German translation (#89)

Added new strings and shortened others to fit the UI

* compromises for better button fit

Co-authored-by: Vrabetz <mpell@web.de>
Co-authored-by: CzokNorris <czoknorris@me.com>
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@hotmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d9fb64f0a15164e323c34f8c59a6950859719167
2022-12-12 15:02:15 -08:00
Dean Lee 2023a4de21 sensord: add helper function verify_chip_id to I2CSensor (#25830)
old-commit-hash: 6acf4e26b85b649fa2b239f5958e208fab8cf62c
2022-12-12 15:00:07 -08:00
Dean Lee b2d2104360 ui: stop vipc thread before the DriverViewWindow is hidden (#26738)
old-commit-hash: b1009c7f7d8bebd2d88867f52e792b39904dbff4
2022-12-12 14:44:04 -08:00
Adeeb Shihadeh 69f6d32678 controlsd: add blinkers to carControl (#26773)
* controlsd: add blinkers to carControl

* not actuators

* update refs
old-commit-hash: 151e0d8c39234f44e00ecf69fcd0cbe01b2b910c
2022-12-12 14:03:09 -08:00
Adeeb Shihadeh 0fd3e3d19d nav: build map renderer python lib by default (#26770)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f9599529720e1168eedcfe3594c2ec2501aaf9dd
2022-12-12 12:56:33 -08:00
Harald Schäfer f315819d47 Navmodel and driving style: update runner (#26762)
* Navmodel and driving style: update runner

* No driving style yet

* thneedrunner without extra inputs

* nav feature ref
old-commit-hash: 160c9ba1d24c8f5190708dd79bd2682fdadcd736
2022-12-11 15:25:36 -08:00
Adeeb Shihadeh f3caa7f84c EV6 blinkers (#26618)
* right blink

* left blink

* rm debug

* just the support code

* revert panda

* behind flag
old-commit-hash: c9b8f6457e8973adb37bb7168871b496cb76f43c
2022-12-11 14:19:53 -08:00
Adeeb Shihadeh 79ede7ad79 update refs for max lat accel change
old-commit-hash: 7548160dcdc932d1dd433d88574332c4c02be8a4
2022-12-11 14:19:07 -08:00
Bruce Wayne be540cec2d Update measured torque values for EV6 and IONIQ 5
old-commit-hash: c844680a70c371ad9cf15974662b9cb41d9c30bb
2022-12-11 14:01:49 -08:00
Shane Smiskol 6b6ac2bc67 Toyota: lower stopping speed (#26274)
* lower toyota stopping speed

* order

* Update selfdrive/car/toyota/interface.py

* Update ref_commit
old-commit-hash: ba7a4747659a1340cfa7605a916466feb1405d05
2022-12-10 02:25:16 -08:00
Shane Smiskol ec9060c7ba CarController: log steer sent to the car (#26743)
* log value sent to the car

* rename

* bump

* Update ref_commit
old-commit-hash: f36a3664b056a3500b68f4b5d7955b13bc8d0e4c
2022-12-10 02:03:40 -08:00
Jason Wen 71f8754c86 HKG: Add FW for 2022 Kia Telluride (#26750)
* HKG: Add FW for 2022 Kia Telluride

* only short trans

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 709f71d5e0bb886f2c7897b5e4831320bd739525
2022-12-09 23:35:10 -08:00
Shane Smiskol e13e373bfb alert: smaller standstill alert (#26751)
smaller standstill alert
old-commit-hash: 2545dd195efc164da9561ae9ae2115482eb9f931
2022-12-09 23:30:41 -08:00
Shane Smiskol a98e7d49cc LatControlAngle: fix setting saturation check speed (#26752)
set in init function
old-commit-hash: 84340f07abdef408f3fa29083af2f1a55cd3308e
2022-12-09 23:29:56 -08:00
Adeeb Shihadeh 44098cc024 navmodel: check images in replay test (#26747)
* move position

* log images

* enable test

* update refs

* ignore

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f3a711953afea1fcebb4c10b1e2462c4032ac147
2022-12-09 22:56:32 -08:00
Shane Smiskol de8ddbb73f LatControlAngle: lower saturation check speed (#26749)
lower speed for angle
old-commit-hash: d5ffb90a048d9a6d727e723e3551d5333abddef7
2022-12-09 21:43:55 -08:00
Shane Smiskol 333464b3d3 controlsd: set steer_limited for angle cars (#26748)
* Set steer limited for angle cars

* closer to torque threshold
old-commit-hash: c1b3d696bc5bdd799a937f569c94e0834230c89e
2022-12-09 21:43:27 -08:00
Adeeb Shihadeh 53431eead2 map renderer: retry when render fails (#26741)
* map renderer: retry when render fails

* cleanup
old-commit-hash: 3ff37cca2183e524dbd2f82692b07de324f8bc59
2022-12-09 14:31:18 -08:00
Adeeb Shihadeh 62f035b089 nav: add mapRenderState.frameId
old-commit-hash: 27dc9c0e79fc88acf88fff56ed119f4f2dc6105f
2022-12-09 13:24:44 -08:00