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>
* modify reset logic
* remove debug statements
* use ecef pos and vel covariances during reset
* reset orientations initialized to 0,0,GPSbearing
* refactor nav fix
* add fake gps observations to control ecef pos and ecef vel std
* replace fake_P with individual fake cov
* set gps mode flag
* add gps invalid flag names
* update refs
* more accurate gps accuracy check + update refs
* add no gps observations
* use correct ecef_location, orientation vals and stds for nogps states
* remove earth radius obs
* move initial loc to the ocean
* remove unnecessary changes
* update refs
* fix std transform
* 100Hz
* new ref
* no more decimation
* clean up confusing maths
* static typing
* Revert "static typing"
This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.
* 100Hz costs more
* move normalization into core
* add quat idxs
* add big eps
* this is not safe in the filter
* more sensible
* updates to rednose
* not tested
* normalize in python too
* update rednose
* nan check
* check for infs too
* all should be finite
* update ref
* rednose pr now in master
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
* live_kf to c++
* first locationd code
* Running in process_replay
* locationd handle cam_odo and live_calib
* log event handlers
* working message receiving
* compiling message sending
* correctly sending some messages
* correct receiving and sending
* update ref_commit with some all_alive_and_valid being false, minor fixes
* fix std abs
* linking on device fix
* fix cpu usage test
* generate kf constants and defines
* fix replay test
* replay without acks, cleanup
* operate on bytearray messages
* cleanup
* send msg fix
* small sleep, less flaky test
* remove python locationd
* review feedback
* bump rednose
* Locationd live_kf using c++ kalman filter
* use both cpp and python live_kf to compare
* Locationd using ekfsym cpp
* Paramsd using c++ ekf_sym
* Other building method
* Cleanup
* cleanup
* Single sconscript for rednose and locationd/models
* CI
* CI
* CI fix
* renamed scons config
* Fix lib loading
* bump rednose
* update cpu usage test
* 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>
* way cleaner take 2
* cleanup
* be more relaxed
* just let it be
* don't drive backwards or upside down
* do this more
* vNED sometyimes invalid
* use reasonble stds
* stability in nonlinear zone
* previous metrics were without publishing
* add rednose
* update rednose
* This compiles
* Add rednose to release
* cleanup
* Extract generated dir as argument
* Add constants.py to release
* Add rednose to dockerfile
* Fix that
* add locationd to manager
* add to release files and make linter happy
* Don't ship all models
* Also add locationd.py
* Remove unused import
* Fix import in kalman helpers
* start cleanup
* create generated dir if not exist
* tests pass!
* everything works again
* also convert live_kf to new structure
* Remove sympy helpers from file list
* Add laika to docker container
* Only build models that are present