Commit Graph

7801 Commits

Author SHA1 Message Date
Shane Smiskol e7c9fab9a6 Car docs: add more videos (#25494)
* Add Civic video

* add mazda cx-9 2022 video link
old-commit-hash: a0af3a998d3a36c9f65ca6d6443f043cbf5be068
2022-08-19 13:34:23 -07:00
Adeeb Shihadeh 0fb312b352 bump panda
old-commit-hash: 93b01fd9eaa472ab93930bf8259574bdb7040c95
2022-08-19 12:54:08 -07:00
Shane Smiskol 1101462fc7 GM pcmCruise: cancel more reliably (#25454)
* Cancel more reliably

* Apply suggestions from code review

* Try sending multiple

* Apply suggestions from code review

* Apply suggestions from code review

* Update selfdrive/car/gm/carcontroller.py

* lower rate a bit

* try this

* Update selfdrive/car/gm/carcontroller.py
old-commit-hash: fe509e0354466a301dd403d29b5b2c82aea8aad1
2022-08-19 12:04:12 -07:00
Jason Wen 40ceb71bc6 Rename KIA_NIRO_HEV to KIA_NIRO_PHEV (#24216)
* Add car port: Kia Niro Plug-In Hybrid 2018

* Add additional FW version

* Low speed lockout 32 MPH

* Add test route

* min_steer_speed in CarInfo

* Remove min_steer_speed from CarInfo

* Add to CARS.md

* run generator

* update min enable speed and regen

* update ci routes

* these are the same car

* i think we only add a note if it's a new platform

* fix HEV -> PHEV

* Add test route

* dup fw

* haha we already support this car in #25187

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 03b074426a7de22b9f5dbfb9bb30f8325ac43b4a
2022-08-19 00:48:51 -07:00
Shane Smiskol c3342795f2 Common button enable/cancel event creation (#25445)
* handle button presses in create_common_events

* remove from imports

* Handle

* Fix Honda (it hardcodes pcmCruise)

* Update selfdrive/car/volkswagen/interface.py

* Update selfdrive/car/volkswagen/interface.py
old-commit-hash: e3d3fd02300ef7109f5fdf0717395eca3757195e
2022-08-18 23:40:24 -07:00
Shane Smiskol f49bbf60b6 joystick: revert max axes value (#25483)
revert this to 255
old-commit-hash: 16fe10e1281d68d8e560a9489b973bd34417d469
2022-08-18 23:34:48 -07:00
Shane Smiskol 50fb17775d Multilang: add plural translation test (#25491)
Add test for correct format specifier for plural translations
old-commit-hash: 844d4d2eceee487aaaf27601522cb9b9bb351614
2022-08-18 23:32:11 -07:00
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