Commit Graph

1036 Commits

Author SHA1 Message Date
Jason Wen 5a88fbc2ae NNLC: Comment out duplicate 2024-02-11 15:51:03 -05:00
Jason Wen 852200f4d0 NNLC: Fixes 2024-02-11 15:28:49 -05:00
Jason Wen 46c7ff26a8 How did I miss this jesus 2024-02-09 16:06:18 -05:00
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 cd3e1db875 NNLC: Fix upstream conflict 2024-02-09 14:22:17 -05:00
Jason Wen 3d4edc7289 Driving Model Selector: Handle nav models dynamically 2024-02-09 13:27:01 -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 e7d7189d21 Lateral Planner: Use new variable for useLaneLines 2024-02-08 12:05:01 -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 dd49490dae mapd: Remove more legacy implementation (#275)
* mapd: Remove more legacy implementation

* bump cereal
2024-02-02 00:08:53 -05:00
Jason Wen fbabd5700f MSPA: lateralPlanSP legacy support (#274)
* MSPA: `lateralPlanSP` legacy support

* bump cereal
2024-02-01 23:02:03 -05:00
Jason Wen 72dba20a60 Enhanced Speed Control: Remove legacy implementation (#271)
Remove outdated Enhanced Speed Control
2024-02-01 20:59:27 -05:00
Vivek Aithal 056b330e8b LatControlTorque: Add more inputs (#31252)
* add history and state to the ff inputs

* add history

* resolve comments

* remove history, simplify

* don't compute lateral accel, roll comp always
2024-02-01 04:12:48 -08:00
Justin Newberry 086c509fde Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
2024-01-31 18:47:49 -08:00
Harald Schäfer 0067cf3eb1 Los Angeles Model (#31037)
* 1c888f5b-c213-4c1c-9eba-c587afd047fc/700

* Move to action

* Updates

* Add steer delay

* Update curvature grep

* clip speed

* No car params for now

* Add delay back

* Update

* fix lint

* fix lint

* update model regf
2024-01-22 00:58:06 -08:00
Adeeb Shihadeh 139b0ae3b6 fix test_startup (#31103)
* fix test_startup

* real fix
2024-01-21 16:55:47 -08: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 fe6aff0131 more unit test speedup (#30997)
* that's super slow

* fix startup test

* fix
2024-01-13 22:21:43 -08:00
YassineYousfi d6cece756c longplanner: expose dt (#30941) 2024-01-08 19:46:13 -08:00
Adeeb Shihadeh f0ccb84ae3 remove common.profiler (#30927)
* remove common.profiler

* cleanup
2024-01-06 16:20:28 -08:00
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
Adeeb Shihadeh 1421551297 Cython KF1D to Python (#30773)
* Cython KF1D to Python

* cleanup

* set x

* less nesting

* fix release

* Revert "fix release"

This reverts commit 97e5d0f80405660efb861c7b9df7fbfd5dda5dd9.
2023-12-16 23:45:28 -08: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
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
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
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
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
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 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
Adeeb Shihadeh ce4bac8218 remove unused last_actuators arg from lateral controllers (#30595) 2023-12-03 15:54:18 -08:00