Commit Graph

7509 Commits

Author SHA1 Message Date
Shane Smiskol 26517a0ef9 replay: set CarParamsPersistent 2022-09-26 23:50:49 -07:00
Shane Smiskol 29b9a07393 Log tx addr for IsoTpMessage exceptions 2022-09-26 23:22:50 -07:00
Adeeb Shihadeh f18773acbe compressed_vipc: add main() 2022-09-26 22:27:30 -07:00
Adeeb Shihadeh d2869f4779 updated: check overlay mounted 2022-09-26 16:57:21 -07:00
Lee Jong Mun a124fa22e4 Multilang: kor translation update (#25893) 2022-09-26 12:01:24 -07:00
Lee Jong Mun d997d40f17 update system.hardware import path (#25889) 2022-09-25 19:33:35 -07:00
Adeeb Shihadeh b2376909f4 updated: allow reusing overlay (#25883) 2022-09-23 19:44:18 -07:00
Kurt Nistelberger 755f24885a pin sensord and lsm interrupt to core 1, for better timing (#25867)
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-23 18:51:07 -07:00
Dean Lee f4a4ec8fa2 bootlog: rename bz_file to file (#25881) 2022-09-23 13:28:25 -07:00
Dean Lee 2f878830c8 modeld: removed extra spaces (#25880) 2022-09-23 10:54:13 -07:00
Robbe Derks b3be863671 Tesla FW query (#25785)
* early wip

* add addresses

* cleaned up fw versions

* remove CAN fingerprint

* Revert "remove CAN fingerprint"

This reverts commit 337e8d65ef7ee2724cfe6ff711ee8aeffdbbb22f.

* bump panda

* Revert "Revert "remove CAN fingerprint""

This reverts commit 12536fa8358438a6d6713c0b7bef0383bbc83588.

* bump cereal

* fix ecu type

* whitelist per rx_offset

* bump submodules again

Co-authored-by: Comma Device <device@comma.ai>
2022-09-23 13:40:15 +02:00
Cameron Clough 9a2d8c420d docs: update Hyundai packages (#25851)
* LKAS is part of same package as SCC for Elantra 2017-2019

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2017-elantra.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2018-elantra.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-elantra.pdf

* LKAS is standard on all trims for Elantra 2021

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-elantra.pdf

* LKAS is part of same package as SCC on Genesis 2016

TODO: confirm 2015

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2016-genesis.pdf

* LKAS is part of same package as SCC for Ioniq Hybrid 2017-19

Same package 2017-18
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2017-ioniq.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2018-ioniq.pdf
SEL and Limited on 2019
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-ioniq.pdf

* LFA is part of same trim as SCC on Ioniq Hybrid 2020-22

TODO: confirm for 2022

SEL and Limited includes both SCC and LFA
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniq.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-ioniq.pdf

* Remove Ioniq Hybrid 2020-21 until harnesses verified

All three model years were added in a single PR - need to lookup
routes and see if there are users with 2020-21 MY vehicles.
https://github.com/commaai/openpilot/pull/22610

* LKAS is on same trim as SCC for Ioniq Electric 2019

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-ioniq.pdf

* SCC and LKA are on all trims for Ioniq Electric 2020

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniq.pdf

* LKA and SCC are on same trims for Ioniq Plug-in Hybrid 2019

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-ioniq.pdf

* SCC and LFA are on all trims for Ioniq Plug-in Hybrid 2020-21

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniq.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-ioniq.pdf

* LKAS is standard on Kona Electric 2018-21

SCC only on Ultimate trim, LKAS on all

(2018 UK only) https://www1.hyundai.news/fileadmin/uk/press-kits/20180828_kona_electric/Hyundai_Kona_Electric_-_Technical_data_and_specifications.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-kona.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-konaelectric.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-konaelectric.pdf

* LKAS is part of same package as SCC for Sonata 2018-19

Tech Package includes SCC and LKAS

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2018-sonata.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-sonata.pdf

* define LKAS package explicitly

* remove package where default

* LFA part of same trim as SCC for Seltos 2021

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

* LKAS is on all trims with SCC for Sorento 2019

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

* LKAS is on all trims with SCC for Stinger 2018-20

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

* remove min steer speed definition from docs for Optima 2016

* LFA is included in same trim as SCC for Niro Hybrid 2022

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

* update docs

* remove Ioniq Hybrid 2020-21, add note

* update docs

* remove LKAS for Kona Hybrid 2020 and Niro Hybrid 2021, likely included in SCC trims

* update docs

* Revert "remove Ioniq Hybrid 2020-21, add note"

This reverts commit 62096a8db3fb21771a04e20714ecee906a5c0b34.

* Revert "Remove Ioniq Hybrid 2020-21 until harnesses verified"

This reverts commit ac773285f76a108c32d8692d12eef18cabcfd023.

* update docs
2022-09-22 18:38:42 -07:00
Adeeb Shihadeh dc65f8a60a agnos 6 (#25864)
* agnos 6

* new agnos

* no casync for now
2022-09-22 15:56:17 -07:00
Adeeb Shihadeh dcdf9a6eb4 controlsd: ignore irrelevant alerts in dashcam mode (#25875) 2022-09-22 13:43:27 -07:00
Adeeb Shihadeh f52dea7d84 ui: add support for dual cams (#25876) 2022-09-22 13:42:00 -07:00
ZwX1616 4ed0abd197 camerad: recalibrate ox colors for HDR (#25874)
re
2022-09-22 12:52:48 -07:00
Dean Lee cdbb06d45d locationd: remove redundant break statements (#25873) 2022-09-22 10:41:47 -07:00
Dean Lee d4404511bc encoderd: build v4l_encoder.cc on PC (#25872) 2022-09-22 10:41:09 -07:00
Dean Lee 3b9add5602 V4LEncoder: remove unused member variable buf_in (#25870) 2022-09-22 10:40:41 -07:00
Adeeb Shihadeh 4693a9d358 update refs 2022-09-22 10:40:23 -07:00
Adeeb Shihadeh 051fa5bea4 hyundai: update mando radar dbc path 2022-09-21 21:41:17 -07:00
Adeeb Shihadeh 760d4e668e set safety param for knockouts 2022-09-21 21:23:14 -07:00
Adeeb Shihadeh db60f6b943 boardd: mutli pandas can knockout too 2022-09-21 17:29:08 -07:00
Dean Lee 7ef55f3820 boardd: fix setting wrong value for BrsEnabled (#25858)
fix wrong setBrsEnabled
2022-09-21 00:04:53 -07:00
Dean Lee 90f0f04d26 sidebar: call update in offroadTransition (#25856) 2022-09-20 20:12:22 -07:00
Cameron Clough e29988ab7b updater: enable branch switching with installer gitconfig (#25854) 2022-09-20 16:41:20 -07:00
ZwX1616 bae94a0070 camerad: fix OX page faults (#25853) 2022-09-20 16:00:56 -07:00
Igor Biletskyy 53959082e7 boardd: add CAN health to pandaStates (#25800)
* init

* try this

* mistake

* fix

* bump cereal

* make obvious

* fixes

* remove comment

* one helath header

* ..

* preallocate vectors
2022-09-20 12:39:12 -07:00
Adeeb Shihadeh 2cba29eabe Hyundai: improve EV6 resume reliability (#25847)
* Hyundai: improve EV6 resume reliability

* this is pretty good

Co-authored-by: Comma Device <device@comma.ai>
2022-09-20 11:19:23 -07:00
Cameron Clough c5df17cd57 sidebar: updated bookmark image 2022-09-20 10:54:46 -07:00
Cameron Clough 1379989e0d sidebar: add button pressed states (#25848)
* add flag img

* add image assets

* try darker button pressed

* remove pressed image, set opacity instead

* settings can be pressed too!

* cleanup

* make settings button white

* bookmark
2022-09-20 10:45:13 -07:00
Shane Smiskol 2c9f751616 Optima: split into two platforms (#24815)
* Add missing fw versions for 2019 Optima

* move versions to new platform

* add temp fw version notes

temp notes

* clean up

* Update docs

* add fw versions from the last 180 days

* add tests

* fix

* remove FPv1 for Optima

* seems like the 2016 is the same

* revert

* add versions from our 2019 Optima

* label/move some versions

* add some versions from a 2020! (3d96bd05b5513638)

* this is from the same 2017 as earlier
(4f930156368f7830)

* vin lookup isn't perfect

* Revert "vin lookup isn't perfect"

This reverts commit 62c563bc4549b37160254d45bb90fcbc1f6cd589.

* a 2020 (df71aec6e636d7e4)

* cleanup, this transmission is also a 2020 version

df71aec6e636d7e4|2021-10-07--17-59-28

* this comes with scc

* one line

* revert

* bump panda

* add our transmission FW

* Add test route
2022-09-19 23:33:59 -07:00
Shane Smiskol 6561c0ca73 Kia Optima: we support 2020, update packages
LDWS comes in the same trim/package as ASCC
2022-09-19 22:05:02 -07:00
Adeeb Shihadeh fc29147d02 Update RELEASES.md 2022-09-19 21:21:56 -07:00
Kurt Nistelberger bcf31aea07 sensord: move sensors in lowest power mode on exit/kill (#25787)
* add low power modes

* add sleep to lsm gyro init

* bmx055 gyro has a 30ms wakeup time from deep suspend

* Sensord skip init values, first 500ms (#25775)

* remove lsm gyro sleep, handled by general cut

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-19 21:01:32 -07:00
Adeeb Shihadeh d1c95fb0d4 add event flagging too 2022-09-19 20:43:12 -07:00
Adeeb Shihadeh de1882429a update release notes 2022-09-19 20:40:03 -07:00
Adeeb Shihadeh 805a54ad0f updated: commits are always strings 2022-09-19 17:41:37 -07:00
Vivek Aithal 4fa62f1464 Live torque (#25456)
* wip torqued

* add basic logic

* setup in manager

* check sanity and publish msg

* add first order filter to outputs

* wire up controlsd, and update gains

* rename intercept to offset

* add cloudlog, live values are not updated

* fix bugs, do not reset points for now

* fix crashes

* rename to main

* fix bugs, works offline

* fix float in cereal bug

* add latacc filter

* randomly choose points, approx for iid

* add variable decay

* local param to capnp instead of dict

* verify works in replay

* use torqued output in controlsd

* use in controlsd; use points from past routes

* controlsd bugfix

* filter before updating gains, needs to be replaced

* save all points to ensure smooth transition across routes, revert friction factor to 1.5

* add filters to prevent noisy low-speed data points; improve fit sanity

* add engaged buffer

* revert lat_acc thresh

* use paramsd realtime process config

* make latacc-to-torque generic, and overrideable

* move freq to 4Hz, avoid storing in np.array, don't publish points in the message

* float instead of np

* remove constant while storing pts

* rename slope, offset to lat_accet_factor, offset

* resolve issues

* use camelcase in all capnp params

* use camelcase everywhere

* reduce latacc threshold or sanity, add car_sane todo, save points properly

* add and check tag

* write param to disk at end of route

* remove args

* rebase op, cereal

* save on exit

* restore default handler

* cpu usage check

* add to process replay

* handle reset better, reduce unnecessary computation

* always publish raw values - useful for debug

* regen routes

* update refs

* checks on cache restore

* check tuning vals too

* clean that up

* reduce cpu usage

* reduce cpu usage by 75%

* cleanup

* optimize further

* handle reset condition better, don't put points in init, use only in corolla

* bump cereal after rebasing

* update refs

* Update common/params.cc

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

* remove unnecessary checks

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-09-19 15:19:26 -07:00
Shane Smiskol 7b5d8adfb1 Hyundai Elantra 2021: replace VW engine FW
5a4405495d2750ef|2022-09-11--12-37-48
2022-09-19 14:14:24 -07:00
Adeeb Shihadeh 8b741261cf loggerd: add params test cases (#25843) 2022-09-19 14:06:03 -07:00
Dean Lee 8870b439dd camerad: fix class/struct forward declaration mistake (#25842) 2022-09-19 13:24:20 -07:00
Dean Lee 583304fc7b params: cleanup constructor (#25834) 2022-09-18 14:01:33 -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 8ae3199578 camerad: make sure cl_context is valid for lifetime of camerad (#25735) 2022-09-16 21:10:26 -07:00