Commit Graph

14 Commits

Author SHA1 Message Date
Uku Loskit 3ad6816953
Convert tests to use pytest instead of unittest (#43)
* Convert tests to use pytest instead of unittest

* Augment PYTHONPATH for pytest via pyproject.toml

* cleanup

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-07-10 00:36:23 +00:00
Cameron Clough c5762e8bc6
use pyupgrade to update typing syntax (#40)
* update ruff

* add pyupgrade hook

* fix deprecated ruff config

* update syntax with pyupgrade (pre-commit run -a)

* ruff --fix

* remove hook
2024-02-24 15:54:03 -08:00
Kacper Rączy 44e8a891a2
Load model libraries at runtime in cython ekf (#37)
* RednoseCompileFilter tool

* Refactor sconscripts

* Move lst_sq and feature_handler to examples

* add ekf_load_code_if_needed

* Fat binary for cython ext

* Restructure. Remove common_ekf. Load libs at runtime

* Build compatibility with openpilot

* ekf_lib_init

* Fix styling issues

* Fix linker flags for mac

* Remove useless pyx imports

* Build static lib instead of shared

* newlines

* Remove lst_sq_computer and feature_handler
2023-11-21 21:00:57 -08:00
Justin Newberry e32658ed91
remain compatible with other submodules (#35)
* Revert "propogate ruff (#33)"

This reverts commit 75f545a5e1.

* readd config

* fix ruff

* revert that
2023-08-29 15:51:37 -07:00
Justin Newberry 75f545a5e1
propogate ruff (#33) 2023-08-17 13:39:46 -07:00
Adeeb Shihadeh 3689d817d4
bump to python 3.11.4 (#27)
* bump to python 3.11.4

* Update requirements.txt

* lint

* revert

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-06-27 15:40:10 -07:00
Gijs Koning a79a87300a
Rename cython EKF_sym (#23)
* rename cython ekf_sym

* Make unittest
2022-06-27 10:26:22 -07:00
Joost Wooning a0eb4d249e
EKF_sym class rewritten to c++ (#9)
* EKF sym (for live_kf only) in c++

* Cython wrapper for EKFSym in cpp

* Linking cython wrapper

* Compiling with eigency

* Non failing version

* Correct passing data from Eigen to numpy

* Working for locationd without rewidning

* Rewinding

* Fixed relative imports

* Pass data by reference

* Dynamic shared lib loading

* Both working python and c++ ekfsym

* Fixed names

* Naming error

* set globals

* Work with paramsd

* Fixed working on paramsd

* Added test to compare ekf_sym_py and ekf_sym_pyx

* Fixed imports

* Dockerfile fix

* Cleanup

* cleanup

* CI fixes

* No longer use output parameters

* CI

* Single sconscript for rednose and locationd/models

* cleanup

* CI fix

* removed unimplemented functions from header

* loading functions

* header file generation

* code generation fix

* formatting
2021-04-08 13:08:58 +02:00
Willem Melching 348446f1a9 run static analysis in CI 2020-05-28 16:06:03 -07:00
Willem Melching 6e2de5dcb0 Add picture 2020-05-15 15:24:12 -07:00
Willem Melching 36867cb5b3 remove unused constant 2020-05-15 15:21:29 -07:00
Willem Melching a91d0fc9b6 add kalman filter base class 2020-05-15 15:18:22 -07:00
Willem Melching c0493e1dee add kinematic example and test 2020-05-15 15:14:49 -07:00
Willem Melching f9d3744670 initial commit 2020-05-13 15:02:19 -07:00