Commit Graph

8094 Commits

Author SHA1 Message Date
Shane Smiskol 389e35b1ba Kona: remove pid tuning
old-commit-hash: bacd2d5aee139865e1520c7d608883196edf2c42
2022-08-16 18:39:20 -07:00
Adeeb Shihadeh fe89c4d6ab loggerd: log all disk space usage in initData (#25455)
* bootlog: log all disk space usage

* not just agnos

* move to initData

* cleanup
old-commit-hash: aa32ea0f64e4035ac929e09ee85d268c3185221c
2022-08-16 16:37:58 -07:00
Jason Young b1590ae851 VW PQ: Volkswagen Passat NMS (#24768)
* VW PQ: Volkswagen Passat NMS

* regen CARS.md

* vEgo from Bremse_1 vehicle speed

* sync opendbc to master

* handle checksums and counters in opendbc

* LDW HUD message handling

* GRA_Neu_Zaehler -> COUNTER

* bump opendbc

* stub in till we find platform ACC standstill

* bump opendbc

* bump opendbc

* placeholder lateral accel data

* regen CARS.md

* counters now directly supported in opendbc

* additional door-open signals

* add trunk lid state

* add doors and trunk lid to signals list

* LDW_Status updates and passthrough

* bump opendbc for typo fix

* update AWV comment

* another comment update

* regen CARS.md with PQ in dashcam only

* don't show NMS footnotes while still in dashcam

* polish

* add stubbed-out dashcamOnly prep

* VW MQB: Cleanup stock ACC button handling

* bump opendbc and panda

* use controls resume output as trigger

* these can wait until taco bell

* bump opendbc

* pass through of previously fixed value

* retry CI

* checks already done in carcontroller

* don't need these anymore

* reduce diff for now

* slightly better abstraction

* more engine and trans FW

* turn signal is instantaneous stalk position

* weak sauce :(

* better clarity

* try torque tune

* add test route references

* bump opendbc and panda for OP long

* don't show steering faults for 3 seconds after start

* longitudinal control senders

* a little more torque

* test hax to torque control

* test a little more delay

* allow use of manufacturer ramp-up rate

* soften wheel-touch threshold

* Revert "test hax to torque control"

This reverts commit d1af459c29e36264aae406f72b8fcbc9ef22b9e0.

* punch it Chewie

* better ACC state and mainswitch handling

* a little more

* tweak max accel gradient

* oops

* also oops

* stuff

* srsly

* that's not how this works

* regen CARS.md

* footnotes now properly excluded for dashcam cars

* this wasn't a problem

* update network location detection

* bump submodules for ACC main switch

* clean up DBC references and long flag

* bump one more time

* one more time

* follow CANPacker counter refactor

* bump opendbc

* sync opendbc to master

* bump panda to fix Subaru tests

* DBC handling cleanup

* fix

* model-year stretch

* cleanup and rate bugfixes

* better abstractions

* simplify create_lka_hud_control

* volkswagencan -> mqbcan

* bump panda

* fix doc data bug, regen CARS.md

* style updates; diff reduction

* use common button enable logic

* not needed anymore

* refactor TSK and HUD enum values

* make common button events function

* consistency

* bump panda

* bump panda

* dashcam only

* don't need process_replay yet

* regen CARS.md with Passat NMS in dashcam

* can't handle dashcam-orphaned footnotes yet

* remove outdated standstill handling

* editor tried to be too helpful at some point

* don't need to import this anymore

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* follow parkingBrake refactor

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c27d7913f2db43ec668dd068199bc568802dd809
2022-08-16 14:32:59 -07:00
Adeeb Shihadeh d0523a69eb Toyota: add new corolla fw
old-commit-hash: 0ed8a7f42def893bece557c0acd3d5fb1e11ecde
2022-08-16 13:41:58 -07:00
Adeeb Shihadeh 82dd44c74d Hyundai: Kona torque tune (#25426)
* Hyundai: Kona EV 2022 torque tune

* Update selfdrive/car/hyundai/interface.py

* update for all
old-commit-hash: 0258ef74ff52b9f2d545537c05984de1b75252f8
2022-08-16 13:18:39 -07:00
Chris Souers bcbca2afc9 Honda: cleanup minEnableSpeed (#25447)
* Honda interface.py: cleanup `stop_and_go` variable

* Update selfdrive/car/honda/interface.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3fc001c945bb5e9092050bac1e55267dab63b9eb
2022-08-16 00:40:47 -07:00
Shane Smiskol fc494c2a2d Multilang: language policy (#25414)
* add draft translation merging policy

* Update policy copy

* copy

* add link

* Update selfdrive/ui/translations/README.md
old-commit-hash: 721fae7e8e0fdf239c2ef5bf138c8e7ca7f16771
2022-08-16 00:37:11 -07:00
Shane Smiskol 64195b3c99 process replay: print correct ref path (#25448)
* fix log paths ref printing in process replay

* rm that

* this is easier to read

* fix model_replay
old-commit-hash: 4602e5a8f9e23f173635e9e00a60ab3b73deb254
2022-08-16 00:32:42 -07:00
khoi 73c9728b9c Car docs: add video link for Hyundai Santa Fe 2022 (#25449)
* Add video link for Santa Fe 2022

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: df48ab9ee28a28173e3e84f6e7c5da585469de28
2022-08-15 21:46:56 -07:00
Shane Smiskol d98977c6c8 Car docs: test for missing harnesses (#25444)
* All cars must have a harness

* except body

* skip test

* Q for IoniQ
old-commit-hash: 574021a0acd7f632b902efe858a22cb7b66b67e6
2022-08-15 21:44:15 -07:00
MadBrad 74142e16b1 Car docs: add video link for 2022 Chevy Bolt EUV (#25443)
* Car docs: Add video link for 2022 Chevy Bolt EUV

* New video added
old-commit-hash: 07320fb8a83e9f7340b8db731be623fa6f8611b2
2022-08-15 15:29:46 -07:00
Shane Smiskol f0403f1468 Fix translations
old-commit-hash: e24da95120aad859e8946c46ace7ee2e09b856e7
2022-08-15 15:12:46 -07:00
Achilles308 940cf9a1b8 UI: fix inconsistent capitalization in toggle title (#25441)
old-commit-hash: 370f58b7d677ee85249122b60362f4c323a30e95
2022-08-15 13:49:43 -07:00
AlexandreSato 14a6aa77d6 Multilang: add Portuguese (Brazil) translation (#25287)
* Add Portuguese-Brazil translations

* Fixing some Japanese I used as a base.

* Add pt_BR translation

* Add QM file

* multilang: Fix typo and missing pt_BR translation

* fix typos in calibration translation

* pt_BR new translations

* fix translations

* update qm

* add Thai translation tkx tape#7233

* fix pt_BR translation

* improve pt_BR translation

* connect means connection not connected

* update

* plurals and typo

* fix unitTest error

* Add pt badge

* Add test for missing plural translations

* Make sure this doesn't test for translation completeness, we skip that test

* fix missing plurals

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 42e4efe706ab41958dc1877701fc947149baf053
2022-08-15 12:14:29 -07:00
Chris Souers 179b0d1a81 Lateral planner: Don't prompt/initiate lane changes if lateral control is not active (#25436)
* Don't set lane change events if we're not able to steer.

* more specific variable name

* update process replay socket config

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5b1ba4f1357ac7f385ee47c78b38cfb81bef42ab
2022-08-15 11:37:24 -07:00
Shane Smiskol 40189c8d3f GM: move set speed scaling to DBC (#25422)
* Move scaling into DBC for GM cruise setpoint

* bump opendbc

* no int

* Update refs

* Update ref_commit
old-commit-hash: f341df006a002a47034787673893f930caa81b53
2022-08-15 02:13:09 -07:00
Jason Young 7560dd6973 VW: Additional PQ / long control prep (#25427)
* VW: Longitudinal support prep

* minimize diffs

* make common button events function

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1f0a435763d6a3aa3fa6b7307450f73379de1185
2022-08-13 11:45:23 -07:00
Shane Smiskol 3f420d31e8 Revert "FPv2: fingerprint on all FW combinations" (#25417)
* Revert "FPv2: fingerprint on all FW combinations (#25204)"

This reverts commit c7e0622fa5bbf3ed8b000c86666f54f2b0a8c63d.

* Revert "Revert "FPv2: fingerprint on all FW combinations (#25204)""

This reverts commit bb68b7bc1c28ba8c67f3051b8f99fabc42e85771.

* For breaking, match only with current brand's FW

* Add comment for fuzzy matching

* fingerprint (online) only using FW from that brand

* test_fw_query_on_routes fingerprints like online

* extend match_fw_to_car to work for test_fw_query_on_routes

* Apply suggestions from code review
old-commit-hash: 45cfcfa3bba6ae75c89114e58de445eaef4c5627
2022-08-12 23:36:50 -07:00
kravatch aeefa5923a Mazda: add missing CX5 FW versions (#25423)
2022 cx5 signature
old-commit-hash: 3bb1315136cb2c19622159130bd9f0de947f1c66
2022-08-12 22:31:57 -07:00
Shane Smiskol dc4270ceee Car docs: fix required package for Bolt EUV 2022-23 (#25421)
* Need Adaptive Cruise Control

* no 2LT in configurator

* or redline
old-commit-hash: c2162420d24e8c4e43c63376cc5bc5576e467f58
2022-08-12 20:56:26 -07:00
Shane Smiskol 40b1ba348b Subaru: add missing Impreza 2017 FW versions (#25424)
* this is from hyundai query

* These are also from Hyundai

* Add missing FW versions from 5c3a4dc9bd0b2eaa|2022-08-12--18-01-46

* more FW
old-commit-hash: 5f5d944368ea933f634953f63fabde52d773ae3b
2022-08-12 19:53:44 -07:00
Jason Young ecc4e1c8f4 VW PQ: Cleanup and prep for upstream (#25351)
* VW MQB: Cleanup and abstractions

* regen CARS.md

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* regen CARS.md

* now that's a refactor of a different sort

* move shifter value init/storage

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3e3f960342fb97f26d64648172970d65ade08fc4
2022-08-12 19:43:36 -07:00
cydia2020 58f654e456 Multilang: fill missing Japanese translations (#25418)
* japanese translations

* ENTER literally means enter

* This makes more sense

* finished

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f0214d5e83661cf6d7bada40a6ffef703609b4fe
2022-08-12 16:26:50 -07:00
Jason Shuler 3072fb4aec GM: Bolt EUV 2022-23 port (#24875)
* Switch to ECMPRDNL2 for GM gear

* Removing manumatic gear #

* values.py almost complete

* Silverado and Bolt EUV val and CP

* GM controller updated

* Cam hrns supp done (in theory)

* cleanup for new cars

* Remove extra constant

* WS, etc cleanup

* removing the unused

* Fix kpBP typo

* Updated docs

* Skip's PIF tune

* Dropped LKA CAN error patch

* Add silverado sigmoid ff

* CAN Err & LKA latch patch

* Remove EPS fault fix (another PR)

* Remove Silverado (another PR)

* clean up some common params

* Remove Escalade FP

Remove Escalade FP

* comment

* Premier is just a trim

Premier is just a trim

Premier is just a trim

* no footnote: new Bolt is like most other cars, older GM were outliers not at the camera

* clean up

clean up

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* remove comments

* try spamming buttons on bus 2

* bump panda

* bumping opendbc w btn rc

* not needed for this port

This reverts commit 6af1f0ba799e075f877d7acc8ca0f117d97da361.

* add button safety

* Send next rc when spamming btns

* forward other signals in message

* missing DriveModeButton

* fill cruiseState.speed

* see if resume works without counter

* try the whole message

* send immediately and at 10Hz

* no resume, back to just button signal

* even holding random buttons it cancels

* Use torque controller with base tune

* stock long GM don't auto-resume yet

* Testing GM zero min steer speed

* Revert latcontrol

* revert opendbc

* latActive is basically lkas_enabled

* Update Bolt torque params

* comment

* clean up

* Add to releases

* Add test route

* Don't specify segment

* bump panda

* bump panda

* no harness for Bolt just yet

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* We support all and 2023

* move safetyParam up to first cam check

* Bump panda and update docs

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4ffe9e68db8d752d9da45febccfe4c28a6e8a0f9
2022-08-12 16:10:34 -07:00
Shane Smiskol 634b328d7f Car docs: update RX supported model years (#25419)
Update RX supported model years
old-commit-hash: e4340e02606fccf66600119195ee704a78bc26cf
2022-08-12 12:31:55 -07:00
Jason Wen 6001970be1 Hyundai: Car Port for Ioniq 5 (HDA2) 2022 (#25308)
* Hyundai: Car Port for Ioniq 5 2022

* Add FW versions

* HDA2 and modified harness for now

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Attempt to block LFA

* BYTE7 blocks LFA

* Merge and bump opendbc, panda

* Update docs per request

* HDA2 -> Highway Driving Assist II

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

* Update RELEASES

* remove that

* generate docs

* ev6 matches

* fix panda bus

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6e2584ef4b1016a4faf5b66b271acb1c29c2e753
2022-08-12 11:50:52 -07:00
Robbe Derks a353cc8627 Use steeringAngleDeg for angle control saturation warnings (#25404)
* use steeringAngleDeg for angle control cars

* update refs
old-commit-hash: 24645c92dadebaf69e1115d0ccd44edba4148b65
2022-08-12 11:30:19 +02:00
Shane Smiskol 6f3b060029 Car docs: update Odyssey supported model years (#25410)
* Revert Odyssey MY

* update docs
old-commit-hash: 4dbad71171df6ffbe54de2d16409abb707b23d09
2022-08-12 01:58:49 -07:00
HaraldSchafer 48522500ea Falcon Punch Model: turn cutting improvements (#25413)
* simplified change to mpc dynamics

* add jerk pts

* increase jerk cost

* increase jerk pts multipler to master value

* Add final commit

* 1456d261-d232-4654-8885-4d9fde883894/440 ac1a6744-85b0-4ec6-8ba7-608d0717b8f1/750

* some copies are useful

* update model replay ref

* less frames in model replay onnx cpu

* 1456d261-d232-4654-8885-4d9fde883894/440 264b67f5-3f52-4b58-b11f-58dd8aaf08bf/950

* 1456d261-d232-4654-8885-4d9fde883894/440 236fc556-fba3-4255-8ccf-684b22637160/950

* c9d10c64-bea4-41ec-8ca3-d8c886fda172/440 26d73dd2-862a-44ae-bbdd-32cc4f397ad7/900

* Fix couple tests

* Update ref

* Unused for now

* Add lateral factor comment

* Unused variable

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Bruce Wayne <yassine@comma.ai>
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
Co-authored-by: Bruce Wayne <batman@gpu06.internal>
old-commit-hash: 041458f632f197de3c954ed4a08650fbcb24690a
2022-08-12 00:47:59 -07:00
Adeeb Shihadeh c55b3fd7ee Hyundai: rename HDA2 platform to CANFD (#25411)
* Hyundai: rename HDA2 platform to CANFD

* bump panda

* bump panda

* cleanup panda safety config
old-commit-hash: 5f35c669a686f12f5079abc6d69b17fe2e65de94
2022-08-11 22:49:49 -07:00
Kento Tokuhiro d2de0b4e58 Lexus: add FW for 2020 Lexus RX Hybrid (#25346)
add: fingerprint for lexus rxh h 2020
old-commit-hash: 41daea118cd2f84556499a231091c6d03b6449ba
2022-08-11 20:22:42 -07:00
John Belmonte 40f4afd2d2 Car docs: J533 alternative isn't available on all cars (#25250)
* Skoda unsupported connector footnote; note J533 alternative isn't available on all cars

* limit footnote to Karoq

* Update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 58fa5cab2cb1539d9364002c6b933e5f2f76477c
2022-08-11 20:02:30 -07:00
Adeeb Shihadeh e5130eeb29 Subaru: new harness is on the shop (#25406)
* Subaru: new harness is on the shop

* subaru a
old-commit-hash: 96e8d5c9fe1a8084dfa5d97c78d4ea2037272420
2022-08-11 17:23:51 -07:00
Jason Young 814afc5308 Clean up timers on receipt of a non-0x78 UDS error (#25398)
* clean up timers on receipt of a non-0x78 UDS error

* Update selfdrive/car/isotp_parallel_query.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5d699a578cd72ebbfcfb1fc8565a567af4facbf6
2022-08-11 15:24:23 -07:00
realfast 34a61840f1 Ram 2500 + 3500 HD support (#25372)
* Ram HD Init

* Update selfdrive/car/torque_data/override.yaml

* Revert FW for 1500

* little cleanup plus test route

* bump panda

* revert 1500 changes

* bump panda

* same error max

* dashcam + cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ab227027c339f6169b20e17454ca40afe8b375fd
2022-08-11 15:14:18 -07:00
Shane Smiskol 2aaa88d4ab compatibility docs: fix Sienna min ACC speed (#25400)
Sienna actually needs a SDSU (and pedal?) for sng
old-commit-hash: f01266c2e964f49ad617965cd12607235f49dd1b
2022-08-10 21:44:03 -07:00
royjr e1bc976c59 Honda Civic 2022: forward fault bit from camera (#25280)
civic22_brakesystemlight

Rename and add comment

Try using camera's LKAS_PROBLEM value
old-commit-hash: d7409403470f01479737de5299e959c6b630f8e2
2022-08-09 12:57:03 -07:00
Adeeb Shihadeh 62b8b25cdf nav: same icon size for active & inactive lanes (#25383)
* nav: same icon size for active & inactive lanes

* update translations
old-commit-hash: ac305dacef7b4267131543194e16c569488310fe
2022-08-08 15:07:44 -07:00
Tim Wilson 5066d2c04c GM: separate EV/ICE gas/brake lookup tables (#25354)
* GM: separate EV/ICE gas/brake lookup tables

* removed blank line

* V are the same

* comment

better ordering

comment

comment

* Add some delay for the laggy brakes

Add some delay for the laggy brakes

* move actuator to only acadia

* start braking at 0 m/s/s

* Revert "start braking at 0 m/s/s"

This reverts commit 55c1dee733aab3dc037fb1705c9bd0ace55c849f.

* add delay for escalade

* revert EV changes

* Update selfdrive/car/gm/carcontroller.py

* comment

* only ACADIA

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2a4020da60b9c383efa75a5ffb54df3bc10756a0
2022-08-08 13:55:40 -07:00
YassineYousfi 6709805020 Model file too big: Revert "New model: minor fixes" (#25390)
Revert "New model: minor fixes (#25368)"

This reverts commit 4e69dfab07507510eb52f532e7038b01f83471b7.
old-commit-hash: 3afe7464dfc6a356f8eed4b30e3c79a2c32a5cf0
2022-08-08 12:42:46 -07:00
Adeeb Shihadeh 76a74b6830 UI: exit gracefully (#25388)
* UI: exit gracefully

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cff05be43f06a79f66c73cb5fb0fba4dbe6649e
2022-08-07 18:41:54 -07:00
Jason Young eba17f38b7 Chrysler: Correct ECU label for DASM (#25379)
Chrysler: Correct ECU label for 0x753
old-commit-hash: ef78641b6f9dcd203f493cbeab89639e5cc8e63e
2022-08-06 15:16:32 -07:00
HaraldSchafer f8a05617a3 New model: minor fixes (#25368)
* 1456d261-d232-4654-8885-4d9fde883894/440 ac1a6744-85b0-4ec6-8ba7-608d0717b8f1/750

* some copies are useful

* update model replay ref

* less frames in model replay onnx cpu

Co-authored-by: Bruce Wayne <yassine@comma.ai>
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: 55bf9385047ec876643cdebc197fba4f05cc4695
2022-08-05 17:28:15 -07:00
Shane Smiskol c0cf3a0735 Ram 1500: add harness (#25376)
Add Ram harness!
old-commit-hash: e05cfd21000d6a8a14ec26deddefde7e89528c84
2022-08-05 16:29:59 -07:00
Adeeb Shihadeh bbad107007 test onroad: more robust CPU usage test (#25375)
* test onroad: more robust CPU usage test

* fix linter

* remove debug print

* Revert "remove debug print"

This reverts commit 172cb655fe3558abeb0ec6432ff24b90c0aab183.

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 80cbcafb5f10f474efd86a085032705c994bab15
2022-08-05 16:12:32 -07:00
Shane Smiskol f82b61ccf4 Fix static analysis
old-commit-hash: 088719c86c050c9a73f45f5a472a88af5e539db1
2022-08-05 15:23:22 -07:00
Shane Smiskol 140c521982 GM: add OBD-II harness to all GMs (#25356)
* Update/cleanup CarInfo

* Update footnote

* this will be on the website

* update docs

Co-authored-by: Jason Shuler <jshuler@gmail.com>
old-commit-hash: e1d38be92faa4639b95374323b7dcbc09107b595
2022-08-05 15:19:21 -07:00
Shane Smiskol e441e42fc4 Multilang: test for vanished translations (#25342)
* Test for vanished translations

* this isn't needed anymore

* comment

* remove more unnecessary code since the great pluralization
old-commit-hash: eaf21e53e2a3e3e988b661412c919a331b5cf2a9
2022-08-05 14:49:21 -07:00
cydia2020 63cd100780 Toyota: Send ACC_HUD immediately on fcw (#25348)
* Send ACC_HUD immediately on fcw

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 88e034a2a30cc0dfd46f41b85ddfe9497fb11d0e
2022-08-04 23:24:20 -07:00
Jason Young 1b2eb30251 Chrysler: Add legacy FP for 2017 Jeep Grand Cherokee (#25362)
old-commit-hash: 00ee6da40a9b021077e07209ddb14d21aacd2565
2022-08-04 11:02:01 -07:00