Commit Graph

910 Commits

Author SHA1 Message Date
infiniteCable2 08dfbe5c24 Update longcontrol.py revert special starting state logic 2025-08-12 17:54:01 +02:00
infiniteCable2 329e032545 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot 2025-08-11 16:27:42 +02:00
Jason Wen 97c2d7e655 Merge branch 'upstream/openpilot/master' into sync-20250809
# Conflicts:
#	common/params_keys.h
#	opendbc_repo
#	panda
#	selfdrive/car/cruise.py
#	selfdrive/controls/controlsd.py
#	selfdrive/selfdrived/selfdrived.py
#	selfdrive/test/process_replay/process_replay.py
#	selfdrive/ui/qt/setup/setup.cc
#	tinygrad_repo
2025-08-10 02:05:05 -04:00
Mitchell Goff 7413982f0d Lower ALLOW_THROTTLE_THRESHOLD (#35928)
* Lower ALLOW_THROTTLE_THRESHOLD

* Bumped process_replay refs
2025-08-05 17:35:54 -07:00
infiniteCable2 ba371576d2 Merge branch 'master' of https://github.com/sunnypilot/sunnypilot into master-new 2025-08-03 17:54:46 +02:00
DevTekVE 9dc98b36be refactor: cleanup gravity constant handling (#35866)
* refactor: move lateral methods from init to lateral.py (#2594)

* Extracting lateral methods to lateral.py

* cleaning

* more cleaning

* more cleaning

* Making sure it remains where it should

* Leave rate_limit where it belongs

* Moving things to `car/controls/`

* Moving rate limit to get a taste of the changes

* clean

* copy verbatim

* clean up

* more

* now we can format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* No need to change order of import

* refactor: consolidate ACCELERATION_DUE_TO_GRAVITY import path

* bump opendbc

* update refs

* don't import from opendbc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-08-02 11:20:18 -07:00
Jason Wen d6474aa0a9 Merge branch 'upstream/openpilot/master' into sync-20250731
# Conflicts:
#	.github/workflows/selfdrive_tests.yaml
#	common/params.h
#	common/params_keys.h
#	common/params_pyx.pyx
#	docs/CARS.md
#	opendbc_repo
#	panda
#	selfdrive/car/tests/test_models.py
#	selfdrive/pandad/pandad.cc
#	selfdrive/pandad/pandad.h
#	selfdrive/selfdrived/selfdrived.py
#	selfdrive/ui/translations/main_ar.ts
#	selfdrive/ui/translations/main_de.ts
#	selfdrive/ui/translations/main_es.ts
#	selfdrive/ui/translations/main_fr.ts
#	selfdrive/ui/translations/main_ja.ts
#	selfdrive/ui/translations/main_ko.ts
#	selfdrive/ui/translations/main_pt-BR.ts
#	selfdrive/ui/translations/main_th.ts
#	selfdrive/ui/translations/main_tr.ts
#	selfdrive/ui/translations/main_zh-CHS.ts
#	selfdrive/ui/translations/main_zh-CHT.ts
#	system/athena/athenad.py
#	system/athena/manage_athenad.py
#	system/manager/manager.py
#	system/sentry.py
#	uv.lock
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`

Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2025-08-02 00:21:14 -04:00
Adeeb Shihadeh 4d01b7bec8 Fix up radarFault handling (#35880)
* fixup radarFault handling

* catch all

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-08-01 16:27:26 -07:00
DevTekVE 1966845fc9 refactor: move lateral methods from init to lateral.py (#35856)
* refactor: move lateral methods from init to lateral.py (#2594)

* Extracting lateral methods to lateral.py

* cleaning

* more cleaning

* more cleaning

* Making sure it remains where it should

* Leave rate_limit where it belongs

* Moving things to `car/controls/`

* Moving rate limit to get a taste of the changes

* clean

* copy verbatim

* clean up

* more

* now we can format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* No need to change order of import

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-08-01 15:17:37 -07:00
infiniteCable2 acfe1ac1c0 Update longcontrol.py 2025-08-01 18:07:30 +02:00
infiniteCable2 7159090fc6 Update longcontrol.py use brake hold mechanics for start accel 2025-08-01 17:31:02 +02:00
infiniteCable2 1cc9b4c770 Update latcontrol_curvature.py 2025-07-31 19:24:11 +02:00
infiniteCable2 55b25baaa1 Update latcontrol_curvature.py 2025-07-31 19:22:22 +02:00
infiniteCable d77114447e Update latcontrol_curvature.py 2025-07-27 14:26:28 +02:00
infiniteCable b0a5a55733 Update latcontrol_curvature.py 2025-07-27 14:24:56 +02:00
infiniteCable ad47652aa8 Update latcontrol_curvature.py 2025-07-26 21:28:33 +02:00
infiniteCable ce37fc84b5 Update latcontrol_curvature.py 2025-07-25 13:34:29 +02:00
infiniteCable a68e5ff6d8 Update latcontrol_curvature.py 2025-07-24 17:45:39 +02:00
infiniteCable 4c1c7809d5 Update latcontrol_curvature.py 2025-07-24 17:22:52 +02:00
infiniteCable 654caaef3c Update latcontrol_curvature.py 2025-07-24 17:15:56 +02:00
infiniteCable 8608aa6d04 Update latcontrol_curvature.py 2025-07-24 17:13:28 +02:00
infiniteCable 37d29378af Update latcontrol_curvature.py 2025-07-24 17:04:21 +02:00
infiniteCable c9cf18c9d8 Update latcontrol_curvature.py 2025-07-24 16:51:58 +02:00
infiniteCable 767c2cb51e Update latcontrol_curvature.py 2025-07-24 16:47:42 +02:00
infiniteCable 57466c2fc3 Update latcontrol_curvature.py 2025-07-24 15:15:03 +02:00
infiniteCable efafff9dad Update latcontrol_curvature.py 2025-07-24 14:42:50 +02:00
Adeeb Shihadeh 347cee4b09 big opendbc bump (#35799)
* bump

* bump

* bump

* bump

* bump

* update refs

* that doesn't work anymore

* bump

* update refs

* bump
2025-07-23 23:23:59 -07:00
infiniteCable 07a9515a6f Update latcontrol_curvature.py 2025-07-23 18:41:48 +02:00
infiniteCable 823df00ef2 Update latcontrol_curvature.py 2025-07-23 17:49:20 +02:00
infiniteCable bf11e9bbe7 Update latcontrol_curvature.py 2025-07-23 11:50:54 +02:00
infiniteCable e4b60b29fc Update latcontrol_curvature.py fix 2025-07-22 21:44:34 +02:00
Shane Smiskol bc7d6f2677 torque controller: clean up friction (#35781)
* conditional friction inside here is confusing

* do it here

* one line

* run

* bump
2025-07-21 20:27:34 -07:00
infiniteCable ad84d849c3 Update latcontrol_curvature.py 2025-07-21 23:05:58 +02:00
infiniteCable2 b991aa9d52 Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-07-19 17:50:13 +02:00
Jason Wen beaec753ab Merge branch 'upstream/openpilot/master' into sync-20250710
# Conflicts:
#	.github/workflows/selfdrive_tests.yaml
#	README.md
#	common/params_keys.h
#	opendbc_repo
#	panda
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/controls/lib/tests/test_latcontrol.py
#	selfdrive/ui/soundd.py
#	selfdrive/ui/translations/main_ar.ts
#	selfdrive/ui/translations/main_de.ts
#	selfdrive/ui/translations/main_es.ts
#	selfdrive/ui/translations/main_fr.ts
#	selfdrive/ui/translations/main_ja.ts
#	selfdrive/ui/translations/main_ko.ts
#	selfdrive/ui/translations/main_pt-BR.ts
#	selfdrive/ui/translations/main_th.ts
#	selfdrive/ui/translations/main_tr.ts
#	selfdrive/ui/translations/main_zh-CHS.ts
#	selfdrive/ui/translations/main_zh-CHT.ts
#	tinygrad_repo
2025-07-19 00:28:43 -04:00
Armand du Parc Locmaria 3c43a000cd acados: relative rpath (#35624)
* opendbc/SharedLibrary

* acados, mpc don't link to absolute paths

* update opendbc

* include gen path, dont include abs path

* escape escape

* move rpath to relative path in mpc SConscripts

* clean up

* missing libs

* don't update opendbc

* rpath literal and rel_path

* ld library path is for runtime?

* same for darwin

* build on macos

* Update selfdrive/controls/lib/lateral_mpc_lib/SConscript

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update selfdrive/controls/lib/longitudinal_mpc_lib/SConscript

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Revert "Update selfdrive/controls/lib/longitudinal_mpc_lib/SConscript"

This reverts commit a55077f39ea248428e5916b85f24542293edefc9.

* Reapply "Update selfdrive/controls/lib/longitudinal_mpc_lib/SConscript"

This reverts commit 07a6a26292ea7f436ff43fb7efe1ad826eef689b.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-10 18:59:09 -07:00
infiniteCable 674398fa5e Update latcontrol_curvature.py roll compoensation after PID 2025-07-10 18:25:36 +02:00
Harald Schäfer 20fdb686ca latcontrol torque: remove option to feed back on localizer (#35659)
* Localizer is too laggy for control

* typo

* typo

* fix test

* fix imports

* Revert "fix imports"

This reverts commit 5074f8050170f974b451e00d9fdc752f09a47d57.

* fix improt

* import
2025-07-08 14:12:46 -07:00
infiniteCable d4795f81ce Update latcontrol_curvature.py 2025-07-08 19:40:22 +02:00
infiniteCable 2e8bc65f6f Update latcontrol_curvature.py 2025-07-08 17:14:41 +02:00
infiniteCable2 ec394ed9ce Merge branch 'master-new' of https://github.com/sunnypilot/sunnypilot into master-new 2025-07-06 14:28:49 +02:00
infiniteCable a542fb119f Update latcontrol_curvature.py 2025-07-06 14:24:31 +02:00
James Vecellio-Grant af53db3b07 Longitudinal Planner: Allow Non-MLSIM Models to Use MPC (#1012)
* gen 11 only api limit exceeded maybe not

* Try this for ModelDataV2.Action

* mpc mode

* Fix This

* Revert "Try this for ModelDataV2.Action"

This reverts commit e7db17980b3667de1399cac97ef92041f5d59eff.

* fix logic flaw

* Address comments for readability.

---------

Co-authored-by: Kumar <36933347+rav4kumar@users.noreply.github.com>
2025-07-05 21:23:32 -07:00
Harald Schäfer e503e657bc Model error deprecated with TR (#35628)
* Model error deprecated with TR

* no get speed error

* import
2025-07-02 23:36:41 -07:00
Harald Schäfer 64fd3f9860 Tomb Raider 14 (#35620)
* f7db6a09-43c5-4db9-b856-7fe1a1c231eb/400

* bd99d079-9afb-4af5-9f31-236d5c9ff15f/400

* aggressive tr: 7707a4ca-7d5e-47a2-8760-93b5004695cd/400

* bd99d079-9afb-4af5-9f31-236d5c9ff15f/400

* ae82d7a8-b74d-43b5-ab6d-d72e6040dab3/400

* revert stop distance

* comments
2025-07-02 21:50:55 -07:00
infiniteCable 2e287f6dcc Update longitudinal_planner.py 2025-06-23 17:12:42 +02:00
infiniteCable 4042ff8ddb Update drive_helpers.py 2025-06-23 17:09:13 +02:00
infiniteCable2 110f3b095f Update latcontrol_curvature.py 2025-06-22 12:51:54 +02:00
infiniteCable 462f2e68a0 Update latcontrol_curvature.py 2025-06-16 09:54:34 +02:00
infiniteCable ceb8023e75 Update latcontrol_curvature.py 2025-06-13 09:54:12 +02:00