Adeeb Shihadeh
72d7ada7e4
controlsd: deprecate startMonoTime ( #33445 )
...
* controlsd: deprecate startMonoTime
* update refs
old-commit-hash: 04eb73e4a1
8 months ago
Cameron Clough
9bd90112d0
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
old-commit-hash: 995250ae49
1 year ago
Justin Newberry
414d4cd8d0
compare_logs: separate format_process_diff into a new function ( #30284 )
...
support separate
old-commit-hash: b86567d330
2 years ago
Justin Newberry
f2dcaf6f79
compare_logs: better names for short/long diffs ( #30263 )
...
* better names
* dont need that
* those too
old-commit-hash: def2b93895
2 years ago
Shane Smiskol
338987a5d2
scripts: format diff when comparing logs ( #30174 )
...
* move format diff to compare_logs to pretty print
* smaller
old-commit-hash: a1ca5dc484
2 years ago
Adeeb Shihadeh
16ec56398c
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
old-commit-hash: a9626f95b6
2 years ago
Harald Schäfer
92d1e3fabb
Proc replay: field tolerance unused ( #29479 )
...
field tolerance unused
old-commit-hash: 1dea20e574
2 years ago
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183
2 years ago
Adeeb Shihadeh
9b8d86e562
process replay: remove sorting before comparison ( #29072 )
...
* process replay: remove sorting before comparison
* keep ignore msgs
old-commit-hash: 716d0d5918
2 years ago
Kacper Rączy
2edd65ad4e
process_replay: helpers ( #28367 )
...
* process_replay helper
* Refactor
* refactor check_enabled uses
* fix __init__
* noqa in __init__ imports
* Move compare_logs outside of process_replay
* Move save_logs to tools.lib.helpers
* Remove save_log from compare_logs
* fix lint issues
old-commit-hash: 64377a88f9
2 years ago
Kacper Rączy
dd70d2bdf3
process_replay: drain sockets instead recv_one ( #28161 )
...
* Drain the sockets until the next cycle in python process replay
* Add waiting mechanism to native process replay, which mimics the syncing
* Sort logs when comparing them. Drain all the sockets instead of only recv_socks.
* Reverse the retrieval order of FakeSocket
* Change pub order for torqued
* Update ref commit
old-commit-hash: 12b3ffcc49
2 years ago
Kacper Rączy
ca32ac861b
process_replay: sort logs before comparing them ( #28201 )
...
* Sort logs before comparing them in process replay
* Simplify
old-commit-hash: 504768f922
2 years ago
Adeeb Shihadeh
44098cc024
navmodel: check images in replay test ( #26747 )
...
* move position
* log images
* enable test
* update refs
* ignore
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f3a711953a
2 years ago
Adeeb Shihadeh
01db07375c
nav model replay ( #26697 )
...
* nav model replay
* set token
* fix gh actions
* update refs
* fix pc
old-commit-hash: 1da6f6a6e2
2 years ago
HaraldSchafer
a8ec6f4cfd
Rocket Launcher Model ( #25963 )
...
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300
* compute only 9 tokens: 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/300
* tinygrad: cleanup gather
* 1456d261-d232-4654-8885-4d9fde883894/440 6b7d7cec-ead8-40f3-86cc-86d52c9b03fe/700
* empty commit for tests
* bump tinygrad
* dont use tinygrad matmul for now
* bump tinygrad
* 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* float16 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700
* increase steer rate cost
* Revert "increase steer rate cost"
This reverts commit 74ce9ab9be7ef17ecfec931f96851b12f37f2336.
* fork tinygrad
* empty commit for tests
* basics
* Kinda works
* new lat
* new tuning
* Move LATMPCN so scons compiles
* Update long weights
* Add tinygrad optim
* Update model ref
* update weights
* Update ref
* Try
* Error message for field ignore
* update model regf
* ref commit
* Fix onnx test
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: cb0b7375b7
3 years ago
Gijs Koning
a1143bafc8
Replay: tolerances per field ( #25116 )
...
* tolerances per field in replay
* refactor
* Remove laikad parameters
* Small comment change
old-commit-hash: 4d7b7483d7
3 years ago
Lukas Petersson
d1e21cef79
process replay: support running in parallel ( #24534 )
...
* prefix params
* set env
* prefix in manager
* filesystem except
* dont delete manager folder
* Update selfdrive/common/params.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* debug same path
* remove cleanup + same default
* dont use filesystem lib
* param symlink path
* prefix helpers
* path
* dont delete d
* parallel loop
* refactor loop
* msgq
* clean msgs
* spelling
* nestable pool
* spelling
* logreaders in parallel
* bugfix
* assert msgq
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* assert in cereal
* folder exists
* create dirs in test
* bump cereal
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* PR feedback
* params path in basedir
* ref commit
* param path
* bugfix
* upload_only
* param path
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* msgq path name
* python concurrency.features
* progress bar
* remove progress bar from compare logs
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* defaultdict
* context manager
* update refs
* dont get logs if upload only
* upload refs in parallel
* cleanup
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* cleanup
* text
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 444d265821
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
Willem Melching
179f5ac2e7
compare_logs: catch typeError ( #23632 )
...
old-commit-hash: 5ac32705d0
3 years ago
Adeeb Shihadeh
14dbd6b1f5
process replay: handle inf and nan in absolute tolerance
...
old-commit-hash: 9941c99f7c
3 years ago
Ewout ter Hoeven
f206ebd054
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>
old-commit-hash: 332f568a82
3 years ago
grekiki
9e4cc1f7ff
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>
old-commit-hash: 6951b3271d
3 years ago
Adeeb Shihadeh
ec7913cbe5
delay controls start ( #20761 )
...
* delay controls start
* shouldn't need this stuff anymore
* only delay board
* bail after 2s
* fix loopback test
* fix process replay
* update refs
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f9a961f6fb
4 years ago
Willem Melching
d8da956f0d
speed up log writing
...
old-commit-hash: f728edfd03
4 years ago
Adeeb Shihadeh
f562fdb059
add modelV2 to model replay ( #2725 )
...
* add modelV2 to model replay
* update refs
* ignore fields for modelv2
* execution time
* fix compare logs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8992639754
4 years ago
grekiki
83b7ec3ce1
Process replay for C++ daemons ( #2288 )
...
* more like a stash
* mem
* comment cpp
* remove some tests
* WORKSpython test_processes.py python test_processes.py
* all tests work, time to clean up
* initialize cleanup
* fix spaces
* refactor
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert debug change
* mini refactor
* remove submaster
* update README
* add delay
* check for missaligned start
* Update compare_logs.py
* should finally work now, I hope...
* update comment
* real fix
* real fix now
* fix styling
* fix styling
* Update process_replay.py
* fix code review
* speed up tests
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* fix reviews
* nicer code
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 870644b59e
5 years ago
HaraldSchafer
bc3b340694
Misc locationd improvements ( #1714 )
...
* I like this more
* rewind less
* bump rednose
* falling off windshield detectopr
* adjust thresholds
* this is a soft disable now
* move that
* process replay fixes
* update refs
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8e2d344135
5 years ago
Willem Melching
dcef0e394b
add tolerance to process replay compare ( #1904 )
...
old-commit-hash: 5139b827af
5 years ago
Willem Melching
76a465e0ec
Write orientation & transform in C++ ( #1637 )
...
* locationd at 20hz
* update ref
* bump cereal
* dont modify global state
* add scons files
* ecef2geodetic and geodetic2ecef
* Finish local coords class
* Add header file
* Add orientation.cc
* cleanup
* Add functions to header file
* Add cython wrapper
* y u no work?
* This passes the tests
* test rot2quat and quat2rot
* Teste euler2rot and rot2euler
* rot_matrix
* test ecef_euler_from_ned and ned_euler_from_ecef
* add benchmark
* Add test
* Consistent newlines
* no more radians supported in geodetic
* test localcoord single
* test localcoord single
* all tests pass
* Unused import
* Add alternate namings
* Add source for formulas
* no explicit tests needed
* remove benchmark
* Add release files
* Typo
* Remove print statement
* no access to raw transform matrix
* temporarily add tolerance
* handcode quat2euler
* update ref
old-commit-hash: c18e7da3c2
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a40
5 years ago
Willem Melching
2b60ee9531
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
old-commit-hash: 3d08dcc3b2
5 years ago
Willem Melching
e78cad8989
add progress to save_logs
...
old-commit-hash: 78c1745ed5
5 years ago
Adeeb
c6f9b68ef9
Process replay enhancements ( #1153 )
...
* process replay: exclude processes and cars
old-commit-hash: 796d5c8cca
5 years ago
George Hotz
06a02fd8bd
selfdrive/test
...
old-commit-hash: c0bfbc12c7
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
6 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
dfe603c178
openpilot v0.6.4 release
...
old-commit-hash: 61229779e4
6 years ago
Vehicle Researcher
02cedeadd9
openpilot v0.6.3 release
...
old-commit-hash: d5f9caa82d
6 years ago