Jason Wen
ccfb7ff153
Merge branch 'master' into sync-priv-20231016
...
# Conflicts:
# panda
# selfdrive/car/chrysler/values.py
# selfdrive/car/ford/values.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/values.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/plannerd.py
# selfdrive/sentry.py
# selfdrive/ui/qt/offroad/settings.cc
2023-10-16 11:52:39 -04:00
Jason Wen
cfeba34d5d
Merge branch 'upstream/openpilot/master-20231016-sync' into master-20231016
...
# Conflicts:
# cereal
# panda
# selfdrive/car/hyundai/interface.py
# selfdrive/car/hyundai/values.py
# selfdrive/car/subaru/values.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/plannerd.py
# selfdrive/monitoring/dmonitoringd.py
2023-10-16 11:03:27 -04:00
Jason Wen
6c67abe65f
Revert "Sync master-priv with public sunnypilot:master"
2023-10-16 04:53:55 +00:00
DevTekVE
f885863e1e
Sync master-priv with public sunnypilot:master
2023-10-13 16:40:08 +00:00
Jason Wen
cc47228363
Cereal: Use custom reserved structs (aka MSPA) ( #316 )
...
* Cereal: Use custom reserved structs
* bump cereal
* fix dmonitoring
* pandaStateSP & controlsStateSP
* LongitudinalPlanSP
* LateralPlanSP
* LiveMapDataSP
* E2eLongStateSP
* fixup! LongitudinalPlanSP
* fix
* LongitudinalPersonality fix
* sync with upstream
* bump cereal
* LongitudinalPersonalitySP fixed
* LongitudinalPlanSP fix
* no need
* bump cereal
* bump panda
* no longer logs controlsAllowedLong
* bump cereal
* bump cereal
* fix
* LiveMapDataSP fix
* MSPA (#217 )
* Cereal: Use custom reserved structs
* fix dmonitoring
* sync with upstream
* bump cereal
* bump cereal
* fix
* bump cereal
* fix
* unused
* check sm valid
* bump cereal
* MSPA: Unused service (#218 )
* bump panda
* bump panda
* bump panda
2023-10-01 03:13:14 -04:00
Jason Wen
61d39a5558
MSPA: Unused service ( #218 )
2023-10-01 02:10:49 -04:00
Jason Wen
c8debe77db
MSPA ( #217 )
...
* Cereal: Use custom reserved structs
* fix dmonitoring
* sync with upstream
* bump cereal
* bump cereal
* fix
* bump cereal
* fix
* unused
* check sm valid
2023-10-01 02:05:05 -04:00
Justin Newberry
05f7c96327
Tools: a basic auto fingerprinting tool ( #30117 )
...
* v1 auto fingerprint tool
* executable
* static analysis
* move to selfdrive/debug
* from any directory
* fix static analysis
2023-09-30 20:50:29 -07:00
Jiyong Youn
2fee341a90
HKG: Enable radar tracks for 2021 K5 Hybrid ( #30113 )
2023-09-30 15:19:12 -07:00
Mike McKay
a5f2fd5b1a
Update vw_mqb_config.py ( #30101 )
...
Added a message to tell the user to kill the comma process when running the script.
2023-09-29 11:00:44 -07:00
Adeeb Shihadeh
7ac659ade4
remove old profiling tool
2023-09-25 20:20:24 -07:00
royjr
f7f8b769ef
debug: update alerts ( #30023 )
...
* remove vehicleModelInvalid
* add locationdTemporaryError
* add paramsdTemporaryError
2023-09-23 08:31:20 -07:00
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2023-09-21 18:25:15 -07:00
Jason Wen
9219b7966c
Merge branch 'master' into dev-priv/master-test
...
# Conflicts:
# panda
# release/build_release.sh
# selfdrive/car/car_helpers.py
# selfdrive/car/chrysler/carcontroller.py
# selfdrive/car/chrysler/carstate.py
# selfdrive/car/chrysler/interface.py
# selfdrive/car/ford/carstate.py
# selfdrive/car/ford/interface.py
# selfdrive/car/gm/carcontroller.py
# selfdrive/car/gm/carstate.py
# selfdrive/car/gm/interface.py
# selfdrive/car/honda/carcontroller.py
# selfdrive/car/honda/interface.py
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/interfaces.py
# selfdrive/car/mazda/carcontroller.py
# selfdrive/car/mazda/carstate.py
# selfdrive/car/mazda/interface.py
# selfdrive/car/nissan/carcontroller.py
# selfdrive/car/nissan/interface.py
# selfdrive/car/subaru/carstate.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/carcontroller.py
# selfdrive/car/toyota/carstate.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/toyotacan.py
# selfdrive/car/volkswagen/carcontroller.py
# selfdrive/car/volkswagen/carstate.py
# selfdrive/car/volkswagen/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol_torque.py
# selfdrive/controls/lib/lateral_planner.py
# selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/locationd/paramsd.py
# selfdrive/manager/manager.py
# selfdrive/manager/process.py
# selfdrive/manager/process_config.py
# selfdrive/sentry.py
# selfdrive/ui/SConscript
# selfdrive/ui/qt/home.cc
# selfdrive/ui/qt/maps/map_settings.cc
# selfdrive/ui/qt/maps/map_settings.h
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/onroad.cc
# selfdrive/ui/qt/onroad.h
# selfdrive/ui/qt/util.cc
# selfdrive/ui/qt/util.h
# selfdrive/ui/soundd/sound.h
# selfdrive/ui/ui.h
# system/version.py
2023-09-05 20:17:19 -04:00
Jason Wen
9bc73b85ff
Merge remote-tracking branch 'commaai/openpilot/master'
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# .pre-commit-config.yaml
# README.md
# cereal
# common/version.h
# opendbc
# panda
# selfdrive/car/chrysler/carcontroller.py
# selfdrive/car/chrysler/carstate.py
# selfdrive/car/chrysler/interface.py
# selfdrive/car/gm/carstate.py
# selfdrive/car/honda/carstate.py
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/hyundai/radar_interface.py
# selfdrive/car/hyundai/values.py
# selfdrive/car/interfaces.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/carstate.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/torque_data/override.yaml
# selfdrive/car/toyota/carcontroller.py
# selfdrive/car/toyota/carstate.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/toyotacan.py
# selfdrive/car/volkswagen/carstate.py
# selfdrive/controls/lib/desire_helper.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/monitoring/dmonitoringd.py
# selfdrive/thermald/power_monitoring.py
# system/loggerd/uploader.py
2023-09-05 11:50:47 -04:00
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
d61f86d339
replace custom clock helpers with time module ( #29499 )
...
* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
2023-08-20 18:50:58 -07:00
Shane Smiskol
e2910d0720
CANParser: perf benchmark on route script ( #29324 )
...
* timing test
* test
* fix
* print
* loop
* clean up
* wider range
* Update selfdrive/car/tests/test_models.py
* Apply suggestions from code review
* run many times
* Update selfdrive/car/tests/test_models.py
* run for many its
* run with unittest and print as list
* Update .github/workflows/selfdrive_tests.yaml
* Update .github/workflows/selfdrive_tests.yaml
* total time is super inconsistent (body)
* Update selfdrive/car/tests/test_models.py
* clean up
* clean up
* clean up
* this works!
* draft
* test suite not as modular
* try something like this
* can do kb, but not too representative
* clean up
* remove kb? it depends on signals
* clean up
* more clean up
* rename
* just measure all CANParsers
* can do all this manually
* but this is way simpler
* comment
* fix mypy
* this is correct too
* 3 seconds instead of 1.5
2023-08-15 20:06:15 -07:00
Justin Newberry
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2023-08-11 16:13:51 -07:00
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2023-08-11 15:33:49 -07:00
Shane Smiskol
6106876da7
test_car_model: remove duplicate argument ( #29309 )
...
* only need to pass test_route
* unused
2023-08-09 20:36:49 -07:00
Justin Newberry
7fdd9fc37c
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
2023-08-09 13:26:54 -07:00
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2023-08-08 17:13:35 -07:00
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a .
2023-08-08 14:24:04 -07:00
Shane Smiskol
b34341e7e5
test fw query: fix migration import ( #29283 )
...
huh this was just broken
2023-08-08 13:48:11 -07:00
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2023-08-08 13:41:30 -07:00
Adeeb Shihadeh
3da28d4df2
remove old debug scripts
2023-08-06 21:54:08 -07:00
Jason Wen
31b29bc094
Merge branch 'master' into dev-priv/master
2023-08-02 12:58:28 -04:00
Jason Wen
8498b1a1c3
Merge branch 'upstream/openpilot/master'
2023-08-01 23:03:54 -04:00
Adeeb Shihadeh
1945c356c2
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
Co-authored-by: Yassine <yassine.y10@gmail.com >
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
Co-authored-by: Yassine <yassine.y10@gmail.com >
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f .
2023-07-18 18:47:35 -07:00
Maxime Desroches
76ef1b9b9f
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-07-18 16:40:36 -07:00
Jason Wen
6df086aa82
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/honda/interface.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/mazda/carstate.py
# selfdrive/car/nissan/nissancan.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/volkswagen/mqbcan.py
# selfdrive/car/volkswagen/pqcan.py
# selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/ui/SConscript
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/onroad.cc
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
2023-06-22 15:14:15 -04:00
Jason Wen
54c4dbd49b
Merge branch 'upstream/openpilot/master'
...
# Conflicts:
# cereal
# common/version.h
# opendbc
# panda
# selfdrive/car/honda/carstate.py
# selfdrive/car/honda/interface.py
# selfdrive/car/hyundai/values.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/manager/manager.py
2023-06-22 14:52:51 -04:00
Larry Walters
d8aab568c6
Hyundai: enable radar tracks for 2019 Santa Fe ( #28623 )
...
Hyundai: Adding second radar FW version for 2019 Santa Fe
2023-06-21 16:40:39 -07:00
Kacper Rączy
64377a88f9
process_replay: helpers ( #28367 )
...
* process_replay helper
* Refactor
* refactor check_enabled uses
* fix __init__
* noqa in __init__ imports
* Move compare_logs outside of process_replay
* Move save_logs to tools.lib.helpers
* Remove save_log from compare_logs
* fix lint issues
2023-06-06 10:31:13 -07:00
Adeeb Shihadeh
43b0e51906
show ign off time in count events debug script
2023-05-28 11:59:01 -07:00
Jason Wen
a0d162ccd9
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/nissan/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/lateral_planner.py
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/onroad.cc
# selfdrive/ui/ui.cc
2023-05-25 12:39:32 -04:00
Jason Wen
6c2a58f2e9
Merge branch 'upstream/openpilot/master'
...
# Conflicts:
# cereal
# common/params.cc
# panda
# selfdrive/car/subaru/subarucan.py
# selfdrive/controls/lib/lateral_planner.py
# selfdrive/controls/lib/longitudinal_planner.py
2023-05-25 12:17:54 -04:00
Adeeb Shihadeh
ec53fad3c4
count_events.py: show alerts
2023-05-14 11:24:48 -07:00
Jason Young
a3070d0e35
VW MQB: Config tool update for new EPS ( #28056 )
2023-04-27 18:40:36 -07:00
Jason Wen
9c84fa7434
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# release/files_common
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaicanfd.py
# selfdrive/car/interfaces.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/interface.py
# selfdrive/ui/translations/main_pt-BR.ts
2023-04-25 01:42:45 -04:00
Jason Wen
8a61496937
Merge remote-tracking branch 'upstream/commaai/openpilot/master'
...
# Conflicts:
# .pre-commit-config.yaml
# cereal
# opendbc
# panda
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/toyota/interface.py
2023-04-25 01:10:56 -04:00
Shane Smiskol
1520716d42
FW versions: import common variable ( #27905 )
...
* just import from fw_versions
* fix
* more fix
2023-04-14 01:42:37 -07:00
Shane Smiskol
50d382884d
test_car_model: allow route or segment name ( #27866 )
...
* allow route or segment name
* fix
* fixes
* fixes
2023-04-10 18:56:49 -07:00
Adeeb Shihadeh
038d34aa7f
tizi: affine IRQ by action instead of number ( #27811 )
...
* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-04-05 16:35:27 -07:00
Jason Wen
ee0dfacb93
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/car_helpers.py
# selfdrive/car/toyota/interface.py
# selfdrive/ui/ui.cc
2023-03-24 15:24:05 -04:00
Jason Wen
18a5cf0277
Merge remote-tracking branch 'upstream/commaai/openpilot/master'
...
# Conflicts:
# cereal
# opendbc
# panda
# selfdrive/ui/ui.cc
2023-03-24 15:05:42 -04:00
Jason Wen
f9c112e9b8
Hyundai: add Sonata FW version to enable radar tracks ( #27463 )
2023-03-20 13:31:50 -07:00