Commit Graph

833 Commits

Author SHA1 Message Date
infiniteCable2 313f6f1e10 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-10 12:16:23 +02:00
Nayan 6de9526d4d bug: fix braking issue while experimental and using old model (#881)
* Fixes an issue on the long planner since Tomb Raider models, where the models are now meant to output the acceleration target and the "should stop" instead of it being calculated. However, older models (particularly those running on modeld_v2 from SP) do not output this. Leading to a "coasting" situation instead of braking when only e2e is used which is totally wrong.
2025-05-09 11:37:59 +02:00
infiniteCable2 6506d7b595 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-09 07:54:36 +02:00
discountchubbs 21715cdc6d Merge branch 'upstream/openpilot/master' into 0508-sync 2025-05-08 23:43:54 -04:00
infiniteCable2 8cf54ee2f8 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-08 23:11:49 +02:00
Jason Wen 037695af4a Car interface: pass into setup interfaces on init (#887)
* Car interface: pass into setup interfaces on init

* more

* should be after
2025-05-08 16:04:59 -04:00
Harald Schäfer 0fb4aafa35 Tomb Raider 7 (#35114)
* Revert "Revert TR (#35110)"

This reverts commit df4f2955dc.

* eb5f884a-10ad-49fd-ae5c-e2818c26e568/400

* 1cc828ab-95e5-4620-aa07-b98918b4268d/400

* 5790a2c1-b487-4bef-a3c3-db1fcd5a756d/400

* raw plan
2025-05-07 18:06:41 -07:00
infiniteCable2 cf54fd0363 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-05 16:13:48 +02:00
Jason Wen b6c6a3ad19 Merge branch 'upstream/openpilot/master' into sync-20250503
# Conflicts:
#	opendbc_repo
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/modeld/fill_model_msg.py
2025-05-04 13:21:27 -04:00
Harald Schäfer df4f2955dc Revert TR (#35110)
* Revert "Tomb raider 2 (#35029)"

This reverts commit 2c162d9b75.

* bugfix

* fix policy

* min control speed
2025-05-02 20:54:42 -07:00
infiniteCable2 d6ff3be98c Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-05-01 11:56:01 +02:00
discountchubbs 7bf30c17b0 Merge remote-tracking branch 'openpilot/master' into sync-04-30 2025-04-30 22:57:14 -04:00
Harald Schäfer 9f1e462faa Tomb Raider 6 (#35087)
* 5ec366c3-7883-4004-84a2-e4b14bac5b1d/400

* Use lat plan

* fix import

* fix

* 8d0a1b3b-9972-4e53-b9c5-3e13e5e3e404/400

* whitespace

* whitespace
2025-04-30 17:19:53 -07:00
infiniteCable2 343e13e79d Update drive_helpers.py 2025-04-23 16:24:50 +02:00
infiniteCable2 b68ba1a4f6 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-23 16:24:09 +02:00
Jason Wen b9385a2368 Merge branch 'upstream/openpilot/master' into sync-20250422
# Conflicts:
#	.github/workflows/selfdrive_tests.yaml
#	.github/workflows/ui_preview.yaml
#	common/params_keys.h
#	opendbc_repo
#	panda
#	selfdrive/car/card.py
#	selfdrive/car/tests/test_car_interfaces.py
#	selfdrive/car/tests/test_models.py
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/modeld/fill_model_msg.py
#	selfdrive/test/process_replay/process_replay.py
#	selfdrive/ui/qt/offroad/developer_panel.cc
#	selfdrive/ui/qt/offroad/settings.cc
#	selfdrive/ui/translations/main_de.ts
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master-new`

Sync: `commaai/panda:master` into `sunnypilot/panda:master-new`
2025-04-23 00:44:53 -04:00
infiniteCable a74ad7cefd Delete selfdrive/controls/lib/disturbance_controller.py 2025-04-22 19:17:51 +02:00
infiniteCable d36bd96365 Update disturbance_controller.py 2025-04-22 19:01:28 +02:00
infiniteCable 7d8be7eec0 Update disturbance_controller.py 2025-04-22 18:51:10 +02:00
infiniteCable a6230a10a9 Update disturbance_controller.py 2025-04-22 17:19:47 +02:00
infiniteCable 237c346b93 Update disturbance_controller.py 2025-04-22 17:16:14 +02:00
infiniteCable 34e00dfc79 Update disturbance_controller.py 2025-04-22 17:07:19 +02:00
infiniteCable a55bb51474 Update disturbance_controller.py 2025-04-22 16:49:22 +02:00
infiniteCable ac8ac391bc Update disturbance_controller.py retry 2025-04-22 15:04:28 +02:00
infiniteCable2 aab4f4dfc5 Revert "Delete selfdrive/controls/lib/disturbance_controller.py"
This reverts commit 7a0997ccf7.
2025-04-22 14:40:45 +02:00
Bruce Wayne a029d13398 update smooth 2025-04-21 15:44:30 -07:00
Harald Schäfer 33a7d853f0 Modeld: small refactor (#35044)
refactor
2025-04-21 15:10:41 -07:00
Harald Schäfer 34514ef176 Long planner: make work with training (#35043)
* revert useless

* update ref
2025-04-21 14:11:57 -07:00
infiniteCable b6b1274861 Update longitudinal_planner.py 2025-04-21 12:37:44 +02:00
infiniteCable 7a0997ccf7 Delete selfdrive/controls/lib/disturbance_controller.py 2025-04-21 11:46:03 +02:00
infiniteCable 46cf6b9d6d Update disturbance_controller.py 2025-04-21 10:46:07 +02:00
infiniteCable 2ab3c61069 Update disturbance_controller.py 2025-04-21 10:38:46 +02:00
infiniteCable 084f7d4bad Update disturbance_controller.py 2025-04-20 21:08:25 +02:00
infiniteCable 545a6595d6 Update disturbance_controller.py 2025-04-20 18:41:32 +02:00
infiniteCable 7fc2b5ea26 Update disturbance_controller.py 2025-04-20 18:34:55 +02:00
infiniteCable d3d1617a10 Update disturbance_controller.py 2025-04-20 16:18:05 +02:00
infiniteCable2 51f4895e54 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-19 22:39:52 +02:00
Kumar 1bf752fc79 bugfix: Auto lane change - Add mode to disable lane changes (#826)
* off is off

* sugg

* line

* Update sunnypilot/selfdrive/controls/lib/tests/test_auto_lane_change.py

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com>
Co-authored-by: DevTekVE <devtekve@gmail.com>
2025-04-19 21:15:28 +02:00
infiniteCable 681067d852 Update disturbance_controller.py cleanup 2025-04-19 19:44:35 +02:00
infiniteCable2 02b4acb999 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-04-19 19:42:07 +02:00
infiniteCable b83b1f871a Update disturbance_controller.py 2025-04-19 19:37:24 +02:00
Tim Wilson bcdb546638 NNLC: decreased low-speed factor (#822)
* NNLC: decreased low-speed factor

* np.float to float

* format

* add tests for sanity check

---------

Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-04-19 11:47:47 -04:00
infiniteCable ed174aa82c Update disturbance_controller.py 2025-04-19 16:41:00 +02:00
infiniteCable a8c2c72643 Update disturbance_controller.py 2025-04-19 14:53:15 +02:00
infiniteCable ba98193090 Update disturbance_controller.py reimplement old working state and a little bit of ff style disturbance correction by lat accel 2025-04-19 13:53:29 +02:00
infiniteCable 6e2ff68f91 Update disturbance_controller.py 2025-04-19 13:28:57 +02:00
infiniteCable 838145be17 Update disturbance_controller.py 2025-04-19 12:59:08 +02:00
infiniteCable 77942ad71a Update disturbance_controller.py 2025-04-18 22:18:01 +02:00
infiniteCable 827a505e49 Update disturbance_controller.py 2025-04-18 20:12:56 +02:00
infiniteCable ebaabcfc25 Update disturbance_controller.py 2025-04-18 19:40:57 +02:00