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
Vivek Aithal
4bc175bb9c
Live torque fix ( #25868 )
...
* fix np empty array quirk
* reset to offline values if saved values were not valid live
* edit cloudlog text
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
Kurt Nistelberger
784246cf54
Gps test Setup, PoC ( #25919 )
...
* first ignore
* init gps test
* make LimeGPS git clone
* revert ignore
* .
* remove prebuilt bins
* Update README.md
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Lee Jong Mun
7df0e3efcf
remove blank whitespace ( #25921 )
3 years ago
Adeeb Shihadeh
74f741d0be
agnos updater: set timeout on download ( #25927 )
3 years ago
Dean Lee
badecfd060
boardd: remove global variable pigeon_active ( #25926 )
3 years ago
Adeeb Shihadeh
391780551a
UI: remove imu tap detection ( #25924 )
3 years ago
Adeeb Shihadeh
03977a8783
Revert "update replay refs"
...
This reverts commit 683096e309
.
3 years ago
Kurt Nistelberger
683096e309
update replay refs
3 years ago
Adeeb Shihadeh
51e296733d
test_sensord: get 10s of events
3 years ago
Adeeb Shihadeh
47de20ffb5
update release notes
3 years ago
Dean Lee
2e5b50c2d7
test_proclog: add cmdline check in buildProcLogerMessage ( #25891 )
3 years ago
Adeeb Shihadeh
4e32387ce5
updated: clean untracked nested git repos ( #25917 )
...
* updated: clean untracked nested git repos
* ff all the cleans
3 years ago
Adeeb Shihadeh
17ed8dd0e9
updated: configure branch upstream ( #25916 )
3 years ago
Adeeb Shihadeh
2384a9ee67
fix autobrightness for OX03C10 ( #25915 )
...
* fix autobrightness for OX03C10
* fix scaling
* use cur ev
* oops
* bump cereal
3 years ago
Shane Smiskol
42210a9910
multilang: nav instructions ( #25102 )
...
* Try Chinese nav
* try this
* not sure what does what
* read language setting in navd
* probably not used
Co-authored-by: Willem Melching <willem.melching@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
HaraldSchafer
1007df874f
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
3 years ago
Cameron Clough
b944a22b9b
exclude opendbc and xx from mypy pre-commit
3 years ago
Adeeb Shihadeh
1c6dc12a04
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>
3 years ago
Cameron Clough
4e310b807f
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 250c632f18
.
3 years ago
Kurt Nistelberger
96ed5aa581
Sensor events regen ( #25903 )
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
12998520b9
bump panda
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
Adeeb Shihadeh
2a30da6698
sensor tests: bump light sensor threshold
3 years ago
Cameron Clough
89768376c0
docs: remove redundant keyword args ( #25899 )
...
remove unnecessary keyword args, unnecessary package
3 years ago
Shane Smiskol
26517a0ef9
replay: set CarParamsPersistent
3 years ago
Shane Smiskol
29b9a07393
Log tx addr for IsoTpMessage exceptions
3 years ago
Adeeb Shihadeh
f18773acbe
compressed_vipc: add main()
3 years ago
Adeeb Shihadeh
d2869f4779
updated: check overlay mounted
3 years ago
Lee Jong Mun
a124fa22e4
Multilang: kor translation update ( #25893 )
3 years ago
Lee Jong Mun
d997d40f17
update system.hardware import path ( #25889 )
3 years ago
Adeeb Shihadeh
b2376909f4
updated: allow reusing overlay ( #25883 )
3 years ago
Kurt Nistelberger
755f24885a
pin sensord and lsm interrupt to core 1, for better timing ( #25867 )
...
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 years ago
Dean Lee
f4a4ec8fa2
bootlog: rename bz_file to file ( #25881 )
3 years ago
Dean Lee
2f878830c8
modeld: removed extra spaces ( #25880 )
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 62096a8db3
.
* Revert "Remove Ioniq Hybrid 2020-21 until harnesses verified"
This reverts commit ac773285f7
.
* update docs
3 years ago
Adeeb Shihadeh
dc65f8a60a
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
3 years ago
Adeeb Shihadeh
dcdf9a6eb4
controlsd: ignore irrelevant alerts in dashcam mode ( #25875 )
3 years ago
Adeeb Shihadeh
f52dea7d84
ui: add support for dual cams ( #25876 )
3 years ago
ZwX1616
4ed0abd197
camerad: recalibrate ox colors for HDR ( #25874 )
...
re
3 years ago
Dean Lee
cdbb06d45d
locationd: remove redundant break statements ( #25873 )
3 years ago
Dean Lee
d4404511bc
encoderd: build v4l_encoder.cc on PC ( #25872 )
3 years ago
Dean Lee
3b9add5602
V4LEncoder: remove unused member variable buf_in ( #25870 )
3 years ago
Adeeb Shihadeh
4693a9d358
update refs
3 years ago