Commit Graph

8083 Commits

Author SHA1 Message Date
HaraldSchafer 10bc36ae58 Minor ACC fixes (#25911)
* Change cruise accel limits

* Long tuning script looks good

* Cap cruise slowdown aggression in e2e mode

* Revert atau change

* Cleanup

* Update ref

* fix ref
old-commit-hash: 1007df874f284f2c01a48c245f48c209ed806957
2022-09-28 13:27:07 -07:00
Cameron Clough 10160ca197 exclude opendbc and xx from mypy pre-commit
old-commit-hash: b944a22b9b05300dce3c3d122cf51ec7d0ec28b6
2022-09-27 22:55:05 -07:00
Adeeb Shihadeh f50800b768 camerad: improved frame sync and skip tests (#25904)
* camerad: cleanup frame sync and skip tests

* fix linter

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1c6dc12a04618ccd660952fe1a15452898d2c593
2022-09-27 21:32:21 -07:00
Cameron Clough 23a4e66b17 configure mypy outside of pre-commit environment (#25892)
* add mypy config matching precommit

* use local mypy, add files to config

* excludes too

* fix config

* pylint is sad now... did it get updated?

* fix typing hints

* ignore

* this should be a regexp

* mypy doesn't like Deque despite inheriting MutableSequence

* more excludes

* Revert "pylint is sad now... did it get updated?"

This reverts commit 250c632f18ecb3d33ffb931e15425f9314a0964b.
old-commit-hash: 4e310b807fb1ccdde4b2078468fab46e5324dfa2
2022-09-27 20:43:05 -07:00
Kurt Nistelberger 8a828af454 Sensor events regen (#25903)
old-commit-hash: 96ed5aa5816c692856ed352ef404f040a9615b69
2022-09-27 20:33:45 -07:00
Shane Smiskol ab2eab0ffb Log more FW/VIN errors in qlogs (#25901)
* log VIN query errors

* Update fw_versions.py

* use exception

* post-commit
old-commit-hash: ba1c3cda41de2002a31591fe0b92eca63df683b5
2022-09-27 20:17:42 -07:00
Shane Smiskol cfc99982c4 bump panda
old-commit-hash: 12998520b98571190ed379564a26b9db22cf642c
2022-09-27 18:56:25 -07:00
Shane Smiskol b0d03acf2a IsoTpParallelQuery: extend timeout for each ISO-TP frame (#25897)
* raise timeouts

* extend timeout for each message/frame (not multi-frame full response)

* bump panda

* 100 ms timeout between frames (max I've seen is 20, should be good)

* bump panda

* remove unused

* Add tester present to HKG queries (temp)

* send tester present to all ecus first

* vin and fw_versions.py sleep, should figure out why sendcan drops packets

* None is wildcard (some ecus respond with negative code, that's fine)

* typing

* try bus 0

* revert brand-specific changes

* Update selfdrive/car/isotp_parallel_query.py
old-commit-hash: 870c5f383d2feb1b5dd255fd0c528d1427f8478c
2022-09-27 18:13:13 -07:00
Adeeb Shihadeh 6731c6b61c sensor tests: bump light sensor threshold
old-commit-hash: 2a30da6698d92a3729bc5478a3c53996b8077152
2022-09-27 14:23:32 -07:00
Cameron Clough 529b861d4b docs: remove redundant keyword args (#25899)
remove unnecessary keyword args, unnecessary package
old-commit-hash: 89768376c0e141fb4143f95136693c6fe48f1f0b
2022-09-27 14:00:08 -07:00
Shane Smiskol 867193b686 replay: set CarParamsPersistent
old-commit-hash: 26517a0ef920eb7dc89663ee599c1f1d06166c88
2022-09-26 23:50:49 -07:00
Shane Smiskol a27814c513 Log tx addr for IsoTpMessage exceptions
old-commit-hash: 29b9a07393bffc6d7915245958e38b9219304aa7
2022-09-26 23:22:50 -07:00
Adeeb Shihadeh da2d4bebd1 compressed_vipc: add main()
old-commit-hash: f18773acbea2c54a2edc70d74c35a8dea6cfdf82
2022-09-26 22:27:30 -07:00
Adeeb Shihadeh 7e200374a8 updated: check overlay mounted
old-commit-hash: d2869f4779495685730c5eb27e90fabf559f68d4
2022-09-26 16:57:21 -07:00
Lee Jong Mun 0361b6364d Multilang: kor translation update (#25893)
old-commit-hash: a124fa22e412cd38f68a8e8db998dd786ed9509c
2022-09-26 12:01:24 -07:00
Lee Jong Mun 5020d45b57 update system.hardware import path (#25889)
old-commit-hash: d997d40f17406d079c2f343bcde446be44094021
2022-09-25 19:33:35 -07:00
Adeeb Shihadeh 3e18ef26d4 updated: allow reusing overlay (#25883)
old-commit-hash: b2376909f4b3c95f27eb11d081d3952566b06815
2022-09-23 19:44:18 -07:00
Kurt Nistelberger eaca9b10b7 pin sensord and lsm interrupt to core 1, for better timing (#25867)
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 755f24885aa3e89933cc8ad9784cdaf480156239
2022-09-23 18:51:07 -07:00
Dean Lee 219a0f97c7 bootlog: rename bz_file to file (#25881)
old-commit-hash: f4a4ec8fa21dfef5ef0ebe2eafaadc1c2536d861
2022-09-23 13:28:25 -07:00
Dean Lee 58de00a5db modeld: removed extra spaces (#25880)
old-commit-hash: 2f878830c841402cc971b76a3b14e58fc8c69fd9
2022-09-23 10:54:13 -07:00
Robbe Derks fe1352747d 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>
old-commit-hash: b3be8636710c3ef4699bbb256f56823302d08397
2022-09-23 13:40:15 +02:00
Cameron Clough c7b936584f 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
old-commit-hash: 9a2d8c420d0f0226390547feb00de4dcefbd1adf
2022-09-22 18:38:42 -07:00
Adeeb Shihadeh a8a9f16845 agnos 6 (#25864)
* agnos 6

* new agnos

* no casync for now
old-commit-hash: dc65f8a60a8a20cb0c93386ef4c6537dce2fbc58
2022-09-22 15:56:17 -07:00
Adeeb Shihadeh d53804cc85 controlsd: ignore irrelevant alerts in dashcam mode (#25875)
old-commit-hash: dcdf9a6eb4d67432ea6e2902b285cc7c97caf56c
2022-09-22 13:43:27 -07:00
Adeeb Shihadeh fe713be00a ui: add support for dual cams (#25876)
old-commit-hash: f52dea7d8458948331f4a6e27d7848fed3219f8e
2022-09-22 13:42:00 -07:00
ZwX1616 0bc78ce16b camerad: recalibrate ox colors for HDR (#25874)
re
old-commit-hash: 4ed0abd19734f5af1f2dbb899fd75686a90afbde
2022-09-22 12:52:48 -07:00
Dean Lee 4b50c653d6 locationd: remove redundant break statements (#25873)
old-commit-hash: cdbb06d45d5c6819319f5b6c2ba8b6f4261e9178
2022-09-22 10:41:47 -07:00
Dean Lee a709ca5388 encoderd: build v4l_encoder.cc on PC (#25872)
old-commit-hash: d4404511bcfb420aaf26ae466654821ba4216b2a
2022-09-22 10:41:09 -07:00
Dean Lee b7d7436556 V4LEncoder: remove unused member variable buf_in (#25870)
old-commit-hash: 3b9add56025a2807bd7a75d105421f7c276e578b
2022-09-22 10:40:41 -07:00
Adeeb Shihadeh 288b5fcdb0 update refs
old-commit-hash: 4693a9d3580db73905ccec525349007a8e3473e7
2022-09-22 10:40:23 -07:00
Adeeb Shihadeh 5f22ca2fce hyundai: update mando radar dbc path
old-commit-hash: 051fa5bea42027c1a756ae61fd0c752c1e911899
2022-09-21 21:41:17 -07:00
Adeeb Shihadeh a48ef1f640 set safety param for knockouts
old-commit-hash: 760d4e668ed7ac83a6445fb01e79622b6cffcef4
2022-09-21 21:23:14 -07:00
Adeeb Shihadeh 59d89cf36f boardd: mutli pandas can knockout too
old-commit-hash: db60f6b943b7b07403228e82560ae06f7280d74e
2022-09-21 17:29:08 -07:00
Dean Lee 72d5c6ab22 boardd: fix setting wrong value for BrsEnabled (#25858)
fix wrong setBrsEnabled
old-commit-hash: 7ef55f3820e02f9c445822b7fa288a29a6cd3177
2022-09-21 00:04:53 -07:00
Dean Lee 42277d6cbe sidebar: call update in offroadTransition (#25856)
old-commit-hash: 90f0f04d2699b3ad85fc980c35719cd95433ee82
2022-09-20 20:12:22 -07:00
Cameron Clough 8fdfc606c2 updater: enable branch switching with installer gitconfig (#25854)
old-commit-hash: e29988ab7b5aad52f8e0c1903cca6ecabd9ed143
2022-09-20 16:41:20 -07:00
ZwX1616 129a49aeef camerad: fix OX page faults (#25853)
old-commit-hash: bae94a007079211c9fbf715ff77bf374c74a37f9
2022-09-20 16:00:56 -07:00
Igor Biletskyy e39767b1cb boardd: add CAN health to pandaStates (#25800)
* init

* try this

* mistake

* fix

* bump cereal

* make obvious

* fixes

* remove comment

* one helath header

* ..

* preallocate vectors
old-commit-hash: 53959082e7e3e200fb62e1c44219fa4e656eb8de
2022-09-20 12:39:12 -07:00
Adeeb Shihadeh 45b2c90244 Hyundai: improve EV6 resume reliability (#25847)
* Hyundai: improve EV6 resume reliability

* this is pretty good

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cba29eabe58a120d51b398f7d13c1ac4130d52c
2022-09-20 11:19:23 -07:00
Cameron Clough 1c948fc24e sidebar: updated bookmark image
old-commit-hash: c5df17cd571cb2bd77bbd13539cd6c773f76d9ad
2022-09-20 10:54:46 -07:00
Cameron Clough c1541a9634 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
old-commit-hash: 1379989e0de7f2d5d163879befd32638dc1ebe1b
2022-09-20 10:45:13 -07:00
Shane Smiskol 1c1438a81b 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
old-commit-hash: 2c9f751616d01a695968150c0edccc57cc2f6d4f
2022-09-19 23:33:59 -07:00
Shane Smiskol ab37a6f9e3 Kia Optima: we support 2020, update packages
LDWS comes in the same trim/package as ASCC

old-commit-hash: 6561c0ca7306a92c4a3b2e037b7e33dde3d8bbf2
2022-09-19 22:05:02 -07:00
Adeeb Shihadeh e556eafc08 Update RELEASES.md
old-commit-hash: fc29147d027e44bebc8c3e74e8798281795d2b84
2022-09-19 21:21:56 -07:00
Kurt Nistelberger 29d15e1f3b 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>
old-commit-hash: bcf31aea07c26099aa861ab93c5586e645a25928
2022-09-19 21:01:32 -07:00
Adeeb Shihadeh c437f51224 add event flagging too
old-commit-hash: d1c95fb0d4e87c35f5eb8b425de0c054da93a3a0
2022-09-19 20:43:12 -07:00
Adeeb Shihadeh 0e650865ec update release notes
old-commit-hash: de1882429a20e4d7fd37cdcaf67e54b3649a7fde
2022-09-19 20:40:03 -07:00
Adeeb Shihadeh 7f6ef061bf updated: commits are always strings
old-commit-hash: 805a54ad0f24b64bb1253f5aeed6e5b99c3f842e
2022-09-19 17:41:37 -07:00
Vivek Aithal 51d25b2011 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>
old-commit-hash: 4fa62f146426f76c9c1c2867d9729b33ec612b59
2022-09-19 15:19:26 -07:00
Shane Smiskol 233e82dee7 Hyundai Elantra 2021: replace VW engine FW
5a4405495d2750ef|2022-09-11--12-37-48

old-commit-hash: 7b5d8adfb1819799ec635347712a2f9a40278fa3
2022-09-19 14:14:24 -07:00