* Always run laikad on device!
* Update laika
* Update laika
* Fix gps week and time of week in msg
* Reset kalman filter if pos_fix or last_known_position
* put behind file
* move pr parsing into common file
Co-authored-by: Willem Melching <willem.melching@gmail.com>
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>
* seems overkill
* not too extreme
* make linter happy
* try adding accel scale
* some tweaks
* Revert "some tweaks"
This reverts commit 58cec365da650fa653dee91c7a5cbe37b8289908.
* Revert "Revert "some tweaks""
This reverts commit 517108b5b676b4ab31bba92a9eb59afa1b3d3faf.
* stability concerns
* this works
* still works
* ugh sympy is weird, still may be not correct
* comment clean
* comment
* clarify
* fix
* unused
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan>
* 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