Commit Graph

43 Commits

Author SHA1 Message Date
Harald Schafer a0a2f24fcc this wasnt the issue
old-commit-hash: adac0135b355d4f14ac627db17f0da3b5722234d
2020-03-26 17:25:21 -07:00
Harald Schafer b2b1a83ce5 lane comp
old-commit-hash: 16c84074f2ba9b60a700e12097fb4c1baaf27453
2020-03-26 14:01:36 -07:00
Willem Melching 5e9e9b0899 Paramsd tuning
old-commit-hash: bb1557f8de5d73589882c09737b8f3f08c20305f
2020-03-24 09:40:14 -07:00
Willem Melching a3568be0b0 paramsd improvements from branch
old-commit-hash: a24d08e569d4ccf25572d7e174beafed0dec8117
2020-03-23 16:57:05 -07:00
Willem Melching 7002527ad0 Don't build all the kalman filters on the phone
old-commit-hash: 6be97f6396a89199c44882ed96bd2eed322a77d1
2020-03-12 15:46:38 -07:00
Willem Melching ea1c97cab7 EKF global variable support (#1230)
* Add global variables to kalman filter code

* fix linter
old-commit-hash: e28832b359a2981b6ebeb9f1f3d5bbe72248993c
2020-03-12 12:52:31 -07:00
Willem Melching 4073c3f724 Correct reference frame name in car_kf
old-commit-hash: 01a14400cb0190f7c24e8c9878c2b76c68125efe
2020-03-09 12:49:52 -07:00
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: c9ecab2139cd0b15bba49dcc30e07c7b0f33c6ef
2020-02-26 16:19:02 -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: ff91c6f9d47a37e2475570bc4d370221379f49be
2020-02-17 18:07:23 -08:00
HaraldSchafer 161a16be27 Update README.md
old-commit-hash: 8ba5ef3209dea1d9aee796f704b77c3bed015d77
2020-02-17 17:10:24 -08:00
George Hotz 7111bd1113 Fix bugged exception in lst_sq_computer.
old-commit-hash: c4d89699d9c2897fecb29ee73eafbf5a09b04428
2020-02-13 16:35:29 -08:00
George Hotz bbdb877906 build lst_sq_computer 4 and 5
old-commit-hash: d86c7b7d1585fdcce4b9837a4387e852aba01904
2020-02-13 16:13:14 -08:00
Harald Schafer 6ee6d0a5eb fix std
old-commit-hash: 891d6cea949fea784bcc8821b69364af75e280b8
2020-02-13 08:38:50 -08:00
Harald Schafer 9a46efd33a passes tests again
old-commit-hash: f72044327b29cb495901633eb4ec0308233332a0
2020-02-12 20:28:02 -08:00
Harald Schafer 0a7a03600c misc cleanup
old-commit-hash: 8257c60f718a7cf8ddbdc7a9b5b75a1c2362b9f9
2020-02-12 15:27:13 -08:00
Willem Melching 3fed3b9ab4 Whitespace
old-commit-hash: 1716f0b11bdd7447009c8c3b3664464f0db74ea9
2020-02-12 14:32:53 -08:00
Harald Schafer f97b7b381f fix broken compilation
old-commit-hash: 5c005adc79fa925b273308f63eee9b04560f1274
2020-02-12 14:26:35 -08:00
Willem Melching a42c464f7e Gnss kf whitespace
old-commit-hash: 7015a4704e57b1bd6bf416cd88f492fba2c83123
2020-02-12 14:11:50 -08:00
Willem Melching 055c58c1da Loc kf whitespace, fix phone accelerometer covariance
old-commit-hash: 965a9ae04283d5375a129ee8f3a17762d8dd7ba3
2020-02-12 14:08:40 -08:00
Harald Schafer e2b05dee77 no magic numbers
old-commit-hash: 2b5a8fd7af24a10cf1c5de606983b7458a466d69
2020-02-12 14:05:48 -08:00
Willem Melching bcecaa7c6f Live kf whitespace cleanup, fix covariance phone accel
old-commit-hash: 1de5d84a06b3e20dd3134f2db6367f9feac093f2
2020-02-12 13:47:08 -08:00
Harald Schafer 7e074cc36b bury scipy
old-commit-hash: 6823971a119b74334656db1ac1700051681bcfd2
2020-02-12 13:15:57 -08:00
Harald Schafer 1c39957de6 bury scipy for now
old-commit-hash: a8261c801719d7d1f6ce4d9dbfc3dfeda4e60cdd
2020-02-12 13:13:17 -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: 47fd50ca60da419b34469dbc293f1a7f0d3d46a9
2020-02-12 09:40:28 -08:00
HaraldSchafer d5ddfa2807 Update README.md
old-commit-hash: 5e675bd5638f0040f82a8cd52c6653fa0e93fa6b
2020-02-11 19:19:42 -08:00
HaraldSchafer c46d2c3496 rough readme draft
First pass at readme
old-commit-hash: 8df126cd65d5c53c7b6a2d9601c072e12067a95f
2020-02-11 19:19:25 -08:00
Harald Schafer 3ccfded2f5 IMPORTANT CHECK
old-commit-hash: 871d5b3c9929690be35c4b61529037e1f4a684b0
2020-02-11 17:41:02 -08:00
Harald Schafer 459d5cc968 fixes!
old-commit-hash: 980ef2a9304b859916fb5270ca83cfe670ab8403
2020-02-11 17:39:08 -08:00
Willem Melching 4bfe88a31a loc_local is dead
old-commit-hash: 8d4dda391cfdd163ea1ddb83c0795d31ec133643
2020-02-11 15:37:40 -08:00
Harald Schafer 55f8cb62d4 ignore
old-commit-hash: 45dea449c5f3dfb0f35fe324cb0c98df4466739d
2020-02-11 10:29:49 -08:00
Harald Schafer 1454570e11 more fixes
old-commit-hash: 1a1f1182d724a2d589e616df79946b4222e14887
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: 31794a3d10d103aa04b61c45167e55af29523992
2020-02-10 19:06:23 -08:00
Harald Schafer 2d69a5a335 fix imports
old-commit-hash: 59728ebca6276fa8756b1123e403d856914bba08
2020-02-10 15:38:17 -08:00
Harald Schafer 9b1ba6011f get ready for live localizer
old-commit-hash: dcb14dd830c6dad3b9e550a552a7cafdf9054e28
2020-02-10 15:28:23 -08:00
Harald Schafer 9d76270304 live kalman
old-commit-hash: 4212b7f91ce56e7f18fe98939f18059c6029f92b
2020-02-07 16:53:50 -08:00
George Hotz dda315bcc8 selfdrive/locationd
old-commit-hash: fcf8efb826
2020-01-17 11:39:56 -08:00
Vehicle Researcher 9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00
Vehicle Researcher e47a2e6e30 openpilot v0.5.13 release
old-commit-hash: dd34ccfe28
2019-06-06 04:38:45 +00:00
Vehicle Researcher 0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea8
2019-05-16 13:20:29 -07:00
Drew Hintz 3ad68e4378 getting ready for Python 3 (#619)
* tabs to spaces
python 2 to 3: https://portingguide.readthedocs.io/en/latest/syntax.html#tabs-and-spaces

* use the new except syntax
python 2 to 3: https://portingguide.readthedocs.io/en/latest/exceptions.html#the-new-except-syntax

* make relative imports absolute
python 2 to 3: https://portingguide.readthedocs.io/en/latest/imports.html#absolute-imports

* Queue renamed to queue in python 3
Use the six compatibility library to support both python 2 and 3: https://portingguide.readthedocs.io/en/latest/stdlib-reorg.html#renamed-modules

* replace dict.has_key() with in
python 2 to 3: https://portingguide.readthedocs.io/en/latest/dicts.html#removed-dict-has-key

* make dict views compatible with python 3
python 2 to 3: https://portingguide.readthedocs.io/en/latest/dicts.html#dict-views-and-iterators
Where needed, wrapping things that will be a view in python 3 with a list(). For example, if it's accessed with []
Python 3 has no iter*() methods, so just using the values() instead of itervalues() as long as it's not too performance intensive. Note that any minor performance hit of using a list instead of a view will go away when switching to python 3. If it is intensive, we could use the six version.

* Explicitly use truncating division
python 2 to 3: https://portingguide.readthedocs.io/en/latest/numbers.html#division
python 3 treats / as float division. When we want the result to be an integer, use //

* replace map() with list comprehension where a list result is needed.
In python 3, map() returns an iterator.
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-map-and-filter

* replace filter() with list comprehension
In python 3, filter() returns an interatoooooooooooor.
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-map-and-filter

* wrap zip() in list() where we need the result to be a list
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-zip

* clean out some lint
Removes these pylint warnings:
************* Module selfdrive.car.chrysler.chryslercan
W: 15, 0: Unnecessary semicolon (unnecessary-semicolon)
W: 16, 0: Unnecessary semicolon (unnecessary-semicolon)
W: 25, 0: Unnecessary semicolon (unnecessary-semicolon)
************* Module common.dbc
W:101, 0: Anomalous backslash in string: '\?'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
************* Module selfdrive.car.gm.interface
R:102, 6: Redefinition of ret.minEnableSpeed type from float to int (redefined-variable-type)
R:103, 6: Redefinition of ret.mass type from int to float (redefined-variable-type)
************* Module selfdrive.updated
R: 20, 6: Redefinition of r type from int to str (redefined-variable-type)

old-commit-hash: 9dae0bfac4
2019-05-02 11:08:59 -07:00
Vehicle Researcher 83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f9
2019-04-23 01:41:19 +00:00
Nigel Armstrong 2f228d6f5a Add pylint to travis-ci (#595)
* Add pylint to travis-ci

* Change travis build order

* Fix missing pylint

* Add pylint to dockerfile

* Test with fixed linter for chrysler changes

* Fix linter issues in OP

* fixed linter on ford

* Fix Riccardo's comments

old-commit-hash: 76dfb135ca
2019-04-12 23:12:34 -07:00
Vehicle Researcher 30f7a33535 openpilot v0.5.10 release
old-commit-hash: f74a201edc
2019-03-26 01:09:18 -07:00