Jason Wen
d35cdb510d
Sync: commaai/msgq:master into sunnypilot/msgq:master
...
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-08-03 21:22:09 -04:00
Shane Smiskol
7c112341c3
Reapply "update to new opendbc API ( #32009 )" ( #33151 )
...
This reverts commit ac130001cc .
2024-07-31 15:37:39 -07:00
Maxime Desroches
1dd8bdc791
Remove hexdump package ( #33155 )
...
* remove hexdump
* uv lock
* cleanup
2024-07-31 13:34:14 -07:00
Shane Smiskol
ac130001cc
Revert "update to new opendbc API ( #32009 )"
...
This reverts commit 0dddc97dca .
2024-07-31 02:38:44 -07:00
Dean Lee
0dddc97dca
update to new opendbc API ( #32009 )
...
* use new opendbc api
* export pandad_python
* merge master
* merge master
* bump opendbc
* bump opendbc
* improve func
* keep interface unchanged
* fix test_car_interfaces
* bump opendbc
* bump opendbc
* fix test_models
* the interface now has to convert from can capnp to list, so we should include this time
* goes from ~210 to ~240 mean ms real time
* remoe busTime
* lowercase sendcan
* consistent msgtype
* bump
* bump
* not used in lat_mpc
* space
* bump to master
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-31 00:24:46 -07:00
Shane Smiskol
11cb2d3a0b
qlog_size.py: use zstd ( #33137 )
...
qlog_size: use zstd
2024-07-29 20:13:43 -07:00
Shane Smiskol
e68bb26e14
tools: keep re pattern file small ( #33084 )
...
remove bz2 from re file
2024-07-25 22:05:10 -07:00
Kacper Rączy
c96dbd5a0b
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
2024-07-18 20:19:39 -07:00
Shane Smiskol
f31ad97e92
qlog_size: decimate rlog option ( #33011 )
...
* decimate option
* clean up
* check exists
2024-07-17 21:57:36 -07:00
Shane Smiskol
35a4a773f1
Revert "selfdrive/car: ban imports from external modules" ( #32993 )
...
Revert "selfdrive/car: ban imports from external modules (#32973 )"
This reverts commit 83d4623590 .
2024-07-15 11:14:04 -07:00
Dean Lee
83d4623590
selfdrive/car: ban imports from external modules ( #32973 )
...
* lint import
* Update selfdrive/car/__init__.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-15 11:12:24 -07:00
Adeeb Shihadeh
d3cb0d24c4
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-07-07 10:15:50 -04:00
rav4kumar
6f9401d902
Merge remote-tracking branch 'comma/master' into sync-20240706
2024-07-06 22:18:32 -04:00
Shane Smiskol
69d4b0fdf0
ruff: check shadowed variables ( #32851 )
...
* check shadowed variables
* fix
2024-06-27 14:44:26 -07:00
Jason Wen
6c429dca06
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-06-24 16:29:37 -04:00
Jason Wen
8de2399680
Merge branch 'upstream/openpilot/master' into SP-157-sync-20240614
...
# Conflicts:
# cereal/services.py
# msgq_repo
# selfdrive/car/hyundai/interface.py
# selfdrive/car/toyota/interface.py
# selfdrive/controls/lib/longcontrol.py
# selfdrive/controls/plannerd.py
2024-06-16 22:34:35 -04:00
Jason Wen
c55d11a865
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-06-12 21:43:05 -04:00
Jason Wen
9e63be9ba2
Sync: commaai/opendbc:master into sunnypilot/opendbc:master
...
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-06-12 21:09:05 -04:00
Jason Wen
524d7b73f9
Sync: sunnypilot/panda:master into sunnypilot/panda-special:master-priv
2024-06-12 16:21:36 -04:00
Shane Smiskol
e798caa3e5
qlog_size.py: more accurate msg size breakdown ( #32723 )
...
* grouping changes outcome
* clean up
* clean up
* clean up
* clean up
* clean up
2024-06-11 22:55:42 -07:00
Shane Smiskol
81dc33e569
Fixup qlog size ( #32719 )
...
* stash
* Revert "stash"
This reverts commit 5a22b44919d4cb8681cc08d99656954423abda93.
* improvements
* rm
* method 2
* Revert "method 2"
This reverts commit 7112d95b3eead8bfdd8efb1dcefd4edbe9107680.
* unreal for now
* stash
* Revert "stash"
This reverts commit a7c5b31d8043b8da96c21a8d40281cece3cada61.
* clean up
* update description
2024-06-11 21:36:13 -07:00
Adeeb Shihadeh
20a44bb4e9
debug: add summary to check_timings
2024-06-08 21:01:39 -07:00
Jason Wen
1ffc59f65a
Merge branch 'upstream/openpilot/master' into sync-20240608
...
# Conflicts:
# cereal
# opendbc
# panda
# release/files_common
# selfdrive/monitoring/dmonitoringd.py
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
2024-06-08 23:08:33 -04:00
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
2024-06-04 19:16:55 -07:00
Shane Smiskol
c7b3ece37e
revert marking some files as unexecutable ( #32613 )
...
* this is not a test
* these are not tests!
2024-06-03 17:19:27 -07:00
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
2024-06-03 15:48:56 -07:00
Shane Smiskol
63f55f4915
debug FW fingerprinting: live support ( #32585 )
...
* live debug!
* clean up
2024-05-31 22:28:03 -07:00
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
2024-05-25 12:41:17 -07:00
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
2024-05-20 17:43:54 -07:00
Jason Wen
250afef443
Merge branch 'master' into SP-59-sync-priv-20240507
...
# Conflicts:
# panda
# release/build_release.sh
# selfdrive/car/volkswagen/interface.py
2024-05-15 16:04:19 -04:00
Jason Wen
9e3f57d53e
Merge branch 'master' into SP-59-sync-priv-20240507
2024-05-09 15:48:29 -04:00
Miguel Fernandez
b2d5edcdb5
Merge remote-tracking branch 'refs/remotes/openpilot/master' into small-sync
...
# Conflicts:
# cereal
# opendbc
# panda
# selfdrive/car/__init__.py
# selfdrive/monitoring/dmonitoringd.py
2024-05-09 15:13:00 +02:00
Adeeb Shihadeh
2d838f95da
boardd: add debug flag for injecting SPI errors ( #32346 )
...
* pull out ll first
* errors
---------
Co-authored-by: Comma Device <device@comma.ai >
2024-05-07 21:36:04 -07:00
Shane Smiskol
888b38c3db
print_flags.py: clean up
...
always ensure current impl of something is the best!
2024-05-07 15:06:23 -07:00
Shane Smiskol
f597d63bf6
PlatformConfig: clean up and print all flags ( #32369 )
...
* script to print flags
* don't need
* SAL
* back
* fix
2024-05-07 15:00:02 -07:00
Jason Wen
abb18380a1
Merge branch 'upstream/openpilot/master' into sync-20240502
...
# Conflicts:
# cereal
# common/params.cc
# opendbc
# panda
# selfdrive/car/chrysler/carcontroller.py
# selfdrive/car/honda/carstate.py
# selfdrive/car/honda/fingerprints.py
# selfdrive/car/honda/hondacan.py
# selfdrive/car/honda/interface.py
# selfdrive/car/honda/values.py
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/hyundai/values.py
# selfdrive/car/subaru/carstate.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/torque_data/override.toml
# selfdrive/car/torque_data/params.toml
# selfdrive/car/toyota/carcontroller.py
# selfdrive/car/toyota/carstate.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/toyotacan.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/modeld/modeld.py
# selfdrive/monitoring/dmonitoringd.py
# selfdrive/ui/qt/onroad/annotated_camera.cc
Revert "remove STM32F2 sources (#1873 )"
This reverts commit 7bfba5ef
2024-05-04 23:49:28 -04:00
Shane Smiskol
97dc444023
fix uiview ( #32290 )
...
* fix uiview
* add DMoji!
2024-04-24 17:05:18 -07:00
Shane Smiskol
cb8e336cd7
debug FW query offline: annotate sendcan/can ( #32239 )
...
bet
2024-04-17 15:38:05 -07:00
Shane Smiskol
6acf763db4
Volkswagen: fingerprint on VIN chassis code ( #32148 )
...
* add function signature and behavior comment
* add test
* move chassis codes to platform config!
* add a shared chassis code test
* function
* test matching
* this commit isn't complete yet
* Revert "this commit isn't complete yet"
This reverts commit ae77d5cd54e1f43d390fb70c4da38a95ac34f8da.
* need to check WMI
* TODO: test WMI
* test wmi
* radar FW sanity check
* fix test
* fixes from merge
fixes from merge
* whoops
* fix static analysis!
* do match_fw_to_car
match_fw_to_car takes vin
* makes sense to keep it one function, and we can return exact or fuzzy!
* clean up
* kinda pointless
* fix more tests
* back to function being only fuzzy
* revert test_fw_fingerprint
* revert test_fw_fingerprint
* simplify
* clean up/fixes
* rename test
* less duplicatey WMI descriptions
* fix
* convert to enum
* I am confident about these WMIs
* these are also good
* we support 5N AUS/NZ and NAR (North American) AX Tiguans
fixes
* Tiguan also Mexico
* only one user for caddy
* got from the test route
* check that the gateway type matches the platform (each platform has 1 or 2 types)
* ~gateway~ -> exact FW match
* remove re
* ensure WMIs are set
* actually no reason to delete
* move comment up to the platform config
* proper wmis typing
* spacing
* flip
2024-04-12 22:00:03 -07:00
MarinkoMagla
9d1b3cc773
Encode the actual current date in vw_mqb_config.py ( #32093 )
2024-04-10 15:22:36 -07:00
Dean Lee
178cc8747c
debug/check_can_parser_performance: remove overhead of capnp conversion ( #32048 )
2024-03-29 10:17:39 -07:00
Shane Smiskol
81fae3d807
More fingerprint migration fixes ( #32018 )
...
* fix migration
* another
2024-03-26 16:43:09 -07:00
thenhnn
489528dcae
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: justin newberry <justin@comma.ai >
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
2024-03-19 11:16:02 -07:00
Justin Newberry
0b92f4e9ee
more car info -> car docs ( #31885 )
2024-03-17 16:53:57 -07:00
Shane Smiskol
de7f14dbd7
Fingerprints migration dictionary ( #31838 )
...
move migration to op!
2024-03-12 11:50:26 -07:00
Shane Smiskol
1644572be2
run_process_on_route: print log location
2024-03-06 01:04:31 -08:00
noname314
95a80fd2cd
HKG: Add FW versions and Enable Radar Tracks for KOR Sonata DN8 Hybrid 2020 ( #31371 )
...
* HKG: Add FW versions for KOR Sonata DN8 Hybrid 2020
* HKG: Enable radar tracks for KOR Sonata DN8 Hybrid 2020
* rm extra
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-03-05 18:08:32 -08:00
Jason Wen
f588a0367b
Merge branch 'master' into sync-priv-20240227
...
# Conflicts:
# panda
# selfdrive/car/chrysler/values.py
# selfdrive/car/ford/carstate.py
# selfdrive/car/ford/interface.py
# selfdrive/car/ford/values.py
# selfdrive/car/interfaces.py
# selfdrive/car/nissan/values.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/volkswagen/interface.py
# selfdrive/car/volkswagen/values.py
# selfdrive/controls/radard.py
# selfdrive/manager/process.py
# selfdrive/modeld/modeld.py
2024-02-27 21:22:16 -05:00
Jason Wen
9aca2536aa
Merge branch 'upstream/openpilot/master' into sync-20240224
...
# Conflicts:
# selfdrive/car/subaru/values.py
2024-02-24 20:46:45 -05:00
Cameron Clough
995250ae49
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
2024-02-24 16:41:23 -08:00