Commit Graph

8827 Commits

Author SHA1 Message Date
Hamid Ebadi
1ba96c78a8 carla sim: fix accelerometer sensor data (#26794)
old-commit-hash: 49ae806534a32858a327745698ca2f36e5210803
2022-12-20 13:45:06 -08:00
Samer Khatib
1b9975df91 Added unofficial support for Ubuntu 22.10 in ubuntu_setup.sh (#26828)
* Added unofficial support for Ubuntu 22.10 in ubuntu_setup.sh

Added a conditional to check if $UBUNTU_CODENAME is equal to "kinetic" in ubuntu_setup.sh. Installs the same packages as Ubuntu 22.04 LTS Jammy Jellyfish.

* Attempt #2 at adding unofficial support for Ubuntu 22.10 in ubuntu_setup.sh

Still checks to see if $UBUNTU_CODENAME is equal to "kinetic" I just fixed some errors that were appearing beforehand

* Update tools/ubuntu_setup.sh

* Update tools/ubuntu_setup.sh

* Update tools/ubuntu_setup.sh

* Update tools/ubuntu_setup.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 777dc9dcd2ef3c1011d487f7584f3da9c396e513
2022-12-20 13:44:33 -08:00
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
Jason Young
7fc0e65ca4 add German translation to release notes (#26806)
old-commit-hash: 2ac87a0a456ee4a2ffc66986c86e5c7e5d44f930
2022-12-14 22:14:28 -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
Dean Lee
a3a052b828 Cabana: improve DBC file selector (#26787)
old-commit-hash: 68272449e1775df2326f7f62d1f4868c701dff29
2022-12-13 20:25:50 -08:00
Dean Lee
18689809fa Cabana: add auto completion for Msg selector (#26788)
old-commit-hash: ffb709e6a68c8dd254f96bbf05f6799370352e7f
2022-12-13 20:25:29 -08:00
Adeeb Shihadeh
5851f4963c bump panda
old-commit-hash: 1b9771528b8d6b2c14e486ecda938ee7c13d36da
2022-12-13 20:24:12 -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
Dean Lee
af496ad60f Replay: add option -c to set segment cache size (#26782)
add option to set cache size
old-commit-hash: 6431f79fd27518ffe645fd35b11da92e32a74066
2022-12-13 00:20:51 -08:00
Dean Lee
4fc1724609 Cabana: warn and exit if no rlogs in route (#26784)
warn and exit if no rlogs in route
old-commit-hash: 322dec1ec835e18a162b32dc75a293f57130ee62
2022-12-13 00:19:04 -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
Dean Lee
82761359a3 Cabana: add not equal (!=) filter (#26780)
add not equal filter
old-commit-hash: 1e596f964c65ddec1303cebf9128e26df2379d90
2022-12-12 23:04:36 -08:00
Dean Lee
62dbfd8fd6 Cabana: add signal value filters to the logs view (#26779)
add filter to logs view
old-commit-hash: cecef89124be03eae55b6ee3bc33b3d5cdf7f93c
2022-12-12 22:31:36 -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
Adeeb Shihadeh
c94365ea81 Revert "deprecate carControl gas + brake fields"
This reverts commit 0f5750c650b7dd6e43773cd435e5ff4828825c67.

old-commit-hash: 945415981d3d496efcd62bdc800c9014d4df3712
2022-12-12 21:23:32 -08:00
Adeeb Shihadeh
ae8fb53bd6 deprecate carControl gas + brake fields
old-commit-hash: 4b2ecdcce76743e868d8668b5f704dddfed88198
2022-12-12 21:21:39 -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
ZwX1616
2bbf68c63b camerad: lower cost for OX high gain idxs (#26775)
old-commit-hash: e6e33531cad4f50c94d5522dc430900828467317
2022-12-12 16:35:25 -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
79170305dc Cabana: display all logs in log view (#26659)
* fetch more

* clear log in showevent

* fix wrong time value

* check list size

* fix canmessages::process

* cache all events

* improve segment cache

* cleanup
old-commit-hash: f49520db0fd343ccca5975ee62d602d09f98d8b0
2022-12-12 14:47:45 -08:00
Dean Lee
725e0665df common: add new class OpenPilotPrefix (#26753)
* new class OpenPilotPrefix

* move random_string to util

* rename file

* style

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d8254e95935f27d7c371ecc4c2d6c9ff8c204d0
2022-12-12 14:47:27 -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