Shane Smiskol
11cb2d3a0b
qlog_size.py: use zstd ( #33137 )
...
qlog_size: use zstd
9 months ago
Kacper Rączy
c96dbd5a0b
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
9 months ago
Shane Smiskol
f31ad97e92
qlog_size: decimate rlog option ( #33011 )
...
* decimate option
* clean up
* check exists
9 months ago
Shane Smiskol
e798caa3e5
qlog_size.py: more accurate msg size breakdown ( #32723 )
...
* grouping changes outcome
* clean up
* clean up
* clean up
* clean up
* clean up
11 months ago
Shane Smiskol
81dc33e569
Fixup qlog size ( #32719 )
...
* stash
* Revert "stash"
This reverts commit 5a22b44919
.
* improvements
* rm
* method 2
* Revert "method 2"
This reverts commit 7112d95b3e
.
* unreal for now
* stash
* Revert "stash"
This reverts commit a7c5b31d80
.
* clean up
* update description
11 months ago
Cameron Clough
995250ae49
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
1 year ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Justin Newberry
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Adeeb Shihadeh
3da28d4df2
remove old debug scripts
2 years ago
Adeeb Shihadeh
1945c356c2
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2 years ago
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f
.
2 years ago
Maxime Desroches
76ef1b9b9f
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421
.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Robbe Derks
d26d8b3ba9
Improve OX frame timing jitter ( #27582 )
...
* frame timing script
* enable vsync output and improve fsin tracking
* increase measurement time
* fix python linting
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Shane Smiskol
7090a88419
Fix fuzz_fw_fingerprint.py script
2 years ago
Shane Smiskol
b00bc4f57e
Car interface: require fingerprint and FW versions to get params ( #26932 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
2 years ago
Adeeb Shihadeh
f14deae475
Revert "Car interface: require fingerprint and FW versions to get params ( #26766 )"
...
This reverts commit b68dabb689
.
2 years ago
Shane Smiskol
b68dabb689
Car interface: require fingerprint and FW versions to get params ( #26766 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
2 years ago
Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
3 years ago
Jason Young
c007c7e681
Improved steering accuracy measurement script ( #23583 )
...
* move steering accuracy measurement script
* git rebase is utterly worthless
* fix header width
3 years ago
Adeeb Shihadeh
b16e612102
remove eon debug scripts
3 years ago
grekiki
b8b15d5cf1
mypy: enable --warn-unreachable ( #24282 )
...
* Optional solves mypy assuming None is always None
* oops
* spaces
* Update registration.py
* fix local error
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
6013d733a3
add mpld3 python pacakge ( #24138 )
...
* add mpld3 python pacakge
* move to dev
* fix for new pylint
3 years ago
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
3 years ago
Adeeb Shihadeh
ea82af14ca
delete old scripts
3 years ago
Ewout ter Hoeven
55390d273f
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
grekiki
6951b3271d
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Robbe Derks
91987f38d4
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
4 years ago
Adeeb Shihadeh
bd79e7f023
remove old can replay script
4 years ago
Adeeb Shihadeh
fd81a5556b
fix up can replay script
4 years ago
arfy slowy
d74def61f8
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
ee39e7ba18
qlog_size.py: print size
4 years ago
eFini
5c450026ef
two minor bug fixes ( #21134 )
4 years ago
Adeeb Shihadeh
4dec92f273
add ignition cycling to can replay script
4 years ago
George Hotz
36d7a86579
allow core voltage setting
4 years ago
George Hotz
4a710bfc16
core voltage sweep
4 years ago
George Hotz
a1fb21e066
script to do voltage sweep
4 years ago
Willem Melching
34328ba305
Remove panda set power functions ( #20712 )
...
* remove panda set power functions
* removed
4 years ago
Willem Melching
e4f73fbda5
Fuzzy match on ECU FW versions ( #20687 )
...
* Fuzzy match on 3+ ECUs
* reuse dict
* exclude some shared ecus to be sure
* show alert for fuzzy match
* use title case
* require community toggle
* refactor
* do both exact and fuzzy in test script
* update test script
* add fuzz test and lower matches to >= 2
* strip alert length
* sort mismatches
* add fw tests to test_startup
* bump cereal
4 years ago
Willem Melching
da5f0c5332
run paramsd: sort messages
4 years ago
Willem Melching
c0e3e2ba1b
add debug script to run paramsd on route
4 years ago
Willem Melching
526d0c3d53
add script to show rlog/qlog breakdown
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
4 years ago
Adeeb Shihadeh
000bd226aa
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
4 years ago
Adeeb Shihadeh
229395e15b
fix static analysis checks after mypy update
4 years ago
Comma Device
523a73774a
replay improvements for testing closet
4 years ago
Adeeb Shihadeh
413e0fa40a
fix import error
4 years ago
Adeeb Shihadeh
e6478c6b35
better can replay script
4 years ago
Adeeb Shihadeh
b1a4ec8135
make fingerprint script nice
4 years ago