Commit Graph

8827 Commits

Author SHA1 Message Date
Hamid Ebadi 1ba96c78a8 carla sim: fix accelerometer sensor data (#26794)
old-commit-hash: 49ae806534
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: 777dc9dcd2
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: 6d8f166722
2022-12-18 20:09:40 -08:00
Shane Smiskol 4a4703fdcb Fix spacing in MultiOptionDialog (#26817)
Update input.cc
old-commit-hash: 66bdd8b122
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: d3a3d74830
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: 8744384a4f
2022-12-16 17:21:42 -08:00
Shane Smiskol c6e6482603 Remove stretch from MultiOptionDialog
old-commit-hash: 6dc1fa2559
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: aab33b1c5f
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: 0fd8e6f491
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: 08b4cff484
2022-12-15 10:51:21 -08:00
Adeeb Shihadeh a9be264076 navd: avoid re-routing back to past waypoints
old-commit-hash: 951ceecadd
2022-12-15 10:38:44 -08:00
Jason Young 7fc0e65ca4 add German translation to release notes (#26806)
old-commit-hash: 2ac87a0a45
2022-12-14 22:14:28 -08:00
Adeeb Shihadeh 1946615724 nav: add setting for extra coordinates to specify route (#26803)
old-commit-hash: be9a3fad37
2022-12-14 18:48:39 -08:00
Adeeb Shihadeh b6a495e992 nav: add README (#26802)
* start docs

* Update README.md
old-commit-hash: 8d95faf97a
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: 9743b37cf2
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: a143ebf648
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: 0c1fbe22b4
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: 6fe592c678
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: 41681e1de1
2022-12-14 01:56:57 -08:00
Dean Lee a3a052b828 Cabana: improve DBC file selector (#26787)
old-commit-hash: 68272449e1
2022-12-13 20:25:50 -08:00
Dean Lee 18689809fa Cabana: add auto completion for Msg selector (#26788)
old-commit-hash: ffb709e6a6
2022-12-13 20:25:29 -08:00
Adeeb Shihadeh 5851f4963c bump panda
old-commit-hash: 1b9771528b
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: 2f80580fee
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: 9be7e527a9
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: bac56f78c9
2022-12-13 00:42:50 -08:00
Shane Smiskol 9c576f2541 HKG: log accFaulted (#26785)
log accFaulted for HKG
old-commit-hash: 6b36cfaf7e
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: 1f774e4ec3
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: 6431f79fd2
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: 322dec1ec8
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: 9e9600a4f4
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: 72bf819ef0
2022-12-12 23:41:29 -08:00
Dean Lee 82761359a3 Cabana: add not equal (!=) filter (#26780)
add not equal filter
old-commit-hash: 1e596f964c
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: cecef89124
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: 0aada196e0
2022-12-12 21:44:48 -08:00
Adeeb Shihadeh c94365ea81 Revert "deprecate carControl gas + brake fields"
This reverts commit 0f5750c650b7dd6e43773cd435e5ff4828825c67.

old-commit-hash: 945415981d
2022-12-12 21:23:32 -08:00
Adeeb Shihadeh ae8fb53bd6 deprecate carControl gas + brake fields
old-commit-hash: 4b2ecdcce7
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: c954634ac0
2022-12-12 20:33:16 -08:00
Adeeb Shihadeh 83c62c5040 update refs for GM checksum change
old-commit-hash: 7bfb63b93c
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: 2f83b9872f
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: e1c739f709
2022-12-12 17:15:37 -08:00
ZwX1616 2bbf68c63b camerad: lower cost for OX high gain idxs (#26775)
old-commit-hash: e6e33531ca
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: cc7c2157e5
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: 1478aab005
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: 91dd9b12cc
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: d9fb64f0a1
2022-12-12 15:02:15 -08:00
Dean Lee 2023a4de21 sensord: add helper function verify_chip_id to I2CSensor (#25830)
old-commit-hash: 6acf4e26b8
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: f49520db0f
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: 0d8254e959
2022-12-12 14:47:27 -08:00
Dean Lee b2d2104360 ui: stop vipc thread before the DriverViewWindow is hidden (#26738)
old-commit-hash: b1009c7f7d
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: 151e0d8c39
2022-12-12 14:03:09 -08:00