Commit Graph

31 Commits

Author SHA1 Message Date
Willem Melching 08fa4c4691 Locationd: only process valid log messages (#1761)
old-commit-hash: bfeefb6fd3
2020-06-22 14:41:15 -07:00
Willem Melching 6dc1c6e58e cleanup no sensor data alert (#1760)
old-commit-hash: 264015c584
2020-06-22 14:27:07 -07:00
HaraldSchafer c26f15d608 need to do something about the valid (#1713)
old-commit-hash: 2afe224813
2020-06-15 17:20:31 -07:00
Willem Melching 76a465e0ec Write orientation & transform in C++ (#1637)
* locationd at 20hz

* update ref

* bump cereal

* dont modify global state

* add scons files

* ecef2geodetic and geodetic2ecef

* Finish local coords class

* Add header file

* Add orientation.cc

* cleanup

* Add functions to header file

* Add cython wrapper

* y u no work?

* This passes the tests

* test rot2quat and quat2rot

* Teste euler2rot and rot2euler

* rot_matrix

* test ecef_euler_from_ned and ned_euler_from_ecef

* add benchmark

* Add test

* Consistent newlines

* no more radians supported in geodetic

* test localcoord single

* test localcoord single

* all tests pass

* Unused import

* Add alternate namings

* Add source for formulas

* no explicit tests needed

* remove benchmark

* Add release files

* Typo

* Remove print statement

* no access to raw transform matrix

* temporarily add tolerance

* handcode quat2euler

* update ref
old-commit-hash: c18e7da3c2
2020-06-09 16:44:26 -07:00
Adeeb 9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
2020-06-03 16:13:34 -07:00
Willem Melching a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72f
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh 9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c7
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e
2020-05-31 12:49:11 -07:00
Willem Melching 03a268fd0b add gpsOK flag to liveLocationKalman
old-commit-hash: 8ea8f405db
2020-05-27 15:14:13 -07:00
Willem Melching 47c5f52067 Locationd fixes
old-commit-hash: 8f3e932f96
2020-05-20 14:18:28 -07:00
Willem Melching 6e41973c3c Handle posenet and sensor alerts in locationd (#1541)
* handle posenet and senor alerts in locationd

* defaults now set in capnp file

* Cleanup c++ version of params learner

* update ref commit
old-commit-hash: d099e09fb7
2020-05-19 16:45:20 -07:00
HaraldSchafer e21bbf8bbd Locationd cleanup (#1517)
* 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
old-commit-hash: 81686547cc
2020-05-17 20:59:53 -07:00
Harald Schafer 99d9c3651c xRevert "way cleaner"
This reverts commit b8d13b1b44c6d33cb8209aac7fa65a269d8892b9.

old-commit-hash: 273e81715a
2020-05-15 14:29:34 -07:00
Harald Schafer 696fd01f9d way cleaner
old-commit-hash: a4ffd8c226
2020-05-15 14:24:11 -07:00
Willem Melching 8f71de0dbe Rednose (#1503)
* 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
old-commit-hash: 28bf5d1dd8
2020-05-14 15:36:56 -07:00
George Hotz 6fbcde48e5 Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06c
2020-05-02 12:07:34 -07:00
Willem Melching 8a23af0dce Refactor locationd message building
old-commit-hash: 12af1f9175
2020-04-21 17:13:54 -07:00
Harald Schafer 6f97b0c21e better nothing than wrong
old-commit-hash: cc5b9b32bf
2020-03-24 11:01:41 -07:00
Harald Schafer afe66c742e correctness is expensive
old-commit-hash: 82f316732a
2020-03-23 18:02:59 -07:00
Harald Schafer 83ea66cbfb need sqrtsd
old-commit-hash: bcbcd96d92
2020-03-18 15:23:59 -07:00
Shane Smiskol 682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f789
2020-03-05 17:32:52 -08:00
HaraldSchafer b038c1f93b Locationd packet (#1204)
* initial

* add desire

* initial

* some progress

* fill in, untests

* add timestamping

* fixes

* unix timestamp

* no debug print

* cleanre

* normal syntax

* no laika

old-commit-hash: 24eeec4e0b
2020-03-05 15:59:49 -08:00
Willem Melching e7a1ece98f Run locationd online (#1089)
* 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

old-commit-hash: ff91c6f9d4
2020-02-17 18:07:23 -08:00
Comma Device 6be9fa3287 more decimation
old-commit-hash: 76b3dca208
2020-02-13 23:54:45 +00:00
Harald Schafer fd44a0f698 better packet info
old-commit-hash: 4470407729
2020-02-13 11:12:16 -08:00
Harald Schafer 0f8201cd91 no delay buffer for now
old-commit-hash: 579a9714da
2020-02-12 10:31:15 -08:00
Harald Schafer 1454570e11 more fixes
old-commit-hash: 1a1f1182d7
2020-02-10 19:53:43 -08:00
Willem Melching d6b7005d64 WIP: Live localizer (#1074)
* cleanup

* Proper exception handling

* Also check sensor number

old-commit-hash: 31794a3d10
2020-02-10 19:06:23 -08:00
Harald Schafer 2d69a5a335 fix imports
old-commit-hash: 59728ebca6
2020-02-10 15:38:17 -08:00
Harald Schafer 9b1ba6011f get ready for live localizer
old-commit-hash: dcb14dd830
2020-02-10 15:28:23 -08:00
George Hotz dda315bcc8 selfdrive/locationd
old-commit-hash: fcf8efb826
2020-01-17 11:39:56 -08:00