Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
cl0cks4fe
dd9d5d4528
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
11 months ago
Harald Schäfer
2162d149e8
calibrationd: Pitch spread different tolerance ( #30065 )
...
* calibrationd: Pitch spread different tolerance
* Improve calibrationd tests
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
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
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
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
Harald Schäfer
dab9c55d38
Calibrationd: unit tests ( #27988 )
...
* Add calibrationd unit tests
* more tests
2 years ago
Willem Melching
8444f8267d
calibrationd: convert existing calibration to numpy ( #23494 )
...
* calibrationd: convert existing calibration to numpy
* use numpy functions
3 years ago
Adeeb Shihadeh
f7cf66867b
remove test too
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