51 Commits

Author SHA1 Message Date
Jason Wen
d398f9951e Merge branch 'upstream/openpilot/master' into sync-20260401
# Conflicts:
#	.github/workflows/auto_pr_review.yaml
#	.github/workflows/repo-maintenance.yaml
#	README.md
#	SConstruct
#	docs/CARS.md
#	opendbc_repo
#	panda
#	selfdrive/car/card.py
#	selfdrive/controls/controlsd.py
#	selfdrive/selfdrived/selfdrived.py
#	selfdrive/test/process_replay/migration.py
#	selfdrive/ui/translations/app_fr.po
Platform List: sync with latest
Sync: `commaai/panda:master` → `sunnypilot/panda:master`
2026-04-02 21:14:23 -04:00
Daniel Koepping
6b94c47c6a Lateral maneuver report (#37562)
* lateral report

* mutually exclude buttons

* gating

* set maneuver

* add timer

* timer text

* fix plot

* use curvature

* more curves

* fix gating

* rm delay

* highway speed only

* msg

* add sine

* add step-down

* use relative

* text

* stabilize

* tuning

* windup

* text

* winddown

* no windup

* tuning

* more tuning

* more

* formatting

* test faster

* extend sine

* report crossings

* add readme

* clean report

* fix lint

* gating

* fix

* straighter

* compensate roll

* rm abs roll

* len

* Revert "rm abs roll"

This reverts commit a22d6bb136f90d2bf997e6b9aeee2f784398ef42.

* Revert "compensate roll"

This reverts commit dfda52119cc4a2e29ac2854b9154c08459086fea.

* print actuators

* show curve and roll

* tune roll

* text

* slower

* timer

* too much banked streets in US

* readme

* filter incomplete

* plot jerk

* plot angle jerk

* lil edits

* fix lint

* apply suggestions

* better table

* apply comments

* clean

* shane comments

* deflicker

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2026-03-27 13:31:00 -07:00
Jason Wen
59a16b9cdc Merge branch 'upstream/openpilot/master' into sync-20260225
# Conflicts:
#	.github/workflows/auto_pr_review.yaml
#	.github/workflows/badges.yaml
#	.github/workflows/mici_raylib_ui_preview.yaml
#	.github/workflows/prebuilt.yaml
#	.github/workflows/raylib_ui_preview.yaml
#	.github/workflows/release.yaml
#	.github/workflows/repo-maintenance.yaml
#	.github/workflows/tests.yaml
#	.gitignore
#	Dockerfile.openpilot_base
#	SConstruct
#	docs/CARS.md
#	opendbc_repo
#	panda
#	release/build_release.sh
#	selfdrive/modeld/SConscript
#	selfdrive/modeld/modeld.py
#	selfdrive/pandad/panda_safety.cc
#	selfdrive/pandad/pandad.cc
#	selfdrive/pandad/pandad.py
#	selfdrive/test/process_replay/process_replay.py
#	selfdrive/ui/layouts/onboarding.py
#	selfdrive/ui/mici/layouts/home.py
#	selfdrive/ui/tests/diff/replay.py
#	selfdrive/ui/tests/test_ui/raylib_screenshots.py
#	tools/mac_setup.sh
#	uv.lock
2026-02-27 16:12:57 -05:00
felsager
43d162e8fb mpc_longitudinal_tuning_report: use enum for axis (#37231) 2026-02-17 11:49:26 -08:00
Jason Wen
52fb0b8171 Merge branch 'upstream/openpilot/master' into sync-20260211
# Conflicts:
#	.github/workflows/auto_pr_review.yaml
#	.github/workflows/tests.yaml
#	opendbc_repo
#	panda
#	selfdrive/pandad/pandad.py
#	selfdrive/test/process_replay/test_processes.py
2026-02-11 20:16:02 -05:00
felsager
5b98ea04ad mpc tuning report: minor improvements (#37167) 2026-02-11 10:21:12 -08:00
Jason Wen
dc5dfe7f3b maneuversd: keep services happy (#1685) 2026-02-11 00:27:57 -05:00
Adeeb Shihadeh
55a31d7657 replace tabulate with simple helper (#37122) 2026-02-07 18:27:16 -08:00
felsager
9755520b87 longitudinal mpc tuning report: add sinusoidal oscillation scenario (#37100) 2026-02-06 11:30:49 -08:00
felsager
7099bd18e3 longitudinal mpc tuning: behind if main (#37099) 2026-02-06 10:35:54 -08:00
felsager
2fc10e8299 Maneuver: log drel and use it in tuning report (#37033) 2026-01-27 17:15:39 -08:00
felsager
97329e46ae longitudinal maneuvers: add report for longitudinal mpc tuning (#37030) 2026-01-26 16:07:13 -08:00
Adeeb Shihadeh
bab251b287 fix conversions import path (#35899) 2025-08-02 12:02:17 -07: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
Dean Lee
9ec54f59c6 loggerd: switch logging from raw file format to zstd compressed files (#34549)
* switch logging from raw file format to zstd compressed files

* more zst suffix

* compress bootlog

* remove class RawFile

* Optimize ZstdFileWriter by adding input caching

* use ZSTD_compressStream2

* cleanup

* LOG_COMPRESSION_LEVEL=10

* space

* add zst suffix to LOGS_SIZE_RATE
2025-02-08 12:55:31 -08:00
Shane Smiskol
006482b3f4 open new long reports 2024-11-22 17:41:31 -08:00
Shane Smiskol
3c22a1ee27 Revert "long report: close plots"
This reverts commit 482234ed35.
2024-11-10 19:17:04 -08:00
Shane Smiskol
482234ed35 long report: close plots 2024-11-10 19:15:11 -08:00
royjr
e243acac3b longitudinal_maneuvers fix warning (#33980) 2024-11-10 09:29:27 -08:00
Shane Smiskol
3e88d680a5 Update maneuversd.py 2024-11-07 21:45:12 -08:00
Shane Smiskol
fd84970833 maneuversd: support interpolated breakpoints (#33936)
* breakpoints

* clean up

* fix

* simplify

* np fast

* might as well
2024-11-05 16:19:02 -08:00
Shane Smiskol
e92ff96de3 format mansueversd.py 2024-11-05 16:07:12 -08:00
Shane Smiskol
0b20007242 longitudinal report: valid if capable of resuming (#33864)
.
2024-10-23 19:07:57 -07:00
Shane Smiskol
3396c59151 maneuversd: auto-resume if possible (#33841)
maneuversd auto-resume
2024-10-21 17:33:48 -07:00
Shane Smiskol
b4252404ec round aTarget 2024-10-15 20:05:44 -07:00
Shane Smiskol
277691cf83 longitudinal reports: save as webp 2024-10-15 14:48:38 -07:00
Shane Smiskol
3a150e51e4 longitudinal report: add git data (#33799)
* add git data

* fix
2024-10-15 14:42:45 -07:00
Shane Smiskol
9674c7b5af longitudinal maneuvers: summary table (#33790)
* bob the builder

* table

* clean up
2024-10-14 16:50:30 -07:00
Shane Smiskol
4d4df4822a maneuversd: start from stop repeats 2 times 2024-10-14 13:58:31 -07:00
Adeeb Shihadeh
c6c9a0da8f Revert "Add missing detail for OP Long is required (#33780)"
This reverts commit 3420b2a02d.
2024-10-14 13:33:50 -07:00
morrislee
3420b2a02d Add missing detail for OP Long is required (#33780) 2024-10-14 13:30:13 -07:00
garrettpall
7ebd7b8b4d maneuversd: Add note about cars requiring resume button press to exit standstill (#33665)
* maneuversd: Set active true when resume pressed

* Revert "maneuversd: Set active true when resume pressed"

This reverts commit 1165270c47c6a3fe4af5752f7779c36bd5e840c9.

* Add note

* Update README.md

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-30 14:39:23 -07:00
Shane Smiskol
f7b800673b smaller legend in the report 2024-09-27 17:49:09 -07:00
Shane Smiskol
6b232cf91f maneuversd: run creep test for slightly longer 2024-09-27 17:48:34 -07:00
Shane Smiskol
b9f9854743 maneuversd: run start from stop maneuver for longer 2024-09-27 14:49:13 -07:00
Shane Smiskol
0ee8bb8f8e add come to stop maneuver 2024-09-26 19:48:53 -07:00
Shane Smiskol
fe61b436b2 fix import 2024-09-19 21:58:00 -07:00
Shane Smiskol
3c5ed2f716 Longitudinal maneuver report: display pitch (#33610)
* export and fix platforms

* test

* display pitch

* Revert "test"

This reverts commit 80c57fda9afcb6e6cae002f54d8ffbe46c2feb01.

* Revert "export and fix platforms"

This reverts commit 614e62d775799a9af1e76ab9025dc96bbe1b83c6.

* add to top

* Revert "display pitch"

This reverts commit 5bad8c0be71aba914490848473782ed7c4a1ca83.
2024-09-19 21:57:11 -07:00
Shane Smiskol
91e342fc58 longitudinal maneuver report: require two frames above target (#33602)
require two frames
2024-09-19 14:14:22 -07:00
Shane Smiskol
81a0e3716e longitudinal report: description is optional 2024-09-19 13:30:20 -07:00
Shane Smiskol
e018a20bc2 longitudinal maneuver readme: small improvements 2024-09-18 22:47:42 -07:00
Nelson Chen
fe2bd2e0e3 Add clip to longitudinal_maneuvers README (#33574)
Added to step 5, really ties together the images from step 4 and 6.
2024-09-17 16:42:24 -07:00
Nelson Chen
3e0ec64e9a Longitudinal manuever docs (#33561)
* Make output longitudinal maneuvers HTML smaller so users can throw them onto jsfiddle and etc.

* Add an initial meaty readme for longitudinal maneuver tool

Feel free to trim!

* simplify instructions

* revert

revert

* remove broken video, better image

* details

* discord

* final

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-17 13:37:41 -07:00
Shane Smiskol
2371698601 maneuver report: use livePose acceleration and add description 2024-09-16 22:59:37 -07:00
Shane Smiskol
a3d587b93d maneuversd: check for longActive again 2024-09-16 22:27:29 -07:00
Adeeb Shihadeh
6ec603872b long maneuvers: add start from stop (#33556)
* long maneuvers: add start from stop

* fix

* git ignore
2024-09-13 15:58:00 -07:00
Shane Smiskol
3da5ddae71 fix maneuversd.py 2024-09-13 14:47:04 -07:00
Shane Smiskol
fa892a9755 Simple longitudinal maneuver summary (#33553)
* check for overrides as well

* only used twice

* longActive is false for gas pressed

* label cross time

* love pycharm

* quick summary

* add min/max

* show unreached maneuvers
2024-09-12 22:29:00 -07:00
Shane Smiskol
f89b59baa8 Long maneuver report markers (#33552)
* check for overrides as well

* only used twice

* longActive is false for gas pressed

* label cross time

* love pycharm
2024-09-12 21:17:28 -07:00
Shane Smiskol
03ea2b180f longitudinal maneuver report improvements (#33551)
* switch to route name

* add car params and relative time

* separate plots, easier to read
2024-09-12 20:25:22 -07:00