Commit Graph

5838 Commits

Author SHA1 Message Date
Adeeb Shihadeh 5239f3252c update car candidate docs (#25536)
* update car candidate docs

* little more

* that's a nice wikipedia

* quotes
old-commit-hash: c8378b6ad58fc6ba68976ffaff49b03aa2224bbb
2022-08-23 16:54:45 -07:00
Rewat S 82167915a8 Add Thai translations (#25189)
* Add Thai translations

* update to add plurals

remove

* Update translations

* Update Thai translation to match English source.

* Add to badges

* use shorter km/h

* Add test for correct format specifier for plural translations

* pass new test

* Update some sentences to make it clear.
Change short form of some words.

* Hide from the UI

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a34acc316e8c4fc6d4ea101ef58919686cd0807c
2022-08-23 16:29:47 -07:00
Shane Smiskol 9a48839146 test_models: pass carFw into car interface (#25535)
pass carFw into get_params
old-commit-hash: f8e44f2e9b186d5a3f99c9dfcf46dbf887b3861b
2022-08-23 13:42:14 -07:00
Jason Wen b51561c156 HKG: Add FW for 2018 Kia Stinger (#25531)
* HKG: Add FW for 2008 Kia Stinger

* 2018 in disguise

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f41dc62a12cc0f3cb8c5453c0caa0ba21e1bd01e
2022-08-23 11:21:07 -07:00
AlexandreSato 85239ac374 Toyota: add missing engine and esp FW for Corolla Cross Hybrid (#25532)
add missing engine and esp FW for CorollaCross Hybrid

DongleId 147613502316e718
old-commit-hash: 506b719a40d4391a17a7bc081f761ec1215040ef
2022-08-23 11:20:34 -07:00
Shane Smiskol 803e81494d Update translations
old-commit-hash: 8b154fe27145f529d2459658e25cdd02f3fc9b5c
2022-08-23 11:18:23 -07:00
Cameron Clough 07084dcbaf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b3cfe962cf346e70cce1389fe3c9bf23344a5512
2022-08-22 21:47:09 -07:00
Shane Smiskol 68eae853c2 Translations badges: concatenate into one badge (#25522)
* add badge

done correctly

works

Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update README.md
Update translation_badge.svg
Update translation_badge.svg
Update translation_badge.svg
Update badge

Update README.md
test this

try this

finalize

remove badges

fixup readme

add to test

fix

fix

rm

* clean up

* no formats
old-commit-hash: ad8d3de0d9abedc7c9db177b6c4a6b1a0fb03020
2022-08-22 20:39:54 -07:00
Shane Smiskol 16b585f007 GM: add Silverado 2021 High Country FP (#25499)
* Add FP from 61c6258cac78af08

* add to dict
old-commit-hash: 0822f94bb4545bb9427d1525b157edbf46416fe7
2022-08-22 17:45:41 -07:00
Shane Smiskol 4f628954c7 GMC: Sierra 2020-21 support (#25523)
* Add Sierra

* actually this package works

* add to releases

* credit
old-commit-hash: 68ba8df69329024e57efdbd00740acc0d298f214
2022-08-22 17:35:04 -07:00
Adeeb Shihadeh f68770eb3a test onroad: update dmonitoringd cpu usage
old-commit-hash: 62bb70ef2987647e9a9bb93af21f5424c617bafe
2022-08-21 14:29:52 -07:00
Dean Lee 48a9dc789d v4l_encoder: free buf_out in destructor (#25044)
old-commit-hash: ed70a9ab1de142dfc3a8afe89a5b3c32b592dda1
2022-08-21 14:03:44 -07:00
Shane Smiskol b42a6c27b2 test_models: no CAN invalid tolerance (#25501)
* don't use end of route segment

* no can invalid cnt tolerance

* start checking can valid immediately once available

* we check counter violations
old-commit-hash: beae985f989068b6105df1a4698403a3f2329503
2022-08-20 14:47:18 -07:00
Cameron Clough f7abda09e9 Ford: add CADS radar interface (#24296)
* Ford: use FORD_CADS radar dbc

* Ford: CADS radar interface impl

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>

* fixup radar interface for FORD_CADS dbc

* CADS treat different scan indexes as separate points

* Ford: support both Fusion and CADS radars

* Ford: rename radars to DELPHI_ESR and DELPHI_MRR

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>
old-commit-hash: ebea805aa8e45d8a56c1935b5181aa5a1151684f
2022-08-19 23:29:09 -07:00
Adeeb Shihadeh 0f532dfbad remove old boardd stuff
old-commit-hash: ddb7f91c9ba7d3aee7fe5da020db9598dc07cf5c
2022-08-19 23:09:21 -07:00
Jason Wen 79dfc5293a Hyundai: Car Port for Tucson Hybrid 2022 (#25276)
* Hyundai: Car Port for Tucson Hybrid 2022

* Update RELEASES.md

* Init gear_msg at the top

* FW versions from script

* Button send attempt

* start with some cleanup

* Send button fixed bits

* Define all bytes and only send PAUSE/RESUME

* Use CRUISE_INFO to cancel cruise and resume

* 8-bit counter

* Cleanup ish

* 8 bit counter

* Send at 20ms

* Disengage bits

* Revert bump submodules

* Allow tx on 0x1a0

* Fix byte counts

* Send LFA and HDA icons based on engageability

* Send cruise buttons only on HDA2 cars for now

* Add comments

* Add FLAG_HYUNDAI_CANFD_HDA2 flag

* Update interface.py

* Update carstate.py

* Update carstate.py

* Update carstate.py

* Bump submodules

* Bump panda

* Bump opendbc

* Allow tx with CRUISE_INACTIVE

* GEAR has 24 bytes only

* Generate car docs

* Fix CRUISE_INFO copy

* Remove unused class

* Add CAN-FD busses to unit test

* Bump opendbc

* Revert "Add CAN-FD busses to unit test"

This reverts commit 2f751640408a7f73a9100947cbd95ea13fbb8a48.

* Remove duplicate

* New tune based on data

* Panda safety cleanup

* Include bus 0 in rx checks

* Missed one

* bus 6 check

* Remove redundant check

* Add comments

* Bump opendbc

* Sync with DBC

* Hide LFA icon when disengaged

* Little endian

* fix comment

* more conditions in carcontroller

* update pedal signal

* update tuning

* cleanup carcontroller

* bump panda

* fix mismatch

* alt buttons

* little more cleanup

* update refs for EV6 new safety param

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bd5e28909f4576699717f8a2f6751f0d9fdfecc0
2022-08-19 20:14:30 -07:00
Jason Shuler a019d5ea40 GM: Chevy Silverado 2020-21 support (#25429)
* Silverado support

Co-authored-by: Jason Shuler <jshuler@gmail.com>

* Update docs

* Try 2 m/s/s

* Should be good torque values

* Add Silverado test route

* Add to releases

* Send counter

* can't send multiple or it faults

* Send at 33hz, no counter

* try 25hz, don't line up exactly with car's buttons

* never tried 10hz with same counter

* Update selfdrive/car/gm/gmcan.py

* Make same as pcmCruise branch

* update year and package (different packages needed per-trim)

* Update year in releases

* Revert to 21

* We can use this package name again

* wrong one!

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1e9fdff6422c4f49702f5de56280241088b2abca
2022-08-19 16:58:06 -07:00
Adeeb Shihadeh ec92e07ebe Hyundai: common CAN-FD gear signal (#25498)
* Hyundai: common CAN-FD gear signal

* bump opendbc
old-commit-hash: 090e92bb699ac05340dbb325076402d09dd53a9c
2022-08-19 16:12:16 -07:00
Shane Smiskol e1a61dec0c GM Bolt EUV: update supported packages (#25496)
* Update values.py

* Update selfdrive/car/gm/values.py

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

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fb19e24d6019a23e8bfb5f767bfa976d373a6e3d
2022-08-19 15:48:46 -07:00
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
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 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 dd63b8e8d2 disable panda deep sleep for now
old-commit-hash: d907021d58b14f49480308f01935c975daa590a6
2022-08-18 15:36: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
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