Jason Wen
a91a4814cd
Merge branch 'dev-priv/master' into subaru-gen2-torque-increase
...
# Conflicts:
# panda
2023-09-08 10:53:20 -04:00
Jason Wen
e50f3baa45
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/nissan/interface.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/interface.py
2023-09-07 00:05:25 -04:00
Jason Wen
ebfe40b76a
Merge remote-tracking branch 'commaai/openpilot/master'
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# .pre-commit-config.yaml
# cereal
# opendbc
# panda
2023-09-06 23:58:35 -04:00
Justin Newberry
338288df6e
Subaru: don't copy eyesight counters, calculate manually ( #29533 )
...
* subaru manual counters
* update ref
* that isn't used
* review suggestions
2023-09-06 16:08:59 -07:00
Shane Smiskol
96fd66e4e2
navd: locationd is only trusted source ( #29803 )
...
* finish revert for https://github.com/commaai/openpilot/pull/27579
* comment out
* clean up
2023-09-06 15:47:21 -07:00
Adeeb Shihadeh
ec479322d3
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 0d797f4e8b .
2023-09-06 13:44:20 -07:00
Dean Lee
a1306114bc
ui/CameraView: fix divide by zero issue ( #29770 )
2023-09-06 13:25:40 -07:00
Justin Newberry
ec945dc53d
Subaru: add GEN1 longitudinal test route ( #29753 )
...
* add long route
* fix duplicates
* need to bump that slightly up
* commented for now
Co-authored-by: Shane Smiskol <shane@smiskol.com >
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-09-06 09:26:16 -07:00
Dean Lee
0d797f4e8b
params: safe and efficient async writing parameters ( #25912 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-09-06 08:50:28 -07:00
Eric Day
89d6bc6c7b
Toyota: detect TSS-P CAN filter device as smartDsu to enable long ( #28387 )
...
* detect tss-p canfilter device as smartDsu to enable long
* Add canfilter test case
* add comment, behind alpha long
* add doc
* safe
* update check
* cmt
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-09-06 01:36:16 -07:00
Jason Wen
d7d751160d
Nissan Altima: specify panda flag for alternate EPS bus ( #29783 )
...
* Nissan Altima: Specify panda flag for alt bus safety config
* bump
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-09-06 00:48:17 -07:00
Jason Wen
a552fafd88
Hyundai longitudinal: enable for IONIQ_PHEV ( #29777 )
...
* Hyundai longitudinal: enable for `IONIQ_PHEV`
* add test route
2023-09-06 00:05:44 -07:00
DevTekVE
77f050bb4c
Hyundai: Ioniq 2020 PHEV EUR fingerprint ( #29775 )
2023-09-06 00:04:31 -07:00
Jason Wen
1376baeee4
Merge branch 'master-09052023' into dev-priv/master
...
Merge with upstream - 09-05-2023
2023-09-06 01:26:37 -04:00
Jason Wen
e0cc25c3e2
Migrate otisserv to pub ( #205 )
...
Migrate otisserv to pub
2023-09-06 01:06:02 -04:00
Jason Wen
7dbbc001eb
Upstream merge fixes
2023-09-06 01:05:01 -04:00
Shane Smiskol
5d1550de87
test_models: detect when OBD multiplexing/fingerprinting ( #29759 )
...
* wait to leave elm mode before checking relay malfunction
* clean up
* clean up
* pycharm is best
* clean up
* more
* use pandaStatesDEPRECATED
* fix
* use constant
* only radar
* cmt
* set inline
* comment and re-arrange
* enable for relay malfunc check
* down here
* Update selfdrive/car/tests/test_models.py
* rm
* don't affect other tests
* up here
* one line
* update cmt
* no tolerance
* Revert "no tolerance"
This reverts commit 41b1c7e8beda87a878c3bb1f37ec96b256965966.
* comment is real solution
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com >
2023-09-05 21:22:36 -07:00
Jason Wen
9b407fee17
MADS: set flag for minEnableSpeed > 0 cars ( #245 )
2023-09-05 23:54:51 -04:00
Jason Wen
92abd64efd
Upstream merge fixes
2023-09-05 22:30:15 -04:00
Jason Wen
affe7884a0
Upstream merge fixes
2023-09-05 21:57:12 -04:00
Adeeb Shihadeh
7b6afbc162
pytest: use a clean environment for all tests ( #29788 )
...
* pytest: use a clean environment for all tests
* rm that
* fix pj
* put build back
* fix params
* fix that
* handle no key
* that was removed
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
2023-09-05 18:52:40 -07:00
Jason Wen
808611e691
Upstream merge fixes
2023-09-05 21:20:52 -04: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
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Jason Wen
a0b49d5422
Hyundai longitudinal: enable for IONIQ ( #29778 )
...
* Hyundai longitudinal: enable for `IONIQ`
* add test route
2023-09-05 14:15:18 -07:00
Justin Newberry
dcea56bcf3
Tests: speedup locationd ( #29776 )
...
* speedup locationd
* bump cereal
2023-09-05 12:45:18 -07:00
ZwX1616
a08cdfdda7
ui: brighten cameraview ( #29744 )
...
* test
* test2
* Revert "test2"
This reverts commit 22e38f82ae81f625f00179413f4c5f869a6de23e.
* Revert "test"
This reverts commit 717490c1bcddcd5339aed85d4716a58495a5c52c.
* looks fine
* mid
* description
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-09-05 10:59:58 -07: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
Jason Wen
3d87d88dc6
MADS: Toyota: handle pedal disengage ( #244 )
2023-09-04 19:29:11 -04:00
Jason Wen
e362198880
MADS: allow Disengage on Accelerator ( #243 )
...
* MADS: allow Disengage on Accelerator
* make sure to disable in interfaces
2023-09-04 19:28:25 -04:00
sgtcurry
ed7a0bf0f9
2023 Ford Maverick Ecoboost engine firmware ( #29762 )
...
* Update values.py
23 maverick ecoboost engine fw
* Update values.py
* Update values.py
* sorted
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
2023-09-04 12:05:57 -07:00
Justin Newberry
ca435d3447
CI: use pytest for unittesting ( #29709 )
...
* switch to pytest
* static analysis
* fix the helpers
* static analysis
* remove that
* more parallel test
* cleanup
* static analysis
* durations min and tolerance
* reduce those iterations
* sleep time could be decreased too
* in case it's negative
* try using caching
* remove parallelization for first PR
* PR Cleanup
* reduce diff
* fix that
* bump panda
2023-09-04 11:54:35 -07:00
Harald Schäfer
75ead2c389
Soundd: Give each alert a volume ( #29767 )
...
* Give each alert a volume
* Update sound.h
2023-09-04 11:15:06 -07:00
Justin Newberry
f4f92f1a2f
Subaru: impreza 22 fingerprint ( #29765 )
...
add fingerprint
2023-09-03 13:12:31 -07:00
Arun Kapil
e51f50b034
HKG: Add fingerprint for US Kia Sorento Hybrid 2023 ( #29757 )
...
Added fwdCamera ECU fingerprint for US model of 2023 Kia Sorento HEV 4th Gen
2023-09-01 21:06:45 -07:00
Adeeb Shihadeh
9bef110ca7
comma three -> comma device
2023-09-01 17:06:31 -07:00
haram-KONA
f60ef530ca
CAR docs: add video for Hyundai Kona Electric 2023 (KOR) HDA2 ( #29749 )
...
* CAR docs: add video for Hyundai Kona Electric 2023 (KOR) HDA2
CAR docs: add video for Hyundai Kona Electric 2023 (KOR) HDA2
update values.py
* Update CARS.md
* Update values.py
* Update values.py
2023-09-01 11:57:02 -07:00
Shane Smiskol
a18e97e954
Toyota: fix missing message check with radar disabled ( #29747 )
...
* add test route for radar-disabled toyota chr hybrid tss 2
* fix bug
2023-08-31 21:50:45 -07:00
mitchellgoffpc
05993f50df
Added cython bindings for commonmodel sigmoid
2023-08-31 19:40:53 -07:00
Justin Newberry
4c039ab022
Tests: disable laika tests in CI ( #29742 )
...
skip laika
2023-08-31 17:17:07 -07:00
Adeeb Shihadeh
9719b22761
Update Python packages and pre-commit hooks ( #29739 )
...
* Update Python packages and pre-commit hooks
* fix linter
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com >
2023-08-31 15:00:13 -07:00
Mitchell Goff
d5a55136a1
Added ModelRunner helpers in modeld/runners/__init__.py ( #29737 )
...
* Added ModelRunner helper class
* import Runtime in __init__.py
2023-08-31 14:19:20 -07:00
Justin Newberry
405d09714c
Tests: expand temporary directory helpers for more directories ( #29735 )
...
* create helpers for testing
* document it
* fix other tests
2023-08-31 14:00:31 -07:00
mitchellgoffpc
f91e955a86
Move Runtime into runmodel_pyx
2023-08-31 13:51:50 -07:00
mitchellgoffpc
857f747467
Remove unnecessary hardware check in modeld
2023-08-31 13:51:49 -07:00
Justin Newberry
4aff2621d3
Tests: parameterize following distance test ( #29734 )
...
* split
* parameterize it
2023-08-31 13:41:02 -07:00
mitchellgoffpc
18526c58b6
Set ADSP_LIBRARY_PATH in snpemodel_pyx
2023-08-31 13:11:39 -07:00
mitchellgoffpc
aebff37593
Set RPATH for snpemodel
2023-08-31 11:33:42 -07:00
fleetingbytes
e7789173d6
Add skoda octavia 2016 fingerprint ( #29729 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2023-08-31 13:01:37 +01:00
Cameron Clough
08903fb4e0
MapPanel: provide QObject::connect context ( #29731 )
2023-08-31 11:44:48 +01:00