Jason Wen
8dda347bf2
Driving Model Selector: Try converting to int
2024-02-09 15:36:58 -05:00
Jason Wen
a2dd3de3ab
Lateral Plan: More fixes
2024-02-09 14:41:49 -05:00
Jason Wen
0d290529d7
Lateral Plan: More fix
2024-02-09 14:38:03 -05:00
Jason Wen
085f17c6c8
Lateral Plan: Fix
2024-02-09 14:36:59 -05:00
Jason Wen
1e5fdf3d1a
Driving Model Selector: Model generation support
2024-02-09 09:54:10 -05:00
Jason Wen
eeab29969a
Lateral Planner: Reimplement for legacy models
2024-02-09 01:00:10 -05:00
Jason Wen
75b38db870
Merge branch 'sync-20240201' into sync-priv-20240201
2024-02-07 22:49:01 -05:00
Jason Wen
daae551ea8
Merge remote-tracking branch 'commaai/openpilot/master' into sync-20240201
2024-02-05 11:41:19 -05:00
Jason Wen
66df10faaf
MSPA: Lat plan deprecation prerequisites ( #276 )
...
* MSPA: Lat plan deprecation prerequisites
* bump cereal
2024-02-02 01:14:13 -05:00
Jason Wen
fbabd5700f
MSPA: lateralPlanSP legacy support ( #274 )
...
* MSPA: `lateralPlanSP` legacy support
* bump cereal
2024-02-01 23:02:03 -05:00
Harald Schäfer
e6c97c3846
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com >
2024-01-21 12:09:48 -08:00
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
2024-01-19 14:05:03 -08:00
Harald Schäfer
d36103791c
No curv rate for lateral control ( #31042 )
...
* No more Curvature rate for lat control
* Update cereal
* Update
* Fix lat control test
2024-01-17 16:00:50 -08:00
Adeeb Shihadeh
f0ccb84ae3
remove common.profiler ( #30927 )
...
* remove common.profiler
* cleanup
2024-01-06 16:20:28 -08:00
Dean Lee
3c4c4d1f7f
common/params: support nonblocking write ( #29808 )
...
* 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
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-12-13 20:36:01 -08:00
Adeeb Shihadeh
fe24bdc689
read params in a thread
2023-12-13 19:00:22 -08:00
Kacper Rączy
e62756596b
controlsd: require joystick mode param for the body ( #30680 )
...
* Update joystick mode in step
* Stop putting the body in joystick mode by default
* Toggle JoystickDebugMode by default for notCars in process_replay
* Remove subsection about web joystick
* Update param only in non-cars
* Make joystickDebug non-static event, and add it in a loop
* Add comment
2023-12-12 14:14:51 -08:00
Kacper Rączy
7f07f47302
locationd: disable locationd temporary error alert on the body ( #30608 )
...
* Disable locationd temporary error alert on the body
* Disable locationd/paramsd/planner alerts on body with joystick mode
* joystick_enabled param not joystick_mode
2023-12-07 10:53:33 -08:00
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
2023-12-06 17:27:51 -08:00
Shane Smiskol
09a9ba6de1
joystick: bump max angle ( #30602 )
2023-12-04 21:16:33 -08:00
Jason Wen
448e71e584
Torque: Neural Network Lateral Controller (formerly NNFF)
2023-12-04 03:55:09 +00:00
Adeeb Shihadeh
ce4bac8218
remove unused last_actuators arg from lateral controllers ( #30595 )
2023-12-03 15:54:18 -08:00
Adeeb Shihadeh
bd0ab957b1
add carParams.passive ( #30594 )
2023-12-03 14:09:37 -08:00
Adeeb Shihadeh
a1d36961cf
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
2023-12-03 10:50:17 -08:00
Adeeb Shihadeh
8971e2c177
longitudinal tests: cleanup old hacks ( #30585 )
2023-12-02 10:01:28 -08:00
Adeeb Shihadeh
531e62fc03
clear non-release params on startup ( #30583 )
2023-12-01 23:57:54 -08:00
Adeeb Shihadeh
b97e5b0e03
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
2023-12-01 22:48:29 -08:00
Adeeb Shihadeh
8e00ce672d
controlsd: remove old process replay sentinel ( #30581 )
2023-12-01 22:42:43 -08:00
Jason Wen
5671f65c1b
Lane Change: Allow entering preLaneChange with Nudge while manually braking
2023-11-24 04:06:04 +00:00
Jason Wen
5213aca6db
SLC: User Confirmation State Machine
2023-11-14 06:25:23 +00:00
Jason Wen
9e00a2f066
Merge branch 'master' into sync-priv-20231108
...
# Conflicts:
# panda
# selfdrive/car/subaru/interface.py
# selfdrive/locationd/torqued.py
2023-11-12 01:00:33 -05:00
Jason Wen
09a4536b8a
Merge branch 'upstream/openpilot/master' into sync-20231112
...
# Conflicts:
# panda
# selfdrive/car/subaru/interface.py
2023-11-12 00:49:42 -05:00
Vivek Aithal
2eb487c9a5
params: Remove separate CarParams from each daemon ( #30405 )
...
* remove separate previous route carparams from each daemon and add centrally to controlsd
* extract out sigint handler
* make process replay work for torqued
* don't write param if None
2023-11-08 15:25:41 -08:00
Jason Wen
783267ec29
Merge branch 'master' into sync-priv-20231108
...
# Conflicts:
# panda
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/interface.py
# selfdrive/controls/lib/lateral_planner.py
2023-11-08 16:41:32 -05:00
Jason Wen
a667364b59
Merge remote-tracking branch 'commaai/openpilot/master' into sync-20231108
...
# Conflicts:
# cereal
# panda
2023-11-08 15:58:35 -05:00
Kacper Rączy
c419376bbd
controlsd: reset axes in joystick mode if message is old ( #30409 )
...
Reset joystick if it wasnt received after 0.2 sec
2023-11-07 15:48:13 -08:00
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
Jason Wen
71b9fe4918
Suppress panda siren if in park gear - V2
2023-10-16 02:35:08 +00:00
Adeeb Shihadeh
b68cfbb332
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
2023-10-13 23:27:04 -07:00
DevTekVE
f885863e1e
Sync master-priv with public sunnypilot:master
2023-10-13 16:40:08 +00:00
Jason Wen
48d7faf48f
Dynamic Longitudinal Control ( #218 )
...
* Dynamic End to End Longitudinal
* Revert "Dynamic End to End Longitudinal"
This reverts commit cec0fa8ad23b8473b27c58f6d20ba6d4d58e726e.
* Dynamic Longitudinal Controller
* Update CHANGELOGS.md
* add to builds
* Name change
* Toggle at wrong place :p
* oops take this out for now
* ZeroDivisionError
* add mpc mode to cereal
* add mpc mode to cereal
* Add UI button, replace MEMORY with DLC status in dev UI
* small change
* Higher stop counts
* add blinker logic
* initial set normally if DLC is on
* Update CHANGELOGS.md
* Fix
* fixes
* add dlc to Feature Status
* catch AttributeError
* fix
* add btn
* Dynamic Longitudinal Control (DLC) -> Dynamic Experimental Control (DEC)
* Capitalization on ACC and Blended
* add here
* sync
* sync
* Update CHANGELOGS.md
* cleanup
* more cleanup
2023-10-01 23:59:27 -04: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
823e82ec0a
MADS: Remove controlsAllowedLong pandaStates to sync with stock cereal ( #315 )
...
* MADS: Remove controlsAllowedLong pandaStates to sync with stock cereal
* bump panda
* bump panda
2023-10-01 02:27:52 -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
Jason Wen
613d5b4aba
Torque Lateral Control: Refactor settings ( #300 )
...
* Torque Lateral Control: Refactor settings
* don't need this
* only offroad allowed
* Don't need this
* allow when offroad
* gate them
* flipped
* handle them better
* cleaner
* remove duplicate
* toggle checks cleanup
* 2.5 second check
* trigger refresh when going offroad
* cleanup
* move toggle
* update title and description
* fix ampersand
* update live torque toggle
* live torqued every 2.5 second
2023-09-29 02:36:55 -04:00
Adeeb Shihadeh
a4aa801fbe
simplify sensor alert ( #29824 )
...
* simplify
* update proc replay
2023-09-26 16:47:21 -07:00
coffee-cake-isaac
c43325fa17
joystick mode: add curvature control ( #30010 )
...
* Added curvature controls to joystick mode
* same line
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-09-22 21:53:31 -07:00
Jason Wen
31c56ca708
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/controls/controlsd.py
# selfdrive/manager/custom_dep.py
2023-09-23 00:06:34 -04:00