mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-04 15:56:05 +08:00
acd46aa94b
* modeld: Retain pre-20hz drive model support * Method not available anymore on OP * some fixes * Revert "Long planner get accel: new function args (#34288)" * Revert "Fix low-speed allow_throttle behavior in long planner (#33894)" * Revert "long planner: allow throttle reflects usage (#33792)" * Revert "Gate acceleration on model gas press predictions (#33643)" * Reapply "Gate acceleration on model gas press predictions (#33643)" This reverts commit 76b08e37cb8eb94266ad9f6fed80db227e7c3428. * Reapply "long planner: allow throttle reflects usage (#33792)" This reverts commit c75244ca4e9c48084b0205b7c871e1a4e0f4e693. * Reapply "Fix low-speed allow_throttle behavior in long planner (#33894)" This reverts commit b2b7d21b7b685a2785d1beede3d223f0bb954807. * Reapply "Long planner get accel: new function args (#34288)" This reverts commit 74dca2fccf4da59cc8ac62ba9c0ad10ba3fc264b. * don't need * retain snpe * wrong * they're symlinks * remove * put back into VCS * add back * don't include built * Refactor model runner retrieval with caching support Added caching for active model runner type via `ModelRunnerTypeCache` to enhance performance and avoid redundant checks. Introduced a `force_check` flag to bypass the cache when necessary. Updated related code to handle cache clearing during onroad transitions. * Update model runner determination logic with caching fix Enhances `get_active_model_runner` to utilize caching more effectively by ensuring type consistency and updating cache only when necessary. Also updates `is_snpe_model` to pass the `started` state to the runner determination function, improving behavior for dynamic checks. * default to none * enable in next PR * more --------- Co-authored-by: DevTekVE <devtekve@gmail.com>
114 lines
1.5 KiB
Plaintext
114 lines
1.5 KiB
Plaintext
venv/
|
|
.venv/
|
|
.ci_cache
|
|
.env
|
|
.clang-format
|
|
.DS_Store
|
|
.tags
|
|
.ipynb_checkpoints
|
|
.idea
|
|
.overlay_init
|
|
.overlay_consistent
|
|
.sconsign.dblite
|
|
model2.png
|
|
a.out
|
|
.hypothesis
|
|
|
|
/docs_site/
|
|
|
|
*.dylib
|
|
*.DSYM
|
|
*.d
|
|
*.pyc
|
|
*.pyo
|
|
.*.swp
|
|
.*.swo
|
|
.*.un~
|
|
*.tmp
|
|
*.o
|
|
*.o-*
|
|
*.os
|
|
*.os-*
|
|
*.so
|
|
*.a
|
|
*.clb
|
|
*.class
|
|
*.pyxbldc
|
|
*.vcd
|
|
*.qm
|
|
config.json
|
|
clcache
|
|
compile_commands.json
|
|
compare_runtime*.html
|
|
|
|
persist
|
|
selfdrive/pandad/pandad
|
|
cereal/services.h
|
|
cereal/gen
|
|
cereal/messaging/bridge
|
|
selfdrive/logcatd/logcatd
|
|
selfdrive/mapd/default_speeds_by_region.json
|
|
system/proclogd/proclogd
|
|
selfdrive/ui/translations/alerts_generated.h
|
|
selfdrive/ui/translations/tmp
|
|
selfdrive/test/longitudinal_maneuvers/out
|
|
selfdrive/car/tests/cars_dump
|
|
system/camerad/camerad
|
|
system/camerad/test/ae_gray_test
|
|
|
|
notebooks
|
|
hyperthneed
|
|
provisioning
|
|
|
|
.coverage*
|
|
coverage.xml
|
|
htmlcov
|
|
pandaextra
|
|
|
|
.mypy_cache/
|
|
flycheck_*
|
|
|
|
cppcheck_report.txt
|
|
comma*.sh
|
|
|
|
selfdrive/modeld/thneed/compile
|
|
selfdrive/modeld/models/*.thneed
|
|
selfdrive/modeld/models/*.pkl
|
|
sunnypilot/modeld/thneed/compile
|
|
sunnypilot/modeld/models/*.thneed
|
|
sunnypilot/modeld/models/*.pkl
|
|
|
|
*.bz2
|
|
*.zst
|
|
|
|
build/
|
|
|
|
!**/.gitkeep
|
|
|
|
poetry.toml
|
|
Pipfile
|
|
|
|
### VisualStudioCode ###
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
!.vscode/*.code-snippets
|
|
|
|
# Local History for Visual Studio Code
|
|
.history/
|
|
|
|
# Built Visual Studio Code Extensions
|
|
*.vsix
|
|
|
|
### VisualStudioCode Patch ###
|
|
# Ignore all local history of files
|
|
.history
|
|
.ionide
|
|
|
|
### JetBrains ###
|
|
!.idea/customTargets.xml
|
|
!.idea/tools/*
|
|
!.run/*
|