Jason Wen
4b62be024c
Merge branch 'SP-134-pause-lateral-speed' into master-dev-c3
...
# Conflicts:
# selfdrive/controls/lib/desire_helper.py
2024-05-29 22:31:09 -04:00
Jason Wen
999ac0b8b7
in future PR for customizable min lane change speed
2024-05-29 22:30:33 -04:00
Jason Wen
91fcd5a632
Merge branch 'SP-133-disable-lane-change' into master-dev-c3
2024-05-29 08:43:21 -04:00
Jason Wen
bf41202cab
Auto Lane Change: Add option to disable lane change
2024-05-29 08:43:12 -04:00
Jason Wen
3c6f78979f
Merge branch 'SP-134-pause-lateral-speed' into master-dev-c3
2024-05-29 08:10:10 -04:00
Jason Wen
170a0d035e
fix non-int
2024-05-29 08:09:58 -04:00
Jason Wen
2f18b56b75
Merge branch 'SP-134-pause-lateral-speed' into master-dev-c3
2024-05-29 00:54:32 -04:00
Jason Wen
abfc90cbb6
desire helepr too
2024-05-29 00:54:23 -04:00
DevTekVE
e78ae2c140
Driving Model Selector: Introduce ModelCapabilities class for model feature handling
2024-05-23 21:39:28 +00:00
Jason Wen
5eccc47203
Merge branch 'improved-model-cabapilities-check' into master-dev-c3
2024-05-23 13:58:20 -04:00
DevTekVE
8904cf731a
Introduce ModelCapabilities class for model feature handling
...
This commit introduces a new class, ModelCapabilities, to manage model features. It changes initializations and conditional statements to use this new class, improving code readability and simplicity. The new class provides an easier and clearer way to check which features are enabled, reducing the complexity associated with generation-dependent feature handling.
2024-05-18 22:29:11 +02:00
Jason Wen
fadcad8793
init at 0
2024-05-17 13:17:49 -04:00
Jason Wen
8087891bd0
Merge branch 'master-priv' into nnlc-lateral-jerk
2024-05-17 13:17:08 -04:00
Jason Wen
9842d68f4c
ui: Force offroad from settings when the car is on
2024-05-17 06:00:29 +00:00
Jason Wen
0a6bc53fc2
Revert "Longitudinal: Use upstream button timer to toggle between Chill & Experimental Mode"
...
This reverts commit d959c43284 .
2024-05-16 12:45:05 -04:00
Jason Wen
0fb93cec60
Merge branch 'master-priv' into nnlc-lateral-jerk
...
# Conflicts:
# CHANGELOGS.md
2024-05-16 02:16:11 -04:00
Jason Wen
d959c43284
Longitudinal: Use upstream button timer to toggle between Chill & Experimental Mode
2024-05-16 00:12:17 -04: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
cdf2e75cc3
reduce severity of offroad temperature alert
2024-05-07 15:58:59 -07:00
Adeeb Shihadeh
1fc3d9224e
remove Offroad_InvalidTime alert
2024-05-07 15:58:29 -07:00
Jason Wen
415acad40c
Revert "remove pedal ( #31903 )"
...
This reverts commit fa12a672
2024-05-04 23:55:40 -04: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
Adeeb Shihadeh
6ef95f7a91
adjust gps alert
2024-05-01 11:35:20 -07:00
ZwX1616
1d05704d27
Toggle to always enable DM ( #32205 )
...
* permanent
* param
* correct behavior
* toggle
* need trans
* ref_commit
* translate for chs/t
* disable on P and R
* read
2024-04-17 12:56:37 -07:00
Jason Wen
7153a7bb84
NNLC: "Lazy" tight curve fixes and more toggles
2024-03-26 17:49:01 -04:00
Justin Newberry
b0eb3ba4f4
cars: platform enums -> prepend brand name ( #31927 )
...
* with brand name
* migrate
* Fix
* fixes
* more
* passes
* fix
* fix the doc
* collects
* these too
* more stuff
* body exception :/
* more
* hardcode i guess
* update ref
* toyota
* more toyota
* and here
* final!
* fix notebooks and ccs
* move this here
2024-03-19 17:29:50 -07:00
Justin Newberry
4fbc8a3896
move git commands to common/git.py ( #31921 )
...
move git into common/git.py
2024-03-19 12:39:09 -07:00
Adeeb Shihadeh
fa12a67228
remove pedal ( #31903 )
...
* remove pedal
* bump panda
* fix
* update refs
2024-03-17 22:42:49 -07:00
Shane Smiskol
29e55f99a5
Move personality to controlsState ( #31855 )
...
* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ceb92c67a621b74592b2292756d29871.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b39413e1852bb512155af6b6a94a5bd9454.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
* revert ui
* not here
* migrate controlsState
* Revert "migrate controlsState" - i see no reason we need to test with
any specific personality
This reverts commit 6063508f2df1a5623f113cda34dcd59a1f4b2ac9.
* Update ref_commit
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2024-03-13 00:57:57 -07:00
Shane Smiskol
fdab60cad7
longitudinal planner: start at personality param ( #31788 )
...
start at param
2024-03-07 19:56:22 -08:00
Jason Wen
95c748b9f9
M-TSC: Re-enable in release
2024-03-04 22:41:31 -05:00
Justin Newberry
7cf2b28b78
scons: fix race condition with opendbc ( #31621 )
...
* fix race condition
* add to release
* fix for now
* bump
2024-02-28 11:41:42 -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
4124c4593f
Merge remote-tracking branch 'commaai/openpilot/master' into sync-20240224
...
# Conflicts:
# cereal
# opendbc
# panda
2024-02-26 16:39:04 -05:00
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
2024-02-25 13:29:18 -08: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
Jason Wen
8eb043ec7d
Merge branch 'master' into sync-priv-20240220
...
# Conflicts:
# CHANGELOGS.md
# panda
# selfdrive/car/toyota/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/manager/manager.py
# selfdrive/modeld/fill_model_msg.py
# selfdrive/modeld/modeld.py
2024-02-24 09:35:16 -05:00
Jason Wen
bbbca41296
Merge branch 'upstream/openpilot/master' into sync-20240220
...
# Conflicts:
# cereal
# opendbc
# panda
# selfdrive/car/honda/carstate.py
2024-02-20 11:05:51 -05:00
goodchoom
8b5c9e84d2
Alerts: fix inconsistent capitalization ( #31514 )
...
fix capitalization
2024-02-19 18:18:20 -08:00
Jason Wen
d68905831b
FCR: Reset cached param to sync with upstream conflicts
2024-02-17 23:52:08 +00:00
Jason Wen
5989674a11
DEC: Use modelV2.navEnabled for navigation instruction checks
2024-02-17 20:55:31 +00:00
Jason Wen
47caf0e0a4
Merge branch 'master' into sync-priv-20240216
...
# Conflicts:
# panda
# release/files_common
# selfdrive/car/hyundai/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/plannerd.py
# selfdrive/sentry.py
# system/version.py
2024-02-16 08:47:13 -05:00
Jason Wen
fd11bc1d7d
Merge branch 'upstream/openpilot/master' into sync-20240216
...
# Conflicts:
# cereal
# opendbc
# panda
# selfdrive/car/hyundai/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/monitoring/dmonitoringd.py
2024-02-16 08:27:39 -05:00
Jason Wen
47e165dd16
DEC: Update logic from dragonpilot-community/dragonpilot:beta3
2024-02-16 13:07:01 +00:00
Jason Wen
071e12e527
NNLC: Slight fixes
2024-02-14 13:08:54 -05:00
Jason Wen
7f540311a9
Longitudinal: Fix planner not getting up to set speed
2024-02-12 19:52:03 -05:00
Jason Wen
672a4b3c74
Revert "Longitudinal: Fix planner not getting up to set speed"
...
This reverts commit 374a284d1c .
2024-02-12 19:51:05 -05:00