Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
Gijs Koning
b5aed2bf67
Simulator: Speed up process by removing second camera ( #24679 )
...
* simulator: support running wide camera only
* proper frame id
* use param name that makes more sense
* do some cleanup
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Dylan Herman
d2eef1955c
add mypy check for return-any ( #24379 )
...
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
7dffd0ac0b
calibrationd: support for not cars ( #24115 )
...
* calibrationd: support for not cars
* update refs
3 years ago
Dylan Herman
9f1c663ae2
calibrationd: add function typing ( #24018 )
3 years ago
Dylan Herman
604fefa9b1
calibrationd: remove unused arg in function ( #24004 )
3 years ago
Adeeb Shihadeh
5c3f3e44bc
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
3 years ago
Adeeb Shihadeh
8a0fc850b4
give calibrationd rt priority ( #23725 )
3 years ago
Dean Lee
e5f9af4a6e
calibrationd: Don't repeatedly call get_valid_idxs() ( #23473 )
...
* optimize
* rpy_init should be np.array
* rename to rpys
3 years ago
Dean Lee
de572c3755
calibrationd: fix indentation ( #23502 )
3 years ago
Willem Melching
8444f8267d
calibrationd: convert existing calibration to numpy ( #23494 )
...
* calibrationd: convert existing calibration to numpy
* use numpy functions
3 years ago
Dean Lee
35ec6ac1cb
use ndarray.tolist to convert numpy array to float ( #23485 )
3 years ago
Dean Lee
f6c6e34ea3
calibrationd: remove extra comma ( #23472 )
3 years ago
George Hotz
dc96d4bee7
Add More Types for mypy ( #23268 )
...
* mypy passes
* a few more
* a few in manager
* more types, will lint
* more
* simple types
* events type
* Update selfdrive/thermald/thermald.py
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
cd190dc85d
Calibrationd: check size of valid_blocks without current ( #23223 )
3 years ago
HaraldSchafer
40dcc63823
Calibrationd: don't use noisy current block ( #23222 )
3 years ago
HaraldSchafer
837823ff58
Revert "Dont use erratic current block ( #23211 )" ( #23221 )
...
This reverts commit 19335bb6a4
.
3 years ago
HaraldSchafer
19335bb6a4
Dont use erratic current block ( #23211 )
3 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
Adeeb Shihadeh
95380969ea
calibrationd: remove support for json params
4 years ago
HaraldSchafer
c92f171866
Loosen ecamera calib checks ( #20629 )
...
* relax thresholds for widecamera
* cleaner
4 years ago
Dean Lee
57fe8488ac
Qt: show current calibration values ( #20455 )
...
* show current calibration
* read calibration from capnp
* use CalStatus
* cleanup calibrationd.py
* remove import capnp
* keep json writing,remove comment
* fix test error
* cleanup
* remove test_read_saved_params
* cleanup
* write out capnp
* restore test
* clean up
* get calibration from CalibrationParams
* cleanup
* update calibration when the description is visible
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
9803d3fcdc
save calibration as JSON again
4 years ago
Adeeb Shihadeh
ee43eb552b
small calibration refactor + tests ( #2641 )
...
* calibration tests
* read from capnp
* save using cereal struct
* reset calibration if new car
* car params
4 years ago
HaraldSchafer
0b849d5a4e
only do reset if already calibrated ( #2176 )
5 years ago
HaraldSchafer
df99316621
Auto reset bad calibration ( #2151 )
...
* initial commit
* thanks pylint
* smoooooth
* cleanup
* cleaner
* switched
* always decay weight
5 years ago
Adeeb Shihadeh
74801bd216
send initial calibration packet immediately
5 years ago
Adeeb Shihadeh
e0004d0981
Reduce paramsd and calibrationd CPU usage ( #2119 )
...
* reduce paramsd cpu
* reduce calibrationd cpu usage
* calibration_helpers was mostly unused
* more calibration cleanup
* update refs
* fix thresholds in CPU test
5 years ago
HaraldSchafer
01111b3f28
remove vp everywhere ( #2122 )
...
* remove vp everywhere
* wrong dimension
* useful disclaimer
* switcheroo
* imcomplete switcheroo
* did it wrong again
* difference look small enough
* fix comment
5 years ago
HaraldSchafer
d097abeb21
Track calib spread ( #1988 )
...
* add calib spread metric
* add field
* needs to be array
* update refs
* log valid blocks too
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
Adeeb Shihadeh
df78c9d4df
remove dead lines from calibrationd
5 years ago
HaraldSchafer
637eecc2b2
save bad calib too for display ( #1678 )
5 years ago
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
5 years ago
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
5 years ago
HaraldSchafer
7ffaff029f
Calib in settings ( #1543 )
...
* test test
* yo dawg
* yo dawg 2
* yo dawg 3
* calib in ui
* no pitch and yaw
* no more drive rating
* stricter
* param is no longer a vp
* less wall of test
* less is more
* better language
* cleaner
5 years ago
Paweł Goliński
8b0ab73fef
Use Conversions in calibrationd ( #1511 )
5 years ago
HaraldSchafer
368b65e29b
angles instead of vp ( #1421 )
...
* angles instead of vo
* clean migration
5 years ago
Harald Schafer
3aab9facaa
mixed up
5 years ago
Harald Schafer
438b03d9f2
no param reads in pipeline
5 years ago
HaraldSchafer
28d8b4abac
Fallback publish calib ( #1392 )
...
* if no inputs still publish
* better
5 years ago
HaraldSchafer
a18832748c
rely on carstate to be sure ( #1363 )
...
* rely on carstate to be sure
* relies on carstate now too
* don't know how else to make this work
* update ref
* clean up hacks
* prev ref was weirdly bad?
* lets try that from my machine
Co-authored-by: Willem Melching <willem.melching@gmail.com>
5 years ago
HaraldSchafer
628e7e6968
stricter calibration requirements ( #1227 )
...
* stricter requirements
* update refg
Co-authored-by: Willem Melching <willem.melching@gmail.com>
5 years ago
Shane Smiskol
6ff881f789
initialize all messages in 1 line ( #1206 )
5 years ago
Harald Schafer
a8f2dbe727
unstable init
5 years ago
Harald Schafer
48b4a57980
needs to be array
5 years ago
Harald Schafer
ba6fd511b6
sanity clip every vp
5 years ago
George Hotz
fcf8efb826
selfdrive/locationd
5 years ago