Commit Graph

8028 Commits

Author SHA1 Message Date
Cameron Clough a16eff689a Kia: update required packages (#25824)
* Kia: LKAS is standard on Ceed 2019

https://www.downeys.co.uk/newmodels/Ceed_V3_24_09_2019.pdf

* Kia: delete Forte 2018

It doesn't appear that this vehicle has Adaptive/Smart Cruise Control in
any form, which was later added in 2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf

* Kia: LKAS is standard on Forte 2019+

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2020-forte.pdf

* Kia: rename Niro Electric to EV

https://www.kia.com/us/en/niro

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

* Kia: LKAS is standard on Niro PHEV 2018+

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-niro.pdf

* Kia: update required package on Optima 2017

The ACC package on the Optima 2017 is named "Advanced Smart Cruise
Control". It also doesn't have an LKAS package, only LDWS is available.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optima.pdf

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

* Kia: LKAS is standard on Optima 2019

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-optima.pdf

* Kia: revert package change to Seltos 2021

LKAS is NOT a standard package on the Seltos 2021

https://cdn.dealereprocess.org/cdn/brochures/kia/2021-seltos.pdf

* Kia: update required package on Sorento 2018

Similar to the Optima 2017, the ACC package on the Sorento 2018 is named
"Advanced Smart Cruise Control". It also doesn't have an LKAS package,
only LDWS.

SCC and LKAS were introduced in MY2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-sorento.pdf

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

* Kia: SCC is standard on Kia Niro PHEV 2018-19

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf

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

* Kia: update required package on Optima Hybrid 2017

Similar to the Optima 2017, the ACC package on he Optima Hybrid 2017 is
named "Advanced Smart Cruise Control". It also doesn't have an LKAS
pacakge, only LDWS.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optimahybrid.pdf

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 06fb52c146aa9e00126127ac28fbbd22e9914e6f
2022-09-17 00:24:57 -07:00
Vivek Aithal 3326487104 Torque Refactor (#25822)
* add torque gains refactor

* update refs

* avoid dict, use cereal struct

* bugfix

* no as_builder

* address final comments
old-commit-hash: 85ed5c4cb5d9b0132ab0e3eb5bcb096026f70b22
2022-09-17 00:07:54 -07:00
cydia2020 d5b436d592 Toyota: go into standstill if interceptor detected (#25024)
* Toyota: go into standstill if interceptor detected

* or
old-commit-hash: 407448bbfb79ad9d9d235bc3d098887ea0d045fb
2022-09-16 23:28:05 -07:00
Dean Lee 21daf705f0 ui: always show SetupWidget (#25742)
* always show SetupWidget

update translations

* delete hide
old-commit-hash: aa0d12842202ddf63d9a5998ccd04f865b6e9d6a
2022-09-16 22:17:30 -07:00
Dean Lee f7b83d6f02 camerad: make sure cl_context is valid for lifetime of camerad (#25735)
old-commit-hash: 8ae3199578b3f771396cd35315ce51b7cce27e49
2022-09-16 21:10:26 -07:00
Dean Lee b546a476cc camerad: cleanup CameraBuf::acquire (#25737)
* cleanup

* add that back

* less indent

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 78fd303d50b78dbb99992bb3ee4938eec8913575
2022-09-16 20:50:10 -07:00
Dean Lee d482e04b01 camerad: remove function camera_autoexposure (#25733)
old-commit-hash: 5bb230cde4dd61ff7b180a29a0951a44068161c1
2022-09-16 20:18:54 -07:00
Dean Lee e1c1a8fc2a CameraBuf: remove unused member 'camera_state' (#25736)
old-commit-hash: 25ce997f3768913915e83b72f4b3c2649a83d720
2022-09-16 20:11:46 -07:00
Dean Lee 0ce385a486 camera_qcom2: remove unneeded static keywords (#25780)
old-commit-hash: 467c4f7fb3bd954d7e0d9120ccd1c687532e6cdc
2022-09-16 20:10:08 -07:00
Dean Lee b750859d52 sensord: remove unnecessary brace pair (#25816)
Remove unnecessary brace pair
old-commit-hash: 1a7d6665deafc1e35e5f8d56106a81a4686a6e44
2022-09-16 19:45:51 -07:00
Willem Melching cc473bf45b Hyundai: match ego speed on dash (#25235)
* hyundai: match speed on dash

* still needs conversion to m/s

* always use CF_Clu_VehicleSpeed2

* clean up, like honda

* experiment

* to the source

* works pretty well on optima (matches exactly on Sonata)

* could be 0.5

* clean up test

* revert test_moedls

revert test_moedls

* woops

* woops.

* .

* fix hyst

* only CF_Clu_VehicleSpeed

* omgomgomg

* add all this mess because it always takes a while

* set vEgoCluster

* fix all rounding errors

* stash

* clean up

* clean up

* fix metric conversion

* only calculate when updated

* try to filter (didn't look great from plots)

* Revert "try to filter (didn't look great from plots)"

This reverts commit 7e9876c237341d07163985b0718fd9c553372e72.

* clean up

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f73b041d43a1ece437df38e26b1dd30759a79c9f
2022-09-16 17:33:38 -07:00
Adeeb Shihadeh 4deed0c449 sensor test fixups (#25818)
* sensor test fixups

* fix that

* little more

* seems reliable now

* kill old instances

* unused

* cleanup

Co-authored-by: Bruce Wayne <batman@z840-provisioning.internal>
old-commit-hash: 10f08a94dd1cb4ebc803b208697b4dc70795132a
2022-09-16 15:35:38 -07:00
AlexandreSato f670cb28ca Multilang: update pt-BR translations (#25812)
* update pt-BR translations

* fix some cutoff texts
old-commit-hash: ff63f26409256cc728b35098d135d19c7284c6f1
2022-09-16 14:32:38 -07:00
Igor Biletskyy 2e0bd5fe17 RPv2: fix data length check (#25819)
fix
old-commit-hash: e6ff301864b06d0b1dc14e007e1769d53234e38b
2022-09-16 14:22:19 -07:00
Jason Young 4fc20618c6 VW MQB: Add FW for 2021 Volkswagen Atlas (#25820)
old-commit-hash: d460b2c62b9c652c73a1f4b34a3a83784c5eadb5
2022-09-16 14:21:33 -07:00
AlexandreSato 2c07441919 Toyota: add missing Corolla Cross Hybrid engine FW (#25814)
* Fingerprint: Add missing toyota corolla cross hybrid FW engine 

From user lucasolivmed#1416 dongleId: 3eb4c34a2a663c37

* fix typo
old-commit-hash: 453635394db56098f3473574150147eb977d61f4
2022-09-16 11:43:22 -07:00
ambientocclusion 35036a3333 Multilang: add missing Japanese translations (#25803)
Add missing Japanese translations
old-commit-hash: 40f89b183e5ab39d4a176e54268b0eb9de8e9ebc
2022-09-15 21:59:52 -07:00
Shane Smiskol 98b821fb1a GM minSteerSpeed: add some tolerance for Volt (#25809)
* add some tolerance for volts

* add comment

* update refs
old-commit-hash: b7dc1968cd4c61d33f96124b36d8d7a48957748f
2022-09-15 21:21:10 -07:00
Shane Smiskol 2fd69c9c7f remove unused compute_gb (#25808)
old-commit-hash: 5356216e92f7c46d5aaefa1c3e85c91fd17816e4
2022-09-15 20:45:01 -07:00
eFini e4db6278a1 Multilang: add missing Chinese (Traditional) translations (#25807)
added missing cht translations
old-commit-hash: 8fcbcd800610f30ddf85b5a314dbf40afb0fa320
2022-09-15 20:38:53 -07:00
Dean Lee 53c4262098 map: fix repeated call to m_map->setZoom (#25784)
Fix repeated map api calls
old-commit-hash: f0665911b2aa5807348ee5bf209ee21b8be2ca89
2022-09-15 20:36:13 -07:00
Jason Wen 91283ad0b5 Updater: Reboot instead of shutdown to install new branch (#25804)
Reboot instead of shutdown to install new branch
old-commit-hash: b7d9f157faa33023ab07db561c155db0abb28c0b
2022-09-15 20:16:54 -07:00
Vivek Aithal 5a097b3235 regenerate replay segments for torqued (#25805)
* update segments in test_processes

* bump cereal

* update refs
old-commit-hash: b133a4c9a8e8f3ab8211fe1e7a52bd0bb41c5c47
2022-09-15 20:15:57 -07:00
Jason Shuler 929cf64bb5 GM: Chevy Bolt EV 2022-23 (#25430)
* Chevy Bolt EV w ACC Port

* dashcam

* The website allows you to select the package without ACC

* fix Bolt E(U)V centerToFront

* Update selfdrive/car/gm/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cfaa1b7d3eeeb8ae16b77e04a0416dbacf4bc6d2
2022-09-15 20:11:53 -07:00
Shane Smiskol 0c3f72f1e2 Wrap new UI strings
old-commit-hash: 64c2d4b30f7d4be1e1726a5668c548ecf8d6e32e
2022-09-15 19:37:12 -07:00
eFini 9d702487a8 Multilang: add missing Chinese (Traditional) translations (#25802)
old-commit-hash: 7ddcde687e3ffaa0ec91002871b76f9ca82752b1
2022-09-15 19:31:57 -07:00
Shane Smiskol 81503147d5 GM: adjust Bolt EUV centerToFront
old-commit-hash: 5a80fda819fda68cad1caf7c6db15d9a495aefac
2022-09-15 19:24:18 -07:00
Jason Shuler c1fa914af8 GM: Chevy Equinox 2019-22 (#25431)
* Chevy Equinox Port

* LKAS is not standard on 2019, but it's the same package as ACC. (LKAS standard 2020+)

* 2019 here too

* clean up

* add to untested

* not in docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1aa8c0525ea5339eecd82cb08572636ebbaa7034
2022-09-15 17:55:02 -07:00
cydia2020 bf5e07cf23 Multilang: add missing Chinese e2e toggle translations (#25656)
* japanese e2e toggle

* chinese (simp)

* chinese (trad)

* OOPS

* Mention experimental in details

* Also in traditional

* Exp.

* suggestions

* Apply suggestions from code review

Co-authored-by: ZwX1616 <zwx1616@gmail.com>

* add back removed translations from merge

* Update selfdrive/ui/translations/main_zh-CHS.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
old-commit-hash: 834f212903f5c06a9fe8d6caa6b6da52ac7a7d83
2022-09-15 17:48:17 -07:00
Lee Jong Mun 07556f3c7b Multilang: add missing Korean translations (#25799)
kor translation update
old-commit-hash: ae87665e92cb17952abf2b7f182a0302264dc642
2022-09-15 17:04:29 -07:00
Shane Smiskol 978c84e885 Car docs: more consistent package names (#25797)
* update docs

* Revert "update docs"

This reverts commit a5127198fe8e43ecadb0cbde432773f4da2e212a.

* spell it out

* update docs

* add (ACC) for consistency

* All VW
old-commit-hash: ce9c689bb4f8924d47a9beb264081ed922ce9e91
2022-09-15 16:07:51 -07:00
Dean Lee dc0ad229cd Params: add new method to get all keys (#25779)
* allKeys

* cleanup and test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 85b433760a2c1a139062a40040e096b9de880e33
2022-09-15 15:43:27 -07:00
Igor Biletskyy 99fa17ef7e Panda health: names and mixup fix (#25774)
* init

* naming

* fix names

* bump cereal

* bump panda

* bump panda
old-commit-hash: d5410dfac5e2bf9f68edb16d18d8875647021b13
2022-09-15 15:35:24 -07:00
Adeeb Shihadeh 46cfb5c45b good updater experience (#25724)
* good updater experience

* set params on startup

* no fetch on first loop

* little type hinting

* little more

* update translations

* always set params with valid overlay

* wrap check

* use the param

* more wrapping

* vanish

* cleanup

* remove that
old-commit-hash: c4e63d14ab158118efc6eadd0e20d8d533f9e046
2022-09-15 15:12:36 -07:00
ZwX1616 7cd138328e better OX03C10 settings (#25796)
* ev has different scales

* fix initial gradient

* fix highlight weirdness

* try smooth set of gains

* delay

* add gain idx

* oops

* set different min dc

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c7a0f23b45603fb8e7718234f92284854866924e
2022-09-15 15:06:43 -07:00
Adeeb Shihadeh ff42c549da update refs
old-commit-hash: a9f88503fe132401e73531f8213923ba53b2c19f
2022-09-15 13:55:36 -07:00
Adeeb Shihadeh f50d7025d8 update ev6 max lat accel
old-commit-hash: ef5395e5f36550d2b485216eee5406bf6062e9c9
2022-09-15 13:28:24 -07:00
Shane Smiskol 6f06e047d5 HKG: lower torque rate limits for CAN-FD cars (#25770)
* Change ramp limits to 2/2 for CANFD cars

* Only the high torque CANFD cars

* comment

* Update selfdrive/car/hyundai/values.py

* Better to do 2/3 and for all cars

* bump to master

* update refs
old-commit-hash: d57e07eec0c3848755e856ea8a2cf14559fcc895
2022-09-15 11:28:49 -07:00
Kurt Nistelberger 2f8c53ff87 sensord test: stop sensord if interrupts not enabled (#25792)
* stop sensord if interrupts not enabled

* move to tearDown

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 03314b3ddf48fff9b5bfc82e5f6a65fc32dea78f
2022-09-14 20:57:23 -07:00
Adeeb Shihadeh 768ca2ab2b updated: remove niceness (#25791)
old-commit-hash: 96ef9b1f0c15ecc0695401ca4e5c103d52fb088f
2022-09-14 20:06:19 -07:00
Shane Smiskol fa87f05dac Subaru: match panda standstill (#25789)
* subaru: match panda standstill

* subaru: match panda standstill

* actually test standstill

* bump panda to master
old-commit-hash: 86062fee6bbe5c38be77f8f995e9dd19dc2f2f54
2022-09-14 19:11:49 -07:00
Adeeb Shihadeh 8e7b9f68fc updated: prevent blocking on git (#25788)
* updated: prevent blocking on git

* remove that
old-commit-hash: e8c8bd902d6c21173e4067b348e2762e5aefc4ab
2022-09-14 18:02:06 -07:00
Jason Young 442d6e4b4d VW: Prep for MQB longitudinal (#25777)
* VW: Prep for MQB longitudinal

* fine, be that way

* temporarily pacify the docs generator
old-commit-hash: 4c9f8d2df87582c4b56a08d9492ee55203d1a0bd
2022-09-14 17:04:28 -07:00
Willem Melching 56188f43a5 Honda: match current speed on dash (#25232)
* Honda Bosch: match speed on dash

* present on all cars

* all honda

* more explicit switching

* hyst

* hyst

* clean up

* Update ref_commit

* no bitwise

no bitwise

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e699b0994ce418eca68f48557475118d3190dd0e
2022-09-14 15:40:36 -07:00
Adeeb Shihadeh 565511431d camerad: log image sensor in camera states (#25786)
* camerad: log image sensor in camera states

* for all cams

* bump cereal

* revert that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7352e6d9409dcec6719717dcb805b97565648533
2022-09-14 15:40:29 -07:00
Dean Lee 5a80f319ae networking: create scanning label once (#25782)
* create scanning label only once

* rename

* fix

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 578b8fba1a853da2f3b0d44605abfdd019bedd2f
2022-09-14 12:33:56 -07:00
Robbe Derks debdd12a51 Tesla AP2 fingerprint update: forgot one message (#25783)
old-commit-hash: 05e80cf4fbbccd602c0f3feb43927ae86ba550c9
2022-09-14 17:35:48 +02:00
Dean Lee e2a8d3e2f8 ui: prev_frame_id should be uint32_t (#25781)
uint32_t
old-commit-hash: 1b0f202d7b2be6a4c1f8a18499207170b0fd78ed
2022-09-14 01:58:10 -07:00
Shane Smiskol cfc3213ac1 ui: support ego speed hysteresis (#25702)
* toyota: match set speed from dash

* Use unit bit

* Use RSA2

* flip this

* Universal unit signal, set vEgoCluster

* remove this and bump opendbc

* detect if car interface sets cluster fields

* revert

* needs to be cp

* UI_SPEED is actually always in kph?

* forgot to actually convert it

* same in onroad

* try conv factor only for imperial

* Seems like UI_SPEED is not the UI speed at all

* the dash might floor it

* same openpilot behavior

* bump

* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg

* remove test, bump opendbc

* secret formula

* secret formula v2

* 1.03 is sufficient

* try short press

* bump opendbc

* surely this can be cleaned up

surely this can be cleaned up

* use filter

* redo factors

* try UI_SPEED again with a factor

try UI_SPEED again with a factor

* dash applies hysteresis to speed. this matches pretty well, but not exactly

* make hysteresis generic

* clean up

* revert this

* try this

* read from fake params

* should be mostly good for imperial now

* revert

* revert

* remove toyota stuff

* common function for everyone

* rm line

* fix

* an example with Toyota

* use CS.out

* one mph

* 1 kph

* cmt

* remove cmt

* abs it

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: ef26abcf658b9fe13f939c43a31f57bd6ae25232
2022-09-13 23:34:51 -07:00
Shane Smiskol c1b9a202aa controls: enter overriding state for steering override (#25617)
* lateral overriding is overriding

* Update test

* remove

* also could do something like this and only have one OVERRIDE ET

* Revert "also could do something like this and only have one OVERRIDE ET"

This reverts commit 5c381641c08961676a56a9718fbdaa84989ac249.

* full names

* bump cereal

* test every event type

* update refs
old-commit-hash: 992707c1724ab0047ddd6e230b82e47ae51b25ed
2022-09-13 23:20:45 -07:00