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
YassineYousfi
7925232a34
hot coffee model ( #28296 )
...
* 1061b1c7-b944-43e3-a940-b56b64d66f54/700
* bump cereal
* bump cereal
* make mypy happy
* write TODO
* read height from written params
* fix certain_if_calib logic and unit tests
* factor moving_avg_with_linear_decay
* remove whitespace
* update model ref commit
* default value for CI
* update process replay ref commit
* update process replay ref commit
* update process replay ref commit
* bump cereal
2 years ago
Harald Schäfer
2c65b843a5
Calibrationd: allow more pitch angle ( #28255 )
...
* Calibrationd: allow more pitch angle
* Update ref_commit
2 years ago
Harald Schäfer
598343aad1
Calibrationd: make recalibrating alert ( #28149 )
...
* Initial
* fixes
* not an int anymore
* elif
* revert ref
* update ref
* fix alert text
* regen refs
* update ref
* add recalibration unit test
* set into recalibration state
* fix words
* recalib
* text
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Harald Schäfer
a979a54cf9
Calibration remount detector: soft disable ( #27993 )
...
* Calibration remount detector: soft disable
* Update test_calibrationd.py
2 years ago
Harald Schäfer
ee15d6b1d1
Calibrationd: fix reset smoothing ( #27992 )
...
* Add test for smoothing
* fix smooth cycles
* fix calib reset smoothing
2 years ago
HaraldSchafer
dbc30c053c
UI: fade into wide camera ( #26203 )
...
* UI: fade into wide camera
* handle routes with no wide calib
* more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
15595fc859
Calibrationd: Calibrate wide from device ( #26204 )
...
* Use calibrator to stabilize wide transform
* Need array
* Needs init
* Needs to be arr
* publish mshg
* Check size
* Update ref
* fix calibration param read when no wide calib
* need self!
3 years ago
Bruce Wayne
75b7fd0a7d
Revert "Use calibrator to stabilize wide transform ( #26201 )"
...
This reverts commit 42ef62e391
.
3 years ago
HaraldSchafer
42ef62e391
Use calibrator to stabilize wide transform ( #26201 )
...
* Use calibrator to stabilize wide transform
* Need array
* Needs init
* Bump to master
* Needs to be arr
* publish mshg
* Check size
* Update ref
3 years ago
HaraldSchafer
772b748689
Cleanup calibration code ( #25119 )
...
* First attempt
* worksish
* tests pass
* cleanup
* get rid of garbahe
* fix name
* Still used in xx
* add debug functions
* used
* Revert "used"
This reverts commit 276e8ebab06d2d4f0e9927ba32b7d8aca2bf88c3.
* Update ref
3 years ago
Willem Melching
de0c12e5af
calibrationd: start faster by not waiting for carParams ( #24976 )
...
* calibrationd: start faster by not waiting for carParams
* fix process replay
* update ref
3 years ago
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