Cameron Clough
7f3c070061
Hyundai: add missing Elantra Hybrid 2023 FW versions ( #26055 )
...
* add Hyundai Elantra HEV 2023 fw
8dcf421697cd2cb0|2022-10-12--16-12-21--0
VIN: KMHLN4AJ5PU042417
* add 2023 to docs
* delete
* fix fingerprint
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Adeeb Shihadeh
82bd082dcd
Hyundai: split alt gas pressed signals by EV and ICE ( #26061 )
3 years ago
Adeeb Shihadeh
4ee0b8196f
Hyundai: fix alt CAN-FD cancel ( #26057 )
3 years ago
Adeeb Shihadeh
c782380fc1
Hyundai: share panda flags with CAN-FD platform ( #26058 )
...
* Hyundai: share panda flags with CAN-FD platform
* move that
* only set bit
* bump panda
* panda master
* regen + update refs for new param
3 years ago
Jason Young
bb61081b70
VW MQB: DBC updates and cleanup ( #26053 )
...
* VW MQB: DBC updates and cleanup
* bump opendbc after merge
3 years ago
Jason Young
135270f65c
Allow car port to define enable buttons ( #25793 )
...
* Allow car port to define enable buttons
* simplify
* oops
3 years ago
Cameron Clough
80259f377f
Ford: cleanup and fix button press ( #26033 )
...
* cleanup
* use Veh_V_ActlBrk for vEgoRaw
* remove unused CarState.yaw_data
* less resume spam
* set steering ramp rate
* match DBC range
* add LCA/TJA notes
3 years ago
Adeeb Shihadeh
3c0904a18f
EV6 longitudinal ( #26023 )
...
* ev6 long
* update refs
3 years ago
Jason Shuler
ac88ad871a
GM: disable checks on loopback bus ( #26015 )
...
* disabling checks on loopback bus
* Apply suggestions from code review
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Jason Young
47b19ff148
VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 ( #25839 )
...
* initial Sharan support
* placeholder torque data
* oops
* add route
* min speeds and PQ default delay
3 years ago
Nelson Chen
aa3dc7acbe
RAV4 2022: Add missing engine FW ( #26044 )
...
From 23e0360acaefab4d
3 years ago
Shane Smiskol
5ad89425a7
GM camera ACC: log stock aeb/fcw ( #26017 )
...
* GM camera ACC: log aeb/fcw
* order
* fix stockAeb
3 years ago
Shane Smiskol
0f94d81b7a
GM camera ACC: reduce LKAS faults on startup ( #26039 )
...
* GM camera ACC: no faults on start up 2.0
And by 2.0 I mean we don't need to wait for blocked msg support to be merged first to merge this without regressing accidental single blocked msg count handling.
* Send the camera counter + 1
* Keep updating the first counter until we get a message on the bus
* Only update right before sending so sent_lka_steering_cmd is updated first
* Update ref_commit
3 years ago
Shane Smiskol
f74fefaffa
Hyundai: remove 90° steering lockout ( #24108 )
...
* avoid 90 degree fault
* use 50 frames
* no panda mods
* clean up
* absolutely no faults. zero. zilch. nada
* fix initial value and comments
* try glitching at double rate instead of two in a row
* bump panda
* cut for two frames
* clean up
* bump panda
* clean up
* not today!
* bump panda to master
* prefix and simple lat_active
* prefix
3 years ago
Shane Smiskol
7418678132
Use longActive for car-specific override signals ( #26030 )
...
* add override field to cruiseControl
* need to check if long *can* be active
* bump cereal to master
* revert
* better
* fix
* update refs
* rename variable
3 years ago
Nelson Chen
e062d2387e
Add missing Corolla TSS2 firmware ( #26032 )
3 years ago
Shane Smiskol
32a4dfe2fe
Add CarInfo for Elantra GT and i30 ( #26034 )
...
Fixup car info for Elantra GT/i30
3 years ago
Shane Smiskol
c719b3b7dd
HKG CAN-FD: log temporary steering faults ( #26031 )
...
* log hkg can-fd temporary steering faults
* bump to master
3 years ago
Shane Smiskol
f31aa68533
Subaru: log stock FCW ( #26012 )
...
* log stock FCW
* Update selfdrive/car/subaru/carstate.py
* never seen 1 (could be aeb?)
3 years ago
Greg Hogan
2e7fa330b3
hyundai: fix logging stock AEB events ( #25152 )
3 years ago
Shane Smiskol
36701a82a3
Kia: update Optima platform name ( #25852 )
...
* https://en.wikipedia.org/wiki/Kia_K5
* it's actually the same generation, but 2019+ is a facelift
* g4
* fix
* rename
3 years ago
Shane Smiskol
6ce511cc60
GM: use ECM brake-pressed threshold ( #25970 )
...
* This brake position value disengages stock ACC, use it to avoid controls mismatch. 2016-2017 Volt will hit this threshold and disengage, must install new design of brake pedal retaining clip, TSB 16-NA-147.
* 80 hz
* comment
* bump panda
* update refs
* bump panda
* bump panda
* bump panda
* bump panda to master
Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
3 years ago
Adeeb Shihadeh
7c49c44c4e
fix speed of mock car with qcom gps ( #25993 )
...
* fix speed of mock car with qcom gps
* typo
3 years ago
Shane Smiskol
cf1e978ad1
Fingerprinting: log if using cache ( #25989 )
...
* Log if using cache or not
* log in the same log message
3 years ago
Shane Smiskol
e7805eb5c5
FPv2: fixed fingerprint overrides query result ( #25990 )
...
* query FW versions if fixed (override after)
* skip here
* also skip here
* and here
3 years ago
Shane Smiskol
6db9f051f7
Car docs: test no duplicate years ( #25975 )
...
* unit test
* clean up
* revert test
* clean up
* like this
like this
* no model model
3 years ago
Shane Smiskol
8b41d817e4
IsoTpParallelQuery: set separation time ( #25978 )
...
* Specify separation time in openpilot
* comment
* Update selfdrive/car/isotp_parallel_query.py
* Update selfdrive/car/isotp_parallel_query.py
3 years ago
Cameron Clough
c8b7d297b6
docs: specify Lexus Safety System+ package for RX 2016 ( #25974 )
...
* docs: specify Lexus Safety System+ package for RX 2016
This package isn't standard on the 2016 MY.
https://cdn.dealereprocess.org/cdn/brochures/lexus/2016-rx350.pdf
* hybrid too
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Shane Smiskol
7ed064f7ba
VIN: make Ford exception more explicit ( #25972 )
...
* Update vin.py
* only replace from end
3 years ago
Shane Smiskol
de67a28f1b
Ford: handle VIN ( #25966 )
...
fix ford vin
3 years ago
Shane Smiskol
84adb8d925
GM: raise max brake ( #25810 )
...
* -4 didn't make any sense?
* comments
* comments
* update to 400
* bump panda
* remove unused iso limit vars
* update comments
* bump panda
* Update selfdrive/car/gm/values.py
* Update ref_commit
3 years ago
Greg Hogan
5352006cbd
hyundai: fix FCA11 checksum and counter ( #25027 )
...
* hyundai: fix FCA11 checksum and counter
* update refs and comment about alt DBC definition we do not support
3 years ago
Adeeb Shihadeh
3068c48224
add fault for invalid safety RX checks ( #25949 )
...
* add fault for invalid safety RX checks
* just a bool
* bump panda
3 years ago
Jason Young
50b8fc19b6
VW PQ: Use correct brake signal ( #25952 )
3 years ago
Shane Smiskol
68cc53a085
VIN query: switch to functional address ( #25933 )
...
* stash
* go in defined order
* \n feels cleaner
3 years ago
Shane Smiskol
86f0632afd
Use tx_addr/sub_addr from query
3 years ago
Shane Smiskol
4d7f4b4c9d
IsoTpParallelQuery: don't return rx_addr ( #25934 )
...
* revert isotpparallelquery returning rx addr for functional special case
* we don't really use the tx addr (and soon won't make sense with fun querying)
3 years ago
Shane Smiskol
bea960675f
IsoTpParallelQuery: process all functional responses ( #25939 )
...
* stash
* process all functional addrs (stash)
* clean up
* rm
* simplify
* let user pass in tx for rx addrs
* revert panda
* simplify
* comment
order
* need to go by rx_addr now
* Revert "need to go by rx_addr now"
This reverts commit 1197ecfbc5b9e5df20b523a0623f644cd8cae1ef.
* stash
* should also work
* this seems pretty clean
* not used
* properly use
* comment
* some fixes
* some fixes
* send consecutive frames on physical addrs
* bump panda
* looks better
* setup_only
* Revert VIN changes
* rev
* bump panda to master
* Update selfdrive/car/isotp_parallel_query.py
3 years ago
Shane Smiskol
9e2cca23cf
Revert "IsoTpParallelQuery: process all functional responses ( #25930 )"
...
This reverts commit c5514f3440
.
3 years ago
Shane Smiskol
c5514f3440
IsoTpParallelQuery: process all functional responses ( #25930 )
...
* Revert "VIN: query physical addresses (#25122 )"
This reverts commit 0697ca2239
.
* try sending tester present
* do CAN fingerprinting first
* looks like we can get rid of this!
* remove import
* no cache for testing
* revert
* revert
* move function to fw_versions
* Exception
* Revert fp order, sleep to let PubSocket connect
* comment
comment
* space
* Update selfdrive/car/car_helpers.py
* at 0.06 is where it becomes more consistent
* treat functional addrs like physical addrs (process all responses)
* fixes and debugging
* fix
* revert other changes
* Update selfdrive/car/isotp_parallel_query.py
* caps
3 years ago
Kurt Nistelberger
29d3ed2ce6
Sensor events splitup ( #25714 )
...
* PoC of reading sensors via interrupts instead of polling
* add Gyro and draft for magn
* add more functionality to gpio.cc
* change LSM gyro to interrupt
* resolve rebase conflict
* update BMX accel interrupt impl
* add interrupt collector thread to fetch in parallel
* change get_event interface to return true on successful read
* update BMX gyro interrupt impl
* update gpio.h/.cc according to comments
* address comments, rename Edgetype enum
* Edgetype to EdgeType
* update sensor interrupt interface
* add error handling, and read fd on trigger
* avoid sending empty messages
* fix build
* use gpiochip
* less diff
* gpiochip on both edges, but skip falling edge if rising edge is detected
* init last_ts with 0
* update sensord testcases
* update sensord testsweet
* test for pipeline
* readd with_process
* add null check
* move tests update to seperate PR
* sensord: improve test coverage (#25683 )
* update sensord-interrupt testsweet
* address review comments
* inc stddev threshold
* fix format string
* add version 0 check again
* relax strictness after c3 with bmx tests
* relax strictness after tests
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
* address PR comments
* fix typo
* remove 4ms limit, and skip first 0.5sec of data
* revert disable_interuppt change to destructor
* fix and remove timing skip
* make gpiochip generic
* sensord port
* change from sensorEvents to separated events
* fix gyro usage
* add splitted sensor tests
* modify debug script sensor_data_to_hist.py
* refactor get_event interface to remove sensorEvent message type
* update locationd to non sensorEvent usage
* tmp commit
* fix replay
* fix accelerometer type
* fix sensor to hist debug script
* update sensord tests to split events
* remove rebase artifacts
* port test_sensord.py
* small clean up
* change cereal to sensorEvents-splitup branch
* upate sensorEvents in regen
* fix route generation for splitted sensor events
* regen cleanUp from sensorEvents change
* .
* remove light and temp from locationd
* add generic init delay per sensor
* .
* update routes
* move bmx gyro/accel to its own channel
* adopt sensor tests to bmx channel
* remove rebase artifacts
* fix sensord test
* handle bmx not present
* add bmx sockets to regen
* .
* .
* code cleanUp
* .
* address PR comments
* address PR comments
* address PR comments
* lsm clean up
* readd sensorEvents
* rever regen.py
* .
* update replay refs
* move channels
* fix artifact
* bump cereal
* update refs
* fix timing issue
Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Shane Smiskol
685533a3a1
Subaru: Add missing FW for 2021 Legacy ( #25914 )
...
Add missing 2021 Legacy FW from 9936b4bbf75a5fe4|2022-09-26--20-29-47
3 years ago
Shane Smiskol
0ec8546042
vin and ecu_addrs: add more argparse options ( #25913 )
...
* add bus options
* use debug
* add timeout and try
* fix
* don't need keywords
* log this too
* fix
3 years ago
Shane Smiskol
ba1c3cda41
Log more FW/VIN errors in qlogs ( #25901 )
...
* log VIN query errors
* Update fw_versions.py
* use exception
* post-commit
3 years ago
Shane Smiskol
870c5f383d
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
3 years ago
Cameron Clough
89768376c0
docs: remove redundant keyword args ( #25899 )
...
remove unnecessary keyword args, unnecessary package
3 years ago
Shane Smiskol
29b9a07393
Log tx addr for IsoTpMessage exceptions
3 years ago
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>
3 years ago
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
3 years ago
Adeeb Shihadeh
051fa5bea4
hyundai: update mando radar dbc path
3 years ago