Commit Graph

71 Commits

Author SHA1 Message Date
Willem Melching 7d0ed178dc Kalman filter to identify vehicle parameters (#1123)
* full vehicle model simulator

* Add vehicle model

* Model compiles

* Close enough

* Simulation works

* Add fast angle offset

* Tune fast angle offset learner

* Create live service for paramsd

* Better clamping

* Fix rotation matrix

* Cleanup before merge

* move debug script to debug/internal

* revert plannerd change

* switch vehicle model to corolla

* fix valid flag

* Bigger stiffness range

* Lower process noise on steer ratio

* Tuning

* Decimation

* No maha tests

old-commit-hash: c9ecab2139
2020-02-26 16:19:02 -08:00
Adeeb 65a2c62114 Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref

old-commit-hash: e8cb6ea06a
2020-02-20 16:22:25 -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
HaraldSchafer 161a16be27 Update README.md
old-commit-hash: 8ba5ef3209
2020-02-17 17:10:24 -08:00
George Hotz 7111bd1113 Fix bugged exception in lst_sq_computer.
old-commit-hash: c4d89699d9
2020-02-13 16:35:29 -08:00
George Hotz bbdb877906 build lst_sq_computer 4 and 5
old-commit-hash: d86c7b7d15
2020-02-13 16:13:14 -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 6ee6d0a5eb fix std
old-commit-hash: 891d6cea94
2020-02-13 08:38:50 -08:00
Harald Schafer 9a46efd33a passes tests again
old-commit-hash: f72044327b
2020-02-12 20:28:02 -08:00
Harald Schafer 0a7a03600c misc cleanup
old-commit-hash: 8257c60f71
2020-02-12 15:27:13 -08:00
Willem Melching 3fed3b9ab4 Whitespace
old-commit-hash: 1716f0b11b
2020-02-12 14:32:53 -08:00
Harald Schafer f97b7b381f fix broken compilation
old-commit-hash: 5c005adc79
2020-02-12 14:26:35 -08:00
Willem Melching a42c464f7e Gnss kf whitespace
old-commit-hash: 7015a4704e
2020-02-12 14:11:50 -08:00
Willem Melching 055c58c1da Loc kf whitespace, fix phone accelerometer covariance
old-commit-hash: 965a9ae042
2020-02-12 14:08:40 -08:00
Harald Schafer e2b05dee77 no magic numbers
old-commit-hash: 2b5a8fd7af
2020-02-12 14:05:48 -08:00
Willem Melching bcecaa7c6f Live kf whitespace cleanup, fix covariance phone accel
old-commit-hash: 1de5d84a06
2020-02-12 13:47:08 -08:00
Harald Schafer 7e074cc36b bury scipy
old-commit-hash: 6823971a11
2020-02-12 13:15:57 -08:00
Harald Schafer 1c39957de6 bury scipy for now
old-commit-hash: a8261c8017
2020-02-12 13:13:17 -08:00
Harald Schafer 0f8201cd91 no delay buffer for now
old-commit-hash: 579a9714da
2020-02-12 10:31:15 -08:00
Willem Melching 197c1d92fc Kalman filter compilation cleanup (#1080)
* 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

old-commit-hash: 47fd50ca60
2020-02-12 09:40:28 -08:00
HaraldSchafer d5ddfa2807 Update README.md
old-commit-hash: 5e675bd563
2020-02-11 19:19:42 -08:00
HaraldSchafer c46d2c3496 rough readme draft
First pass at readme
old-commit-hash: 8df126cd65
2020-02-11 19:19:25 -08:00
Harald Schafer 3ccfded2f5 IMPORTANT CHECK
old-commit-hash: 871d5b3c99
2020-02-11 17:41:02 -08:00
Harald Schafer 459d5cc968 fixes!
old-commit-hash: 980ef2a930
2020-02-11 17:39:08 -08:00
Willem Melching 4bfe88a31a loc_local is dead
old-commit-hash: 8d4dda391c
2020-02-11 15:37:40 -08:00
Harald Schafer 55f8cb62d4 ignore
old-commit-hash: 45dea449c5
2020-02-11 10:29:49 -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
Willem Melching b26d45ce04 remove old locationd stuff
old-commit-hash: 64a2d0c3e9
2020-02-10 16:20:43 -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
Harald Schafer 9d76270304 live kalman
old-commit-hash: 4212b7f91c
2020-02-07 16:53:50 -08:00
robbederks 193ee1ac01 Added hw status to ublox test scripts and ubloxGnss packet (#1054)
* Added hw status to ublox test scripts and ubloxGnss packet

* Added extra config to boardd

* Implemented new ublox message handler in ubloxd

* Fixed debug text

* Added some explanation and cereal bump

old-commit-hash: d0c1f9a864
2020-02-05 11:12:03 -08:00
Harald Schafer 54f5e6a499 make it converge within 1min
old-commit-hash: fe250d6a9e
2020-02-03 13:24:33 -08:00
Willem Melching 4b16ee9911 Fix bias state number in paramsd too
old-commit-hash: 64feca5692
2020-02-03 12:47:04 -08:00
Harald Schafer cf1f427ea3 fix
old-commit-hash: 1db7b43870
2020-02-03 12:45:12 -08:00
Willem Melching 8c318e807f Remove unused states from locationd yawrate kalman filer
old-commit-hash: a53577ed35
2020-02-03 12:23:41 -08:00
George Hotz b846f88ade Support scons build on Mac (#1034)
* fix clock and add Darwin sconstruct

* it builds, this changes should be simplifications too

* fix boardd build

* that's the real type of EGLClientBuffer

* remove extra lines

* ui needs opencl on phone

old-commit-hash: f72f78f2b9
2020-02-01 23:36:50 -08:00
Harald Schafer 6adaf324b2 needs to be array
old-commit-hash: 48b4a57980
2020-01-23 11:08:05 -08:00
Harald Schafer 88c754975f sanity clip every vp
old-commit-hash: ba6fd511b6
2020-01-22 13:09:03 -08:00
Harald Schafer 0545bea446 simplify and better
old-commit-hash: c32ebcb2c6
2020-01-21 16:37:22 -08:00
Willem Melching 0f53379119 Fix locationd_yawrate A matrix
old-commit-hash: ec6e83ca2d
2020-01-21 13:52:45 -08:00
George Hotz dda315bcc8 selfdrive/locationd
old-commit-hash: fcf8efb826
2020-01-17 11:39:56 -08:00
George Hotz 81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c
2020-01-15 14:05:04 -08:00
Vehicle Researcher 99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a
2019-12-13 13:03:08 -08:00
Vehicle Researcher b713eae9f8 openpilot v0.6.6 release
old-commit-hash: d7f0b402a8
2019-11-04 15:13:52 -08:00
Vehicle Researcher 89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher dfe603c178 openpilot v0.6.4 release
old-commit-hash: 61229779e4
2019-09-09 23:03:02 +00:00