Adeeb Shihadeh
76da219352
Hyundai: split alt gas pressed signals by EV and ICE ( #26061 )
...
old-commit-hash: 82bd082dcd
3 years ago
Adeeb Shihadeh
ecfef77606
Hyundai: fix alt CAN-FD cancel ( #26057 )
...
old-commit-hash: 4ee0b8196f
3 years ago
Adeeb Shihadeh
f6803bc8df
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
old-commit-hash: c782380fc1
3 years ago
Jason Young
18681091bf
VW MQB: DBC updates and cleanup ( #26053 )
...
* VW MQB: DBC updates and cleanup
* bump opendbc after merge
old-commit-hash: bb61081b70
3 years ago
Jason Young
914c75d9ea
Allow car port to define enable buttons ( #25793 )
...
* Allow car port to define enable buttons
* simplify
* oops
old-commit-hash: 135270f65c
3 years ago
Cameron Clough
0defa2774f
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
old-commit-hash: 80259f377f
3 years ago
Adeeb Shihadeh
026668b5f8
EV6 longitudinal ( #26023 )
...
* ev6 long
* update refs
old-commit-hash: 3c0904a18f
3 years ago
Jason Shuler
6d8f98ab9b
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>
old-commit-hash: ac88ad871a
3 years ago
Jason Young
6f2b741c33
VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 ( #25839 )
...
* initial Sharan support
* placeholder torque data
* oops
* add route
* min speeds and PQ default delay
old-commit-hash: 47b19ff148
3 years ago
Nelson Chen
05490107b1
RAV4 2022: Add missing engine FW ( #26044 )
...
From 23e0360acaefab4d
old-commit-hash: aa3dc7acbe
3 years ago
Shane Smiskol
f3a4c0c6a5
GM camera ACC: log stock aeb/fcw ( #26017 )
...
* GM camera ACC: log aeb/fcw
* order
* fix stockAeb
old-commit-hash: 5ad89425a7
3 years ago
Shane Smiskol
6a92eb5a7a
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
old-commit-hash: 0f94d81b7a
3 years ago
Shane Smiskol
57f5abda16
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
old-commit-hash: f74fefaffa
3 years ago
Shane Smiskol
4df9e825ae
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
old-commit-hash: 7418678132
3 years ago
Nelson Chen
8dc2f5e427
Add missing Corolla TSS2 firmware ( #26032 )
...
old-commit-hash: e062d2387e
3 years ago
Shane Smiskol
3604eadef8
Add CarInfo for Elantra GT and i30 ( #26034 )
...
Fixup car info for Elantra GT/i30
old-commit-hash: 32a4dfe2fe
3 years ago
Shane Smiskol
ce1e890c5d
HKG CAN-FD: log temporary steering faults ( #26031 )
...
* log hkg can-fd temporary steering faults
* bump to master
old-commit-hash: c719b3b7dd
3 years ago
Shane Smiskol
d064794e80
Subaru: log stock FCW ( #26012 )
...
* log stock FCW
* Update selfdrive/car/subaru/carstate.py
* never seen 1 (could be aeb?)
old-commit-hash: f31aa68533
3 years ago
Greg Hogan
08234a9ea9
hyundai: fix logging stock AEB events ( #25152 )
...
old-commit-hash: 2e7fa330b3
3 years ago
Shane Smiskol
46e01104ad
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
old-commit-hash: 36701a82a3
3 years ago
Shane Smiskol
779ad387bf
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>
old-commit-hash: 6ce511cc60
3 years ago
Adeeb Shihadeh
a31676383c
fix speed of mock car with qcom gps ( #25993 )
...
* fix speed of mock car with qcom gps
* typo
old-commit-hash: 7c49c44c4e
3 years ago
Shane Smiskol
1c7fa1d700
Fingerprinting: log if using cache ( #25989 )
...
* Log if using cache or not
* log in the same log message
old-commit-hash: cf1e978ad1
3 years ago
Shane Smiskol
984134be0e
FPv2: fixed fingerprint overrides query result ( #25990 )
...
* query FW versions if fixed (override after)
* skip here
* also skip here
* and here
old-commit-hash: e7805eb5c5
3 years ago
Shane Smiskol
c32368fd20
Car docs: test no duplicate years ( #25975 )
...
* unit test
* clean up
* revert test
* clean up
* like this
like this
* no model model
old-commit-hash: 6db9f051f7
3 years ago
Shane Smiskol
098ef11824
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
old-commit-hash: 8b41d817e4
3 years ago
Cameron Clough
0f07fb6f2c
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>
old-commit-hash: c8b7d297b6
3 years ago
Shane Smiskol
90d4906aa9
VIN: make Ford exception more explicit ( #25972 )
...
* Update vin.py
* only replace from end
old-commit-hash: 7ed064f7ba
3 years ago
Shane Smiskol
1cb7a7def9
Ford: handle VIN ( #25966 )
...
fix ford vin
old-commit-hash: de67a28f1b
3 years ago
Shane Smiskol
8e1e6132c8
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
old-commit-hash: 84adb8d925
3 years ago
Greg Hogan
937ca9a946
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
old-commit-hash: 5352006cbd
3 years ago
Adeeb Shihadeh
e631966207
add fault for invalid safety RX checks ( #25949 )
...
* add fault for invalid safety RX checks
* just a bool
* bump panda
old-commit-hash: 3068c48224
3 years ago
Jason Young
a7cb4aa824
VW PQ: Use correct brake signal ( #25952 )
...
old-commit-hash: 50b8fc19b6
3 years ago
Shane Smiskol
f7a315e995
VIN query: switch to functional address ( #25933 )
...
* stash
* go in defined order
* \n feels cleaner
old-commit-hash: 68cc53a085
3 years ago
Shane Smiskol
11114b9789
Use tx_addr/sub_addr from query
...
old-commit-hash: 86f0632afd
3 years ago
Shane Smiskol
bfc4d72402
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)
old-commit-hash: 4d7f4b4c9d
3 years ago
Shane Smiskol
02428ca744
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 1197ecfbc5
.
* 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
old-commit-hash: bea960675f
3 years ago
Shane Smiskol
d7acc9fe75
Revert "IsoTpParallelQuery: process all functional responses ( #25930 )"
...
This reverts commit 39e98b0456047adc253c611b1015fd1aa38f6dd2.
old-commit-hash: 9e2cca23cf
3 years ago
Shane Smiskol
f3211a9dfb
IsoTpParallelQuery: process all functional responses ( #25930 )
...
* Revert "VIN: query physical addresses (#25122 )"
This reverts commit 452c155a49b068891937450b7389a2154881160a.
* 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
old-commit-hash: c5514f3440
3 years ago
Kurt Nistelberger
fb06d2769f
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>
old-commit-hash: 29d3ed2ce6
3 years ago
Shane Smiskol
346c543ad6
Subaru: Add missing FW for 2021 Legacy ( #25914 )
...
Add missing 2021 Legacy FW from 9936b4bbf75a5fe4|2022-09-26--20-29-47
old-commit-hash: 685533a3a1
3 years ago
Shane Smiskol
c3fb4dda1b
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
old-commit-hash: 0ec8546042
3 years ago
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: ba1c3cda41
3 years ago
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: 870c5f383d
3 years ago
Cameron Clough
529b861d4b
docs: remove redundant keyword args ( #25899 )
...
remove unnecessary keyword args, unnecessary package
old-commit-hash: 89768376c0
3 years ago
Shane Smiskol
a27814c513
Log tx addr for IsoTpMessage exceptions
...
old-commit-hash: 29b9a07393
3 years ago
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: b3be863671
3 years ago
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 62096a8db3
.
* Revert "Remove Ioniq Hybrid 2020-21 until harnesses verified"
This reverts commit ac773285f7
.
* update docs
old-commit-hash: 9a2d8c420d
3 years ago
Adeeb Shihadeh
5f22ca2fce
hyundai: update mando radar dbc path
...
old-commit-hash: 051fa5bea4
3 years ago
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: 2cba29eabe
3 years ago