Commit Graph

28 Commits

Author SHA1 Message Date
Willem Melching
c18e7da3c2 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
2020-06-09 16:44:26 -07:00
Adeeb
367155168a Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

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

* cleanup in progress

* done cleaning up

* no opendbc
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
f3dcf861c7 enable flake8 E303: too many blank lines 2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
Willem Melching
8ea8f405db add gpsOK flag to liveLocationKalman 2020-05-27 15:14:13 -07:00
Willem Melching
8f3e932f96 Locationd fixes 2020-05-20 14:18:28 -07:00
Willem Melching
d099e09fb7 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
2020-05-19 16:45:20 -07:00
HaraldSchafer
81686547cc 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
2020-05-17 20:59:53 -07:00
Harald Schafer
273e81715a xRevert "way cleaner"
This reverts commit a4ffd8c226.
2020-05-15 14:29:34 -07:00
Harald Schafer
a4ffd8c226 way cleaner 2020-05-15 14:24:11 -07:00
Willem Melching
28bf5d1dd8 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
2020-05-14 15:36:56 -07:00
George Hotz
1295cfe06c 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>
2020-05-02 12:07:34 -07:00
Willem Melching
12af1f9175 Refactor locationd message building 2020-04-21 17:13:54 -07:00
Harald Schafer
cc5b9b32bf better nothing than wrong 2020-03-24 11:01:41 -07:00
Harald Schafer
82f316732a correctness is expensive 2020-03-23 18:02:59 -07:00
Harald Schafer
bcbcd96d92 need sqrtsd 2020-03-18 15:23:59 -07:00
Shane Smiskol
6ff881f789 initialize all messages in 1 line (#1206) 2020-03-05 17:32:52 -08:00
HaraldSchafer
24eeec4e0b 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
2020-03-05 15:59:49 -08:00
Willem Melching
ff91c6f9d4 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
2020-02-17 18:07:23 -08:00
Comma Device
76b3dca208 more decimation 2020-02-13 23:54:45 +00:00
Harald Schafer
4470407729 better packet info 2020-02-13 11:12:16 -08:00
Harald Schafer
579a9714da no delay buffer for now 2020-02-12 10:31:15 -08:00
Harald Schafer
1a1f1182d7 more fixes 2020-02-10 19:53:43 -08:00
Willem Melching
31794a3d10 WIP: Live localizer (#1074)
* cleanup

* Proper exception handling

* Also check sensor number
2020-02-10 19:06:23 -08:00
Harald Schafer
59728ebca6 fix imports 2020-02-10 15:38:17 -08:00
Harald Schafer
dcb14dd830 get ready for live localizer 2020-02-10 15:28:23 -08:00
George Hotz
fcf8efb826 selfdrive/locationd 2020-01-17 11:39:56 -08:00