Adeeb Shihadeh
1ade0ce47d
sensord: test fixups ( #25935 )
...
* sensord: test fixups
* fix linter
* check freq
* fp seems reliable
* clean that up
* update refs
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Bruce Wayne <batman@z840-provisioning.internal>
old-commit-hash: 80c40048cb
3 years ago
Adeeb Shihadeh
d3d79ad145
build_devel: only fetch target branches ( #25941 )
...
old-commit-hash: a75e85045e
3 years ago
Adeeb Shihadeh
1cb4cdab24
sim: fix sensor freq and timestamps ( #25937 )
...
* sim: fix sensor freq and timestamps
* 100hz
* fix that too
old-commit-hash: 5d33199905
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
Vivek Aithal
911f4f9ea3
Live torque fix ( #25868 )
...
* fix np empty array quirk
* reset to offline values if saved values were not valid live
* edit cloudlog text
old-commit-hash: 4bc175bb9c
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
Kurt Nistelberger
90aff8c6fb
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>
old-commit-hash: 784246cf54
3 years ago
Lee Jong Mun
f6700cb7ba
remove blank whitespace ( #25921 )
...
old-commit-hash: 7df0e3efcf
3 years ago
Adeeb Shihadeh
497bc99c27
agnos updater: set timeout on download ( #25927 )
...
old-commit-hash: 74f741d0be
3 years ago
Dean Lee
f4c83e8d78
boardd: remove global variable pigeon_active ( #25926 )
...
old-commit-hash: badecfd060
3 years ago
Adeeb Shihadeh
bcd69adc33
UI: remove imu tap detection ( #25924 )
...
old-commit-hash: 391780551a
3 years ago
Adeeb Shihadeh
025098b819
Revert "update replay refs"
...
This reverts commit ef6d52afc8a2ad10bae6e7e6e32a5ce54ddac70c.
old-commit-hash: 03977a8783
3 years ago
Kurt Nistelberger
4681730213
update replay refs
...
old-commit-hash: 683096e309
3 years ago
Adeeb Shihadeh
ca3d5d61e2
test_sensord: get 10s of events
...
old-commit-hash: 51e296733d
3 years ago
Adeeb Shihadeh
ae70dd5746
update release notes
...
old-commit-hash: 47de20ffb5
3 years ago
Dean Lee
cf305def06
test_proclog: add cmdline check in buildProcLogerMessage ( #25891 )
...
old-commit-hash: 2e5b50c2d7
3 years ago
Adeeb Shihadeh
33508cd811
updated: clean untracked nested git repos ( #25917 )
...
* updated: clean untracked nested git repos
* ff all the cleans
old-commit-hash: 4e32387ce5
3 years ago
Adeeb Shihadeh
1bade71c4f
updated: configure branch upstream ( #25916 )
...
old-commit-hash: 17ed8dd0e9
3 years ago
Adeeb Shihadeh
52529fb8f6
fix autobrightness for OX03C10 ( #25915 )
...
* fix autobrightness for OX03C10
* fix scaling
* use cur ev
* oops
* bump cereal
old-commit-hash: 2384a9ee67
3 years ago
Shane Smiskol
cfddc54ea7
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>
old-commit-hash: 42210a9910
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
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: 1007df874f
3 years ago
Cameron Clough
10160ca197
exclude opendbc and xx from mypy pre-commit
...
old-commit-hash: b944a22b9b
3 years ago
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: 1c6dc12a04
3 years ago
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 250c632f18
.
old-commit-hash: 4e310b807f
3 years ago
Kurt Nistelberger
8a828af454
Sensor events regen ( #25903 )
...
old-commit-hash: 96ed5aa581
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
cfc99982c4
bump panda
...
old-commit-hash: 12998520b9
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
Adeeb Shihadeh
6731c6b61c
sensor tests: bump light sensor threshold
...
old-commit-hash: 2a30da6698
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
867193b686
replay: set CarParamsPersistent
...
old-commit-hash: 26517a0ef9
3 years ago
Shane Smiskol
a27814c513
Log tx addr for IsoTpMessage exceptions
...
old-commit-hash: 29b9a07393
3 years ago
Adeeb Shihadeh
da2d4bebd1
compressed_vipc: add main()
...
old-commit-hash: f18773acbe
3 years ago
Adeeb Shihadeh
7e200374a8
updated: check overlay mounted
...
old-commit-hash: d2869f4779
3 years ago
Lee Jong Mun
0361b6364d
Multilang: kor translation update ( #25893 )
...
old-commit-hash: a124fa22e4
3 years ago
Lee Jong Mun
5020d45b57
update system.hardware import path ( #25889 )
...
old-commit-hash: d997d40f17
3 years ago
Adeeb Shihadeh
3e18ef26d4
updated: allow reusing overlay ( #25883 )
...
old-commit-hash: b2376909f4
3 years ago
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: 755f24885a
3 years ago
Dean Lee
219a0f97c7
bootlog: rename bz_file to file ( #25881 )
...
old-commit-hash: f4a4ec8fa2
3 years ago
Dean Lee
58de00a5db
modeld: removed extra spaces ( #25880 )
...
old-commit-hash: 2f878830c8
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
a8a9f16845
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
old-commit-hash: dc65f8a60a
3 years ago
Adeeb Shihadeh
d53804cc85
controlsd: ignore irrelevant alerts in dashcam mode ( #25875 )
...
old-commit-hash: dcdf9a6eb4
3 years ago
Adeeb Shihadeh
fe713be00a
ui: add support for dual cams ( #25876 )
...
old-commit-hash: f52dea7d84
3 years ago
ZwX1616
0bc78ce16b
camerad: recalibrate ox colors for HDR ( #25874 )
...
re
old-commit-hash: 4ed0abd197
3 years ago
Dean Lee
4b50c653d6
locationd: remove redundant break statements ( #25873 )
...
old-commit-hash: cdbb06d45d
3 years ago