Commit Graph

7421 Commits

Author SHA1 Message Date
Adeeb Shihadeh
8b741261cf loggerd: add params test cases (#25843) 2022-09-19 14:06:03 -07:00
royjr
e4612ac4c4 ui: fix toggle spacing issue (#25831) 2022-09-17 15:55:12 -07:00
Shane Smiskol
35f624c628 translations: remove locations (#25826)
* Remove locations

* no line nos
2022-09-17 15:51:49 -07:00
Cameron Clough
06fb52c146 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>
2022-09-17 00:24:57 -07:00
Vivek Aithal
85ed5c4cb5 Torque Refactor (#25822)
* add torque gains refactor

* update refs

* avoid dict, use cereal struct

* bugfix

* no as_builder

* address final comments
2022-09-17 00:07:54 -07:00
cydia2020
407448bbfb Toyota: go into standstill if interceptor detected (#25024)
* Toyota: go into standstill if interceptor detected

* or
2022-09-16 23:28:05 -07:00
Dean Lee
aa0d128422 ui: always show SetupWidget (#25742)
* always show SetupWidget

update translations

* delete hide
2022-09-16 22:17:30 -07:00
Dean Lee
1a7d6665de sensord: remove unnecessary brace pair (#25816)
Remove unnecessary brace pair
2022-09-16 19:45:51 -07:00
Willem Melching
f73b041d43 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>
2022-09-16 17:33:38 -07:00
Adeeb Shihadeh
10f08a94dd 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>
2022-09-16 15:35:38 -07:00
AlexandreSato
ff63f26409 Multilang: update pt-BR translations (#25812)
* update pt-BR translations

* fix some cutoff texts
2022-09-16 14:32:38 -07:00
Igor Biletskyy
e6ff301864 RPv2: fix data length check (#25819)
fix
2022-09-16 14:22:19 -07:00
Jason Young
d460b2c62b VW MQB: Add FW for 2021 Volkswagen Atlas (#25820) 2022-09-16 14:21:33 -07:00
AlexandreSato
453635394d 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
2022-09-16 11:43:22 -07:00
ambientocclusion
40f89b183e Multilang: add missing Japanese translations (#25803)
Add missing Japanese translations
2022-09-15 21:59:52 -07:00
Shane Smiskol
b7dc1968cd GM minSteerSpeed: add some tolerance for Volt (#25809)
* add some tolerance for volts

* add comment

* update refs
2022-09-15 21:21:10 -07:00
Shane Smiskol
5356216e92 remove unused compute_gb (#25808) 2022-09-15 20:45:01 -07:00
eFini
8fcbcd8006 Multilang: add missing Chinese (Traditional) translations (#25807)
added missing cht translations
2022-09-15 20:38:53 -07:00
Dean Lee
f0665911b2 map: fix repeated call to m_map->setZoom (#25784)
Fix repeated map api calls
2022-09-15 20:36:13 -07:00
Jason Wen
b7d9f157fa Updater: Reboot instead of shutdown to install new branch (#25804)
Reboot instead of shutdown to install new branch
2022-09-15 20:16:54 -07:00
Vivek Aithal
b133a4c9a8 regenerate replay segments for torqued (#25805)
* update segments in test_processes

* bump cereal

* update refs
2022-09-15 20:15:57 -07:00
Jason Shuler
cfaa1b7d3e 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>
2022-09-15 20:11:53 -07:00
Shane Smiskol
64c2d4b30f Wrap new UI strings 2022-09-15 19:37:12 -07:00
eFini
7ddcde687e Multilang: add missing Chinese (Traditional) translations (#25802) 2022-09-15 19:31:57 -07:00
Shane Smiskol
5a80fda819 GM: adjust Bolt EUV centerToFront 2022-09-15 19:24:18 -07:00
Jason Shuler
1aa8c0525e 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>
2022-09-15 17:55:02 -07:00
cydia2020
834f212903 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>
2022-09-15 17:48:17 -07:00
Lee Jong Mun
ae87665e92 Multilang: add missing Korean translations (#25799)
kor translation update
2022-09-15 17:04:29 -07:00
Shane Smiskol
ce9c689bb4 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
2022-09-15 16:07:51 -07:00
Igor Biletskyy
d5410dfac5 Panda health: names and mixup fix (#25774)
* init

* naming

* fix names

* bump cereal

* bump panda

* bump panda
2022-09-15 15:35:24 -07:00
Adeeb Shihadeh
c4e63d14ab 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
2022-09-15 15:12:36 -07:00
Adeeb Shihadeh
a9f88503fe update refs 2022-09-15 13:55:36 -07:00
Adeeb Shihadeh
ef5395e5f3 update ev6 max lat accel 2022-09-15 13:28:24 -07:00
Shane Smiskol
d57e07eec0 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
2022-09-15 11:28:49 -07:00
Kurt Nistelberger
03314b3ddf 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>
2022-09-14 20:57:23 -07:00
Adeeb Shihadeh
96ef9b1f0c updated: remove niceness (#25791) 2022-09-14 20:06:19 -07:00
Shane Smiskol
86062fee6b Subaru: match panda standstill (#25789)
* subaru: match panda standstill

* subaru: match panda standstill

* actually test standstill

* bump panda to master
2022-09-14 19:11:49 -07:00
Adeeb Shihadeh
e8c8bd902d updated: prevent blocking on git (#25788)
* updated: prevent blocking on git

* remove that
2022-09-14 18:02:06 -07:00
Jason Young
4c9f8d2df8 VW: Prep for MQB longitudinal (#25777)
* VW: Prep for MQB longitudinal

* fine, be that way

* temporarily pacify the docs generator
2022-09-14 17:04:28 -07:00
Willem Melching
e699b0994c 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>
2022-09-14 15:40:36 -07:00
Dean Lee
578b8fba1a networking: create scanning label once (#25782)
* create scanning label only once

* rename

* fix

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-14 12:33:56 -07:00
Robbe Derks
05e80cf4fb Tesla AP2 fingerprint update: forgot one message (#25783) 2022-09-14 17:35:48 +02:00
Dean Lee
1b0f202d7b ui: prev_frame_id should be uint32_t (#25781)
uint32_t
2022-09-14 01:58:10 -07:00
Shane Smiskol
ef26abcf65 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>
2022-09-13 23:34:51 -07:00
Shane Smiskol
992707c172 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
2022-09-13 23:20:45 -07:00
Kurt Nistelberger
3058437dd1 Sensor tests speedup (#25776)
* speed up sensor test

* remove sensord dependency

* address comments

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-13 22:29:55 -07:00
Kurt Nistelberger
98c843bfb4 sensord: increase cpu usage in onroad test (#25773)
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-13 22:28:00 -07:00
Adeeb Shihadeh
3f34a7082a controlsd: fix regen init for multi-panda setups 2022-09-13 20:35:16 -07:00
Kurt Nistelberger
467bbffa0f add hardware init to sensor tests 2022-09-13 16:45:12 -07:00
Kurt Nistelberger
c64230c4a8 make test_sensord executeable 2022-09-13 16:15:33 -07:00