Commit Graph

711 Commits

Author SHA1 Message Date
Jason Wen 3ac37a2f20 Speed Limit Assist 2023-12-24 18:05:26 +00:00
Jason Wen d54fd16ae3 DEC: Update logic from dragonpilot-community/dragonpilot:lp-dp-beta2 2023-12-24 16:43:31 +00:00
Jason Wen 70fd796e6d M-TSC: New implementation 2023-12-24 15:56:27 +00:00
Jason Wen 46cb955e33 NNLC: Update description 2023-12-20 06:14:34 +00:00
DevTekVE 57dfee47b8 mapd: New implementation and remove deprecated libraries 2023-12-19 22:14:06 +00:00
Jason Wen 7cdb6bb45d SLC: Don't convert float NaN to integer 2023-12-16 08:06:23 +00:00
Jason Wen 55b87c4b13 DEC: Update logic from dragonpilot-community/dragonpilot:beta3 2023-12-14 18:54:11 +00:00
Jason Wen 704577e22f V-TSC: Add conditions to allow engaging 2023-12-11 23:59:45 -05:00
Jason Wen 8e84ebeadb V-TSC: New implementation 2023-12-10 23:18:34 +00:00
Jason Wen 128390aadc Enhanced Speed Control: Remove acceleration solution 2023-12-09 23:36:37 +00:00
Jason Wen 557728aa09 NNLC: Update event texts 2023-12-07 15:25:08 +00:00
Jason Wen 5ab39133ec NNLC/NNFF: Better events and description handling 2023-12-07 04:09:25 +00:00
Jason Wen f6977cc925 SLC: Properly handle previous setpoint updates 2023-12-04 22:36:18 -05:00
Jason Wen 448e71e584 Torque: Neural Network Lateral Controller (formerly NNFF) 2023-12-04 03:55:09 +00:00
Jason Wen 7b32df43f9 SLC: User Confirm: Convert to km/h when setting speed 2023-11-27 23:27:31 -05:00
Jason Wen 4bf4ad32da SLC: User Confirm: Remove temp active with opposite buttons 2023-11-27 14:34:35 -05:00
Jason Wen 7bd95fb749 SLC: Fix rounding mismatch with MPH 2023-11-27 19:32:24 +00:00
Jason Wen ec748af4d0 Revert "SLC: Fix rounding mismatch with MPH" 2023-11-27 15:55:42 +00:00
Jason Wen c5e21314e0 SLC: Fix rounding mismatch with MPH 2023-11-26 20:11:58 +00:00
Jason Wen 5671f65c1b Lane Change: Allow entering preLaneChange with Nudge while manually braking 2023-11-24 04:06:04 +00:00
Jason Wen 6192e75380 DEC: Only allow engage with Experimental Mode 2023-11-24 04:03:30 +00:00
Jason Wen 5213aca6db SLC: User Confirmation State Machine 2023-11-14 06:25:23 +00:00
Jason Wen b34089693f Revert "FCR: Reset cached param to sync with upstream conflicts" 2023-11-13 10:53:42 +00:00
Jason Wen 8a12b77748 omg we flipped the logic 2023-11-11 11:58:58 -05:00
Jason Wen 1349fa576e omg we flipped the logic 2023-11-11 11:53:05 -05: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
Jason Wen 741237f6e2 FCR: Reset cached param to sync with upstream conflicts 2023-11-07 20:05:37 +00:00
Jason Wen 81acbe224f controlsd: Get minimum set speed in a method 2023-11-06 21:07:00 +00:00
Jason Wen 8ad8238e38 SLC: slight cleanup 2023-11-05 21:06:39 -05:00
Jason Wen 40eb5801bd Revert "SLC: slight cleanup" 2023-11-06 02:05:09 +00:00
DevTekVE f0b81d9151 ui: SLC: Expand settings 2023-11-05 19:24:25 +00:00
Jason Wen 6d11fa71d2 SLC: slight cleanup 2023-11-05 19:23:30 +00:00
YassineYousfi 4c2bd853e4 (New) Lemon Pie Model 🍋 (#30209)
* 6f6e3749-1b7c-42e8-a33b-03929b7fc476/700

* oops deleted too much

* 1b4308b7-a659-4ebd-b4c6-c81c1c3890f8/700

* 1be192f3-f407-4217-9757-78b9ad92750a/700

* remove some todos

* more cleanup in lat planner

* vego > min_speed

* regen and update process replay refs

* update model replay ref

* update model replay ref commit again

* Revert "update model replay ref commit again"

This reverts commit 922cb796b8dfe264b0cce7a18206bb898b18bcb3.

* update again

* bump cereal
2023-11-02 14:01:00 -07:00
Jason Wen 590577911d DEC: Refactor toggle states 2023-10-31 01:04:23 -04:00
DevTekVE 68e1379003 Reimplement SLC 2023-10-30 18:16:23 +00:00
Jason Wen 57e135cdf9 Fix upstream conflicts (#232) 2023-10-24 00:22:58 -04:00
Jason Wen c8cefa4af1 fix with T_IDXS 2023-10-23 20:22:49 -04:00
Jason Wen c006e24599 Merge branch 'dev-priv/master-priv' into sync-priv-20231020
# Conflicts:
#	selfdrive/controls/lib/longitudinal_planner.py
2023-10-23 11:37:06 -04:00
DevTekVE 4b8109666b Revert "Refactoring the speed limit control" 2023-10-23 11:05:17 +00:00
Jason Wen 80da209baf Merge branch 'master' into sync-priv-20231020
# Conflicts:
#	selfdrive/car/toyota/carstate.py
#	selfdrive/controls/lib/longitudinal_planner.py
2023-10-20 16:59:04 -04:00
Jason Wen 1ee8df2d28 Merge remote-tracking branch 'commaai/openpilot/master' into sync-20231020
# Conflicts:
#	selfdrive/car/chrysler/interface.py
2023-10-20 16:53:09 -04:00
YassineYousfi cad17b1255 modeld: parsing and publishing in python (#30273)
* WIP try modeld all in python

* fix plan

* add lane lines stds

* fix lane lines prob

* add lead prob

* add meta

* simplify plan parsing

* add hard brake pred

* add confidence

* fix desire state and desire pred

* check this file for now

* rm prints

* rm debug

* add todos

* add plan_t_idxs

* same as cpp

* removed cython

* add wfd width - rm cpp code

* add new files rm old files

* get metadata at compile time

* forgot this file

* now uses more CPU

* not used

* update readme

* lint

* copy this too

* simplify disengage probs

* update model replay ref commit

* update again

* confidence: remove if statemens

* use publish_state.enqueue

* Revert "use publish_state.enqueue"

This reverts commit d8807c8348338a1f773a8de00fd796abb8181404.

* confidence: better shape defs

* use ModelConstants class

* fix confidence

* Parser

* slightly more power too

* no inline ifs :(

* confidence: just use if statements
2023-10-19 14:23:51 -07:00
Jason Wen 04e21399f1 Merge remote-tracking branch 'commaai/openpilot/master' into sync-20231018
# Conflicts:
#	panda
2023-10-18 01:08:29 -04:00
Jason Wen b1f4dc6bb0 Merge remote-tracking branch 'commaai/openpilot/master' into sync-priv-20231016 2023-10-17 14:37:34 -04:00
Shane Smiskol ffeb99db54 events: fixup printing script (#30268)
* fix typing, no need for ordereddict, show priority name again

* just repr
2023-10-17 01:52:20 -07: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
DevTekVE f885863e1e Sync master-priv with public sunnypilot:master 2023-10-13 16:40:08 +00:00