Kacper Rączy
236dffe400
locationd no GPS ( #33029 )
...
* Pose kf draft
old-commit-hash: 17dd4d576e597792f0e18826498c00076739f92b
* Fix it
old-commit-hash: 13ac120affe58fd22e871586ea5f4d335b3e9d2b
* Add translation noise
old-commit-hash: 166529cb612858c4ce80649367ac35b2b6007e1d
* Add gravity to acc
old-commit-hash: 8fcfed544b8e090ccc86b189c13bc03c6c190613
* Use pyx
old-commit-hash: 8e69e0baa0a4c43b4d0c22535711f296f05420aa
* Indent
old-commit-hash: 25b19a73644cdcb571ccf1a1d8acb88a0d066c67
* Reset function
old-commit-hash: ca5d2736da15e4fd6539f7268133320735b7c9cc
* Add device_from_ned and ned_from_device transformations
old-commit-hash: a60d25da0edc311e583549dc015fa595749fd4ae
* Fix rotations
old-commit-hash: d6d582f7f6d19a2bc2308dbcb0c9f81363e325b6
* kms
old-commit-hash: 681bc4e50374795ccc61422c3ce4ffb51389fce2
* Centripetal acceleration
old-commit-hash: 6e574506d27e5b76a04b2097d94efa4ca91ead71
* Rewrite draft
old-commit-hash: 4a2aad0146267460e5d30036c8cdb2bef94d1d7c
* Remove old locationd stuff
old-commit-hash: c2be9f7dbf22fb5cd29e437cd7891a7d52266fba
* Python process now
old-commit-hash: 83fac85f28c0b546b6965aafe1dd8a089e67f5b3
* Process replay fix
old-commit-hash: c44f9de98583c49dad0b22497869b3bb0266fcd9
* Add checks for timing and validity
old-commit-hash: aed4fbe2d00ca620e01a0e0ee99a4871c939de36
* Fixes
old-commit-hash: 3f052c658c16984a34915f38afdfbfd0fb19a267
* Process replay config fixes
old-commit-hash: 1c56690ee7ceb3c23c9ec2b2713352191212716e
* static analysis fixes
old-commit-hash: 6145e2c140ea9aa97e75069c3ddd82172cadc866
* lp in latcontrol
old-commit-hash: 9abf7359d68e794c69052724f3aca14b04dd3cca
* Fix SensorEvent name for acceleration
old-commit-hash: 91a1ad6c604727c9c898ba4aefe9478022b167fd
* Ignore sensor readings from segments with multiple imus
old-commit-hash: 1f05af63d6cc605ea98d7da0d727a5bd8d7819b0
* Update shebang
old-commit-hash: e3f2f5c10df3a4ba698421335bfeffc63d1a8797
* Replace llk with lp
old-commit-hash: 99b6c7ba08de6b703708fef0b8fd2d8cb24b92c0
* Refactor locationd scenario test
old-commit-hash: 7f5f788f071b7647e36f854df927cc5b6f819a84
* Add more debugging tools
old-commit-hash: 8d4e364867e143ea35f4bfd00d8212aaf170a1d1
* Param name update
old-commit-hash: 5151e8f5520f067e7808e3f0baa628fbf8fb7337
* Fix expected observations
old-commit-hash: d6a0d4c1a96c438fb6893e8b6ff43becf6061b75
* Handle invalid measurements
old-commit-hash: 549362571e74ad1e7ec9368f6026378c54a29adf
* Fix spelling
old-commit-hash: eefd7c4c92fb486452e9b83c7121d2599811852b
* Include observations in debug info too
old-commit-hash: 625806d1110b3bffe249cd1d03416f2a3f2c1868
* Store error instead of expected observation
old-commit-hash: 1cb7a799b67e56af4eddc6608d5b0e295f2d888c
* Renames
old-commit-hash: a7eec74640fc5cc7a5e86172d2087b66cb93d17d
* Zero the yaw
old-commit-hash: 96150779590fcb8ac50e8ffe8f8df03105983179
* New state_dot for orientation
old-commit-hash: c1456bf3a0c5af2f888aa6ff0b5ffc2e5516ddf7
* Fix the state transformations
old-commit-hash: 7cb9b91e2f99caa4ac3fb748c7f23bb8bf9f65db
* Update process in test_onroad
old-commit-hash: 854afab7c39ca7dec2b42974cecbb5310b82b617
* Test polling on cameraOdometry
old-commit-hash: a78e8b7d61618177f15c9892e2fa1e51620deca8
* Keep the copy of x and P returned from predict
old-commit-hash: 3c4159a6a7d7383265a99f3f78f8805d2fcfc8cd
* Remove polling again
old-commit-hash: f7228675c5fd2de5f879c4786859f1abcec27d68
* Remove locationd.cc
old-commit-hash: d7005599b2b178e688c3bd1959d6b69357d3a663
* Optim in _finite_check
old-commit-hash: 58ad6a06b9380960e9f69eb98663ddb97461e8d5
* Access .t once
old-commit-hash: d03252e75ed4cbdb49291a60c904568e6a3d3399
* Move the timing check to cam odo code path
old-commit-hash: 6a1c26f8c201e1feb601753f0cb7299cf981b47e
* Call all_checks only once
old-commit-hash: 373809cebf8d9db89d1ab00f4c8c933f33038e78
* Do not sort
old-commit-hash: 2984cd02c0ab76827b8c7e32f7e637b261425025
* Check sm.updated
old-commit-hash: 11c48de3f0802eb4783899f6a37737078dbf2da4
* Remove test_params_gps
old-commit-hash: 82db4fd1a876cc2402702edc74eba0a8ac5da858
* Increase tolerance
old-commit-hash: 927d6f05249d2c8ec40b32e2a0dcde8e1a469fb3
* Fix static
old-commit-hash: 2d86d62c74d5ac0ad56ec3855a126e00a26cd490
* Try separate sockets for sensors
old-commit-hash: 5dade63947ab237f0b4555f45d941a8851449ab1
* sensor_all_checks
old-commit-hash: e25f40dd6b37ee76cd9cc2b19be552baf1355ec3
* Fix static
old-commit-hash: 328cf1ad86079746b4f3fde55539e4acb92d285e
* Set the cpu limit to 25
old-commit-hash: 7ba696ff54c5d3bfa42e42624d124f2a1914a96d
* Make it prettier
old-commit-hash: cd6270dec80d8b9dac784ddd4767a1a46bcff4b7
* Prettier
old-commit-hash: 1b17931d23d37f299dad54139eaf283a89592bf5
* Increase the cpu budget to 260
old-commit-hash: 20173afb937a2609c8a9905aee0b2b093cb8bba4
* Change trans std mult. 2 works better
* Update ref commit
* Update ref commit
8 months ago
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810
11 months ago
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cf
11 months ago
cl0cks4fe
639a634f7c
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>
old-commit-hash: dd9d5d4528
12 months ago
Adeeb Shihadeh
6bf5c62155
add hasFix field to gpsLocation ( #31778 )
...
* add hasFix field to gpsLocation
* migration
* update refs for ubloxd
* cereal master
old-commit-hash: a0389d7120
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb
2 years ago
Justin Newberry
8062f1636e
Tests: speedup locationd ( #29776 )
...
* speedup locationd
* bump cereal
old-commit-hash: dcea56bcf3
2 years ago
Harald Schäfer
3a28e97a95
Revert: Locationd: enable laikad ( #29687 )
...
* Revert: Locationd: enable laikad
* update ref
old-commit-hash: 55b391509d
2 years ago
Harald Schäfer
bc017ab936
Locationd: enable laikad ( #29570 )
...
* experiment
* llk back
* update refs
* update ref
* no internet
* Update ref
old-commit-hash: 8205590624
2 years ago
Harald Schäfer
a967592f8f
Revert laikad llk ( #29535 )
...
* Revert "bump laika (#29522 )"
This reverts commit 19ab859e302d52b4f1667f05543ac622ad259e57.
* Revert "Locationd: switch to laikad (#29278 )"
This reverts commit 5dda7be8ac08ef6b51283eda74569517bba905f6.
old-commit-hash: fda3106c28
2 years ago
Harald Schäfer
0174c5f21c
Locationd: switch to laikad ( #29278 )
...
* use_laika
* Update test
* fix spacing
* fix proc replay
* small fix
* Try correct std
* cast correctly
* experimental
* simpler
* update reset thresholds
* improve
* Ready for live running
* outlier reject
* update laika
* add fine speeds
* more experiments
* fixes
* all in laika
* more small tweaks
* outlier rejection not needed
* fix conflict
* no more gpslocation
* update test
* refactor to laika
* runs again
* Update ref
old-commit-hash: fd3b8a3d75
2 years ago
Adeeb Shihadeh
16ec56398c
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
old-commit-hash: a9626f95b6
2 years ago
Adeeb Shihadeh
e31cf1fe9e
locationd: speedup unit tests ( #29262 )
...
old-commit-hash: b420e6fb13
2 years ago
Kurt Nistelberger
1cd22ead91
Revert "Add low Gnss laikad test ( #26987 )"
...
This reverts commit 453c31b007237ae5009c4a9e0bb3afa04aa12f84.
old-commit-hash: 9131da9103
2 years ago
Kurt Nistelberger
84a95cdc89
Add low Gnss laikad test ( #26987 )
...
* add low gnss test
* enable laikad
* temp fix for cache
* update replay
* save LaikadEphemeris for testing
* rem
* update refs
* add comment
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: b7ce77b3aa
2 years ago
Harald Schäfer
63efb985cd
Revert locationd to gpsLocation ( #26963 )
...
* revert locationd laika change
* switch msg
* change proc replay
* back to gpslocation
* update ref
* no np floats in msg
* Ignore empty laikad messages in mapos
* more tolerance
* c++ doesnt work like that
old-commit-hash: 4c33d94d3f
2 years ago
Kurt Nistelberger
9570336e6c
Laikad: set active ( #26850 )
...
* laikad update, renaming
* update locationd
* fix naming
* address PR comments
* upsi
* .
* draft to fix replay
* fix process relay to allow no response for messages
* final fix for process replay
* .
* bump cereal
* update process replay ref commit
* reduce wait time
* .
* last ref change
* move laikad helpers to laika
* .
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* remove left over
* revert laikad msg
* move laika back to master
* init
* fix gps valid flag
* change time
* add gnss to ignore
* remove gps_valid flag
* .
* adopt orientation reset threshold
* .
* update laikad
* .
* fix stanstill KF resets
* test orienation reset count
* update laika
* bump cereal
* fix process replay
* update laika repo
* remove handle gps
* add extra logging for cache
* .
* add more log
* .
* .
* update laika
* dont remove gps code
* inc min satellite count
* update magic vals and add acc drop
* update laika
* upsi
* rem
* bump laika
* use nav and correct
* more fixes
* use sftp
* No more glonass
* Revert "No more glonass"
This reverts commit a76124da50
.
* nump laika
* back support old ephemeris cache
* add health to ephemeris message
* bump laika
* remove print
* fix laikad tests
* clean
* remove extra log
* bump laika
* inc timeout for plotjuggler build
* rem cache clear
* .
* enable gps after checks
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 88423e25df
2 years ago
HaraldSchafer
eac9ec1570
locationd: Fix GPS sensor times with fixed offsets ( #25920 )
...
* Rewind to qcom time
* Fix test
* Typo
* init unix_time fix
* add gps sensor_time_offsets
* remove all clocks code and add todo
* :emove clocks in unit test
* update refs
* update refs
Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
old-commit-hash: b332441803
3 years ago
Adeeb Shihadeh
3e2f436d4c
auto-detect pigeon or quectel ( #25991 )
...
* auto-detect pigeon or quectel
* persistent
* fix sim
* fix process replay
* fix locationd unit tests
* fix that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01d05f66fe
3 years ago
Kurt Nistelberger
fb06d2769f
Sensor events splitup ( #25714 )
...
* PoC of reading sensors via interrupts instead of polling
* add Gyro and draft for magn
* add more functionality to gpio.cc
* change LSM gyro to interrupt
* resolve rebase conflict
* update BMX accel interrupt impl
* add interrupt collector thread to fetch in parallel
* change get_event interface to return true on successful read
* update BMX gyro interrupt impl
* update gpio.h/.cc according to comments
* address comments, rename Edgetype enum
* Edgetype to EdgeType
* update sensor interrupt interface
* add error handling, and read fd on trigger
* avoid sending empty messages
* fix build
* use gpiochip
* less diff
* gpiochip on both edges, but skip falling edge if rising edge is detected
* init last_ts with 0
* update sensord testcases
* update sensord testsweet
* test for pipeline
* readd with_process
* add null check
* move tests update to seperate PR
* sensord: improve test coverage (#25683 )
* update sensord-interrupt testsweet
* address review comments
* inc stddev threshold
* fix format string
* add version 0 check again
* relax strictness after c3 with bmx tests
* relax strictness after tests
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
* address PR comments
* fix typo
* remove 4ms limit, and skip first 0.5sec of data
* revert disable_interuppt change to destructor
* fix and remove timing skip
* make gpiochip generic
* sensord port
* change from sensorEvents to separated events
* fix gyro usage
* add splitted sensor tests
* modify debug script sensor_data_to_hist.py
* refactor get_event interface to remove sensorEvent message type
* update locationd to non sensorEvent usage
* tmp commit
* fix replay
* fix accelerometer type
* fix sensor to hist debug script
* update sensord tests to split events
* remove rebase artifacts
* port test_sensord.py
* small clean up
* change cereal to sensorEvents-splitup branch
* upate sensorEvents in regen
* fix route generation for splitted sensor events
* regen cleanUp from sensorEvents change
* .
* remove light and temp from locationd
* add generic init delay per sensor
* .
* update routes
* move bmx gyro/accel to its own channel
* adopt sensor tests to bmx channel
* remove rebase artifacts
* fix sensord test
* handle bmx not present
* add bmx sockets to regen
* .
* .
* code cleanUp
* .
* address PR comments
* address PR comments
* address PR comments
* lsm clean up
* readd sensorEvents
* rever regen.py
* .
* update replay refs
* move channels
* fix artifact
* bump cereal
* update refs
* fix timing issue
Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29d3ed2ce6
3 years ago
Adeeb Shihadeh
d9c279aea9
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
old-commit-hash: 90a4565eb2
3 years ago
Willem Melching
88a90035cf
split locationd and liblocationd tests ( #24977 )
...
* laikad: use cython version of gnss kf
* fix import error
* test liblocationd separate
* Revert "laikad: use cython version of gnss kf"
This reverts commit bdd769b955
.
old-commit-hash: b95e687782
3 years ago
grekiki
7cd23af9b1
Mypy fixes for --check-untyped-defs ( #24372 )
...
more type fixes
old-commit-hash: 17e33978cd
3 years ago
HaraldSchafer
b0444b39d2
Body cleanup + 100Hz locationd ( #24168 )
...
* use PID
* 100hz on the branch
* Better defaults
* fix int clip
* More cleanup
* Fix pid comments
* only notcar gets 100hz
* cleanup
* fix tests
* ignore
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f54e724b5d
3 years ago
Vivek Aithal
069fe1a749
locationd: Commissue fix ( #23951 )
...
* check allAliveAndValid only at filter init
* revert cereal and bugfix test
* rename filterValid to filterInitialized
* bump cereal
* correct err
* update refs
old-commit-hash: dfc1292614
3 years ago
Vivek Aithal
5bad0f4400
locationd, paramsd: Check conditions before updating kalman filters ( #23789 )
...
* update filters only when all messages are alivbe and valid
* update message valid and fix unit test
* update refs
* move check outside loop
* modify fake message fn in test
* deprecate inputsOK and resolve PR comments
* avoid double looped list comprehension
* follow import conventions
* modify paramsd valid to only be invalid in case of commIssue
* update refs
old-commit-hash: 7e6903b58f
3 years ago
Adeeb Shihadeh
1d324e09c4
skip falling device test
...
old-commit-hash: 1a6881edc6
3 years ago
HaraldSchafer
420090ffea
time checks in locationd ( #20880 )
...
* time checks
* no debug print
* correct timestamps in test
* non nan
old-commit-hash: 62e22e7eac
4 years ago
Willem Melching
4707416cdd
Locationd input sanity checks ( #20845 )
...
* Add first sanity checks on inputs
* more gps checks
* make sure test values pass sanity checks
* this localizer supports cannonball runs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: c62bb10640
4 years ago
Willem Melching
b4263a43fc
Locationd 100 Hz ( #20816 )
...
* 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>
old-commit-hash: e9db5723ef
4 years ago
HaraldSchafer
fd28911282
Revert "Locationd 100hz ( #20759 )" ( #20797 )
...
* Revert "Locationd 100hz (#20759 )"
This reverts commit 995b89e6424a7b717fb2c725a64d617fb24a1a85.
* new ref
old-commit-hash: daecf4247b
4 years ago
HaraldSchafer
cbc2cb24b7
Locationd 100hz ( #20759 )
...
* 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
old-commit-hash: 333313cf0e
4 years ago
Joost Wooning
ac03b730a4
unittests for locationd uncommon events ( #20715 )
...
* unittests for locationd uncommon events
* params test using process
* test for posenet spike
* fix library path
* move random seed to setup
old-commit-hash: 5fdcce2551
4 years ago