Jason Wen
70f8225efc
Merge branch 'upstream/openpilot/master' into sync-20250312
...
# Conflicts:
# opendbc_repo
# selfdrive/car/tests/test_models.py
2025-03-13 02:41:16 -04:00
Shane Smiskol
b732e8eee9
bump opendbc ( #34848 )
...
* bump
* bump
* adds EV flag
2025-03-12 00:47:34 -07:00
Adeeb Shihadeh
3f6fd3da78
test_onroad threshold tuning
2025-03-11 16:03:00 -07:00
DevTekVE
a4ef5ad982
Merge remote-tracking branch 'comma/master' into sync-20250309
...
# Conflicts:
# .github/workflows/ui_preview.yaml
# common/params_keys.h
# msgq_repo
# opendbc_repo
# panda
# selfdrive/ui/qt/offroad/firehose.h
# selfdrive/ui/tests/test_ui/run.py
# system/manager/process_config.py
2025-03-09 14:53:03 +01:00
Jason Wen
290383128e
Sync: Fix conflicts
2025-03-09 00:53:06 -05:00
Jason Wen
f9952d7cb7
CI: Disable process_replay and remove fakedata ( #651 )
...
* CI: Disable process_replay
* remove fakedata
* don't bump panda yet
2025-03-08 23:30:44 -05:00
Shane Smiskol
0789877cd3
paramsd: fix unbounded yaw rate while calibrating ( #34806 )
...
* rm
* comments
* default values when yaw rate invalid
* clean up
Revert "default values when yaw rate invalid"
This reverts commit e983abb3b009f15a57ebdfbadd4f616aba5b266e.
do the same for yaw rate we do for roll
and
* 1 is fine
* update refs
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com >
2025-03-06 22:44:09 -08:00
Shane Smiskol
f3bfdf6969
Rivian: don't show set speed in UI ( #34705 )
...
* Rivian: don't show set speed in UI
* stash
* bump
* use speed
* bump
* bump to master
* update refs
* default true
2025-03-05 23:49:00 -08:00
Shane Smiskol
59bb5c54b3
Rivian: cancel command ( #34767 )
...
* test it
* bump
* bump
* bump
* bump
* clean up
* bump refs
2025-03-05 20:50:22 -08:00
Adeeb Shihadeh
65bf2ec0ea
test_onroad: add sanity check on ecode outputs ( #34784 )
...
* test_onroad: add sanity check on ecode outputs
* exact
2025-03-05 15:58:03 -08:00
Adeeb Shihadeh
821148150b
Revert "make test_onroad faster ( #34704 ) ( #34783 )
...
* Revert "make test_onroad faster (#34704 )"
This reverts commit 470ec46830 .
* try this
* add there
* cleanup
* try this
* lil more
* list
* classic
* don't skip test
2025-03-05 15:42:22 -08:00
ZwX1616
3f9437e249
process_replay: support lane changes in model_replay ( #34777 )
...
* lane changes need to see these
* newline
* add lc probs
2025-03-04 20:24:17 -08:00
ZwX1616
3e8e7e8e6d
update model_replay route ( #34774 )
...
* update route
* Update selfdrive/test/process_replay/model_replay.py
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
2025-03-04 18:36:30 -08:00
ZwX1616
7dfbf0b1e1
process_replay: set sensor in cameraState migration ( #34776 )
...
set sensor in cameraState migration
2025-03-04 18:28:44 -08:00
Shane Smiskol
949aaaba2c
regenerate problem segments
2025-03-03 19:34:49 -08:00
Kacper Rączy
338b7c915f
regen: use ci bucket for files ( #34766 )
...
* Remove route meta mode
* use get_url
* Remove useless import
2025-03-04 03:10:48 +00:00
Kacper Rączy
00a0547978
paramsd: invalid angle offset alert ( #34715 )
...
* Add angle offset valid field
* Remove print
* Move it
* Add check in selfdrived
* Same thing for stiffnessFactor and steerRatio
* Fix
* Alert callback
* Fix bugs
* Fix
* Update events
* Make it functional
* Ref commit
* Update ref commit
* Remove dot
* Fix
Fix formatting
* Default values
* Update ref commit
2025-02-28 18:40:12 +01:00
Shane Smiskol
59b4b2e6f8
test models: test vehicle speed ( #34727 )
...
* test vehicle speed
* clean up
* whoops
* ohhhhhh
* work
* clean up
* clean up
* all good
* fix
* shorter
* bump
* update refs
* bump to master
2025-02-28 02:35:58 -08:00
Maxime Desroches
470ec46830
make test_onroad faster ( #34704 )
...
* revert that
* again
* port over
* clean
* round
2025-02-25 10:32:35 -08:00
Shane Smiskol
5bde16fc0f
Rivian in release ( #34700 )
...
* bump
* bump
* fix
* bump
* fix footnotes
* bump
* docs
* add rivian to proc replay
* update
2025-02-24 22:09:22 -08:00
commaci-public
7c904e796e
[bot] Update Python packages ( #34695 )
...
* Update Python packages
* update refs
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-02-24 22:04:05 -08:00
commaci-public
6ff80028b0
[bot] Update Python packages ( #34667 )
...
* Update Python packages
* update refs
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-02-22 02:35:05 -08:00
commaci-public
2944bead37
[bot] Update Python packages ( #34664 )
...
* Update Python packages
* fix that
* fix that too
* bump panda
* bump
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-02-21 17:37:04 -08:00
Adeeb Shihadeh
e7dddaeb7e
rm test_time_to_onroad.py
2025-02-20 17:13:20 -08:00
Adeeb Shihadeh
952def7abf
start logging services first ( #34646 )
...
* start logging services first
* fix test
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-20 16:53:07 -08:00
Adeeb Shihadeh
d9a8fab3e6
test_onroad: run same checks on both EncodeIdx and CameraState ( #34638 )
...
* try this
* cleanup
* lil more
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-20 15:46:19 -08:00
commaci-public
2ea241ff7e
[bot] Update Python packages ( #34639 )
...
* Update Python packages
* update refs
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-02-20 14:52:46 -08:00
Adeeb Shihadeh
52b66a1c0c
Stricter cam sync tests ( #34609 )
...
* strict
* fix that
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-20 14:15:38 -08:00
Maxime Desroches
d3fd36b5b7
jenkins: always clean old git repos on checkout ( #34625 )
...
* force
* test
* cleanup
2025-02-19 14:51:09 -08:00
Shane Smiskol
8e19185cee
Bump submodules ( #34616 )
...
* bump
* now libsafety
* skip rivian for now
2025-02-18 13:48:28 -08:00
Adeeb Shihadeh
a30d3f7d72
test_onroad: cleanup with time series LogReader ( #34613 )
2025-02-17 21:26:21 -08:00
Adeeb Shihadeh
73266a016c
test_onroad: always show model exec timings ( #34606 )
...
Co-authored-by: Comma Device <device@comma.ai >
2025-02-17 09:18:41 -08:00
Shane Smiskol
d2c0bcf7b9
use model aLead in MPC ( #34598 )
...
* use model aLead in MPC
* update
2025-02-16 21:24:41 -08:00
Jason Wen
564914c3a4
test_processes: update ref logs to a0a1635
2025-02-16 23:43:51 -05:00
Jason Wen
a0a1635c55
Merge branch 'upstream/openpilot/master' into sync-20250215
...
# Conflicts:
# common/params.cc
# opendbc_repo
# panda
# selfdrive/car/tests/test_models.py
# selfdrive/modeld/fill_model_msg.py
# selfdrive/test/process_replay/process_replay.py
# selfdrive/test/process_replay/ref_commit
# selfdrive/ui/qt/offroad/developer_panel.cc
# selfdrive/ui/tests/test_ui/run.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
2025-02-16 22:10:32 -05:00
Adeeb Shihadeh
958c8d1ce3
Beautiful camera timings ( #34558 )
...
* the start of something beautiful
* mv that
* cleanup
* cleanup output
* the good stuff
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-14 21:33:50 -08:00
Harald Schäfer
77a442c4e8
Long planner: allow negative accel constraint ( #34565 )
...
* allow negative accel constraint
* dont let MPC do clipping
* Typo
* whitespace
* Fix tests
* More cruise accel
* rm print
* ref commit
2025-02-12 13:11:32 -08:00
Shane Smiskol
d6a0e49def
Move safety constants to opendbc ( #34573 )
...
* forgot these
* bump
* get these
* and flags
* fix
* bump
* test
* debug
* print sim thread errors
2025-02-11 21:48:20 -08:00
Adeeb Shihadeh
fbf918b311
test_onroad fixups ( #34572 )
...
* test_onroad fixpus
* fix
2025-02-11 20:15:30 -08: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
951631e1ab
Remove brand-specific button logic from car_specific.py ( #34540 )
...
* yay
* moremoremore
* clean up
* more
* don't care
* update refs
* bump to master
2025-02-06 18:02:31 -08:00
Adeeb Shihadeh
9bc35c0919
Revert "athena upload: reduce memory usage and improve efficiency with streaming ( #34528 )"
...
This reverts commit 4c65f51a55 .
2025-02-06 11:50:04 -08:00
Dean Lee
4c65f51a55
athena upload: reduce memory usage and improve efficiency with streaming ( #34528 )
...
* reduce memory usage and improve upload efficiency with streaming
* space
2025-02-04 13:10:13 -08:00
Maxime Desroches
c82af71e83
model_replay: raise max modelV2 exec time ( #34505 )
...
raise
2025-01-30 11:21:45 -08:00
YassineYousfi
2eb3585dae
Not Too Shabby Model ( #34484 )
...
* b25c27a8-263b-4f3f-b1f8-72ac49b4f9c7/700
* replay
* model_replay: support empty
2025-01-28 12:16:13 -08:00
Jason Wen
8801d1eb8e
test_processes: update ref logs to 7e5a84b
2025-01-25 22:51:46 -05:00
Jason Wen
7e5a84b897
Merge branch 'upstream/openpilot/master' into sync-20250125
...
# Conflicts:
# opendbc_repo
# panda
# selfdrive/modeld/fill_model_msg.py
# selfdrive/pandad/pandad.cc
# selfdrive/test/process_replay/ref_commit
# selfdrive/ui/qt/home.h
# selfdrive/ui/qt/offroad/developer_panel.cc
# selfdrive/ui/qt/offroad/developer_panel.h
# selfdrive/ui/tests/test_ui/run.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.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
2025-01-25 22:50:03 -05:00
Shane Smiskol
1d86afdf83
carName -> brand ( #34474 )
...
* bump
* brand
* body is lower
2025-01-25 01:39:06 -06:00
Maxime Desroches
52f935da74
model_replay: check modelExecutionTime ( #34457 )
...
* metric
* fix
* format
* table
* test failure
* cleanup
* 3
* 4
2025-01-23 16:14:02 -08:00
Jason Wen
3e7240516e
Car: Migrate sunnypilot CarParams to its own cereal ( #604 )
...
* sp flags
* pass CP_SP to card and car interfaces
* CP_SP in radar interface
* bump opendbc
* use dataclass like old times
* bump opendbc
* write to params for controls
* fix test models
* fix
* need to use copy instead
* fix data type
* add service
* more
* fix
* Revert "fix"
This reverts commit 74723d7fb2 .
* Revert "fix data type"
This reverts commit 02355f44df .
* missed
* more
* no more lagging
* Reapply "fix data type"
This reverts commit dbf1b8583f .
* Reapply "fix"
This reverts commit 9cbce9968a .
* Revert "Reapply "fix""
This reverts commit 1871919b63 .
* Revert "Reapply "fix data type""
This reverts commit 5e95752fd5 .
* no longer
* Revert "no longer"
This reverts commit 66ee1ba151 .
* Reapply "Reapply "fix data type""
This reverts commit 670a384333 .
* Reapply "Reapply "fix""
This reverts commit 42f09f955c .
* only for car params sp
* rename
* fix more test
* no need for process replay
* pass stock car params to sp set car params
* pass stock car params to sp set car params
* deprecate CarParams.sunnypilotFlags to CarParamsSP.flags
* missed arg
* fix tests
* tests fixed
* need to pass this too
* must generate cp_sp!
* fix typing
* must be initialized prior can comm callback!
* no more cancer (@devtekve)
* remove more cancer
* Refactor `get_non_essential_params_sp` to simplify arguments (#612 )
* Refactor 'get_non_essential_params_sp' function calls in tests
In both `test_latcontrol.py` and `process_replay.py`, simplified the function calls to 'get_non_essential_params_sp'. Removed an unnecessary call to 'get_non_essential_params'. This change makes the code cleaner and more efficient by reducing redundancy in the function calls. This modification also ensures consistency across different code files.
* Refactor get_non_essential_params_sp to take car_params.
Simplify parameters by modifying `get_non_essential_params_sp` to use `car_params` as input. Adjust related calls in test files and process replay to match the updated method signature. This improves code clarity and reduces redundancy.
* bump opendbc
* Refactor parameter handling for `get_params_sp`.
Removed unnecessary reassignment of `car_params` in calls to `get_params_sp`, ensuring a cleaner and more streamlined code structure. This change improves code clarity and eliminates redundant operations. All relevant assertions and behavior remain unaffected.
* bumping opedbc
* bump opendbc
---------
Co-authored-by: DevTekVE <devtekve@gmail.com >
2025-01-22 14:22:32 -05:00