Commit Graph

7794 Commits

Author SHA1 Message Date
Shane Smiskol
70682e04cf Toyota: remove STEERING_LKA frequency check (#25490)
* remove STEERING_LKA frequency check

* bump to master

* Update ref_commit
old-commit-hash: e5bb55ccd69fa42777fcd4d836adc777feff9cb1
2022-08-18 22:23:39 -07:00
Adeeb Shihadeh
1b96069159 Hyundai: add HDA1 signals (#25484)
* Hyundai: add HDA1 signals

* bump

* bump to master
old-commit-hash: 858eea91634a866cef2e2943fa3654bf3e46d522
2022-08-18 17:52:09 -07:00
Adeeb Shihadeh
f0c686f74e bump opendbc
old-commit-hash: 17992f29c82cbf2f5f7eacf6edf839f97c0e5816
2022-08-18 16:40:16 -07:00
Adeeb Shihadeh
dd63b8e8d2 disable panda deep sleep for now
old-commit-hash: d907021d58b14f49480308f01935c975daa590a6
2022-08-18 15:36:50 -07:00
Erich Moraga
00cd70f3e2 ssh docs: corrections and readability improvements (#25482)
* Corrections and readability improvements

* Apply suggestions from code review

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6a3a9944c25da54880460a579f3d4616ed4b7fa4
2022-08-18 15:18:50 -07:00
Shane Smiskol
2f2016fda6 Car docs: show more information about cars (#25415)
* back to actual information

* remove some star code

* round speeds

* Try out showing lateral acceleration

* remove that

* Fix speed units

* Add harness and try rounding to nearest half before scapping it

fix

^2

^2

* Add back steering torque star

* Fix static analysis

* auto-generate header

* fix static analysis. set to Harness.none by default

* rm
old-commit-hash: 747bcb013dabdb1f220dc97a37270b42cb4eae03
2022-08-18 15:12:18 -07:00
Alex Vazquez
b13ebdbffe Hyundai: add missing Santa Fe 2022 FW (#25479)
* Update values.py

Adding 2022 Santa Fe Limited drive train and sensors - 2.5T with Dual Clutch Transmission which is different than the SE/VRT/SEL models.

* Update selfdrive/car/hyundai/values.py

* Add back other FW

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5f8858266c4127ddd2df851c66678982667fc06b
2022-08-18 11:35:07 -07:00
Adeeb Shihadeh
2865664679 Subaru: Legacy 2020-22 support (#25313)
* Subaru: Legacy 2020 support

* clean that up

* force for now

* update years

* test route
old-commit-hash: a21780dbeac42de6e4ab153ed29cd48b41d7f521
2022-08-18 09:02:33 -07:00
Robbe Derks
fbcfa087d6 Panda fan controller (#25475)
bump panda and add fan power to pandaState
old-commit-hash: 7679f4fa90d936850113cd345b23313bf25fde6e
2022-08-17 21:23:03 -07:00
Shane Smiskol
777144f3c0 Hyundai: add missing Palisade transmission FW (#25476)
Add missing transmission fp for Palisade
old-commit-hash: 8ed87b12bc177c78ea3ca311d5a9e5675bea8436
2022-08-17 20:57:50 -07:00
Squiggle Squaggle
5954a6b7b6 Hyundai: add missing FW for 2022 Elantra SEL (#25472)
* added missing FW for 2022 Elantra SEL

I connected the Comma 3 with Hyundai K Harness and the vehicle was unknown. I worked my way through fingerprint 2.0 and compared the FW I had with this file and added the missing firmware to the Elantra_2021 section. I then went for a drive and it worked as intended. A number of the fwVersion were already there and so I've only added the ones that were missing.

* removed erroneous entries

removed entries that were not labeled Hyundai that I had added.
old-commit-hash: c870d0cbdeacc3ab6c3e460fdc484c1961a5b2a0
2022-08-17 20:49:38 -07:00
Adeeb Shihadeh
b02ca81c37 Ford: add Q3 and Q4 harnesses (#25474)
old-commit-hash: 7087a154f57ced0919c2f27d6eb5ca4e89d853ac
2022-08-17 20:29:56 -07:00
eFini
9ca692179f Fix is_rhd param name in map.cc (#25464)
old-commit-hash: 1de8ad891bcf8c0b73b24f7e3eab17f3448e7473
2022-08-17 20:21:38 -07:00
Adeeb Shihadeh
b52244ef78 rawgps in CI (#25473)
old-commit-hash: 96f8d3acd569a65b2989ce28299291e680d5222b
2022-08-17 20:00:15 -07:00
Shane Smiskol
2bd8ee0974 controls: block resume if cruise not previously engaged (#25402)
* see if this works at all

* can revert this

* think adding a no entry conditionally is nicer

* then we can revert this

* 0 makes more sense

* Revert "0 makes more sense"

This reverts commit efc89e8a2389ef58fbc0cec0a2872d24db524867.

* gm CC uses > 70

* bump cereal

* comment

* test on Honda

* whoops

* works

* add exception with todo

* moved button enable events to controlsd

* get rid of that

get rid of that

* different values for now

* car interfaces add enable event, controlsd can block it

* Regen and update refs

* delete if not set

* One place

one place

* regen routes are uninitialized first few frames

* Trim start of segment so it's like original segment

* stash

* regen

* not working

* clean up

* more cleanup

* revert

* bump ceral

* actually check resume button

* whoops

* pcmCruise cars don't use setSpeed, so we're good

* engage correctly in sim

* Update ref_commit

* Update refs
old-commit-hash: 5ed587ebeff24bacf70c44879616c51756730bba
2022-08-17 18:03:33 -07:00
Adeeb Shihadeh
2c85a11a31 expand fingerprint dict size for multipanda setups
old-commit-hash: baef4c1fb2b9dd20bfa172eb49961c4171076b1f
2022-08-17 15:30:20 -07:00
Adeeb Shihadeh
15e9bc319b Chrysler: ensure control bit is high before torque cmd (#25465)
* Chrysler: ensure control bit is high before torque cmd

* move that & update refs

* check control bit too
old-commit-hash: e0e0aad144f1e47486faa8c06d54d29c3dd94c79
2022-08-17 15:20:18 -07:00
Shane Smiskol
28a60fb42e process replay: initialize controlsState with original route (#25461)
* push

* do process replay

* commit

* update refs

* clean up

* clean up controlsd

* clean up controlsd

* Add assert

* debubuggier param name

* can be peristent

* Revert "can be peristent"

This reverts commit 6e6d3f6423c26a202623cef728e038259e9e46cd.

* Update selfdrive/test/process_replay/process_replay.py
old-commit-hash: 87ca42e993f1cc96cc313e33b3c538143e0a737c
2022-08-16 22:02:03 -07:00
Shane Smiskol
6f2782ed7f Kia: add missing Niro EV 2020 FW versions (#25446)
Add missing FW versions from 9b052af2986bbe3c
old-commit-hash: 63fb3e591e3d4c6a992ff3e9e7509a08b0f76659
2022-08-16 20:57:06 -07:00
Shane Smiskol
5e393a41a4 process replay: show errors when updating refs (#25460)
* Update test_processes.py

* Apply suggestions from code review
old-commit-hash: d7095d0d4368f0168433455f16236151a91ef83c
2022-08-16 19:39:11 -07:00
Adeeb Shihadeh
f0422151b5 Toyota: remove Camry Hybrid footnote (#25457)
* Toyota: remove TSS2 camry footnote

* Apply suggestions from code review

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1388c80a8f6b2e502ec771afba80d37df4da70ba
2022-08-16 18:41:45 -07:00
Shane Smiskol
1b59eba31e regen: initialize once (#25458)
regen: init once
old-commit-hash: b3dc7bb3cb75661993c068b993712a3a9f5238a2
2022-08-16 18:40:30 -07:00
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
Adeeb Shihadeh
bc83cea2d5 Update RELEASES.md
old-commit-hash: f35468e88c228ae9d3138213525ffdd5beb3edcd
2022-08-16 14:48:26 -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
Adeeb Shihadeh
6c03a57b85 pj: update torque control layout
old-commit-hash: 76a4daefffe0462162b984aae7baba25866903bb
2022-08-16 13:16:23 -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
Adeeb Shihadeh
be4392faaa Create SECURITY.md
old-commit-hash: ee3d72a1e3be3247fcc2a853a29fdf951242b04d
2022-08-13 23:28:44 -07:00
Jason Shuler
2922d5b7aa ubuntu_setup.sh detect base ubuntu version for variant distros (#25433)
ubuntu_setup detect base version
old-commit-hash: 65f230e6f607469d187da0f3d84a2759c48d3711
2022-08-13 18:53:45 -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
Adeeb Shihadeh
a4effaa34a body: add fw repo as submodule (#25420)
* body: add fw repo as submodule

* bump body

* file whitelist

* revert that for now
old-commit-hash: 7e6f4e74bfccead6e347329d09cee2317605f343
2022-08-12 16:46:33 -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