Commit Graph

121 Commits

Author SHA1 Message Date
Harald Schafer 818695cfe7 needed for stability
old-commit-hash: 00e05bc7d881feaf82529b4066789e41ee555c42
2020-05-21 17:47:05 -07:00
Willem Melching 7f0b3180a4 Use C++ version of SubMaster and PubMaster (#1548)
* add PubMaster & SubMaster

remove 'delete msg'

remove headers

* use constructor to initial all submster

* modify drain sockets

* fix typo in ssconscript.remove lines

no checkValid in loggerd

last modify

handle_message:event->&event

fix type

remove heads

event to auto

* new interface

* api changed

* Revert "use constructor to initial all submster"

This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692.

* change to new api

* revert loggerd

* dd

* use new PubSub api

* update to new interface

don't modify loggerd

reset panda

reset opendbc

remove empty lines

* switch to new pubMaster

* update to the new inteface

change

remove error code

. to ->

merge paramsd.cc

update panda

fix typo

simplify

fix typo

* Fix build

* always conflate

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: ab5af232b243ba8137695f68c125f922fb412d44
2020-05-21 16:04:33 -07:00
HaraldSchafer 54572b6f23 Calib in settings (#1543)
* test test

* yo dawg

* yo dawg 2

* yo dawg 3

* calib in ui

* no pitch and yaw

* no more drive rating

* stricter

* param is no longer a vp

* less wall of test

* less is more

* better language

* cleaner
old-commit-hash: 7ffaff029f8b6d770809e601d748ec6ccb55b928
2020-05-20 19:21:03 -07:00
Willem Melching 47c5f52067 Locationd fixes
old-commit-hash: 8f3e932f96dbd6c6c27a74644bc5d1abbb166898
2020-05-20 14:18:28 -07:00
Willem Melching a4f120d2be Rename enum
old-commit-hash: f69f2001788ed9057b907113b74e258a69ecad6d
2020-05-19 18:13:11 -07:00
Willem Melching d2a41fad6e Paramsd handle liveLocation not valid and add alerts
old-commit-hash: 44484102db471a5f85ad078a81b9d8b9456b5233
2020-05-19 17:00:30 -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: d099e09fb77544eb00d13ba9aea34a0a3374a52e
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: 81686547cc10dc129fb921f938dc496455613e33
2020-05-17 20:59:53 -07:00
Willem Melching 046c47296f use base class in car_kf
old-commit-hash: 896bd1b5c72aa2e80c498067c299e643478559bf
2020-05-15 15:48:48 -07:00
Harald Schafer 99d9c3651c xRevert "way cleaner"
This reverts commit b8d13b1b44c6d33cb8209aac7fa65a269d8892b9.

old-commit-hash: 273e81715a045b9aac07796973493aad86f7a3e6
2020-05-15 14:29:34 -07:00
Harald Schafer 696fd01f9d way cleaner
old-commit-hash: a4ffd8c226ab1f286334c1cee9a90a03cbaec91a
2020-05-15 14:24:11 -07:00
Willem Melching 8f4c431efc lane kf was not built
old-commit-hash: 2cc218e144bec84d5992e45076adf00d56988f84
2020-05-15 14:22:36 -07:00
Paweł Goliński 524397ce86 Use Conversions in calibrationd (#1511)
old-commit-hash: 8b0ab73fefa4fbfae58192067b82073cd5d485fe
2020-05-14 17:56:45 -07:00
Bruce Wayne 157c671a60 make linter happy
old-commit-hash: f8a0eb0f7a9a63404b82b3f131436dcd5d9958c8
2020-05-14 17:38:52 -07:00
Harald Schafer 777e183af3 too complex
old-commit-hash: 013e49bf907539d119fbebcf02f4ce3749849065
2020-05-14 16:30:00 -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: 28bf5d1dd8d08cd8998d2ee9d813b7e573858cf9
2020-05-14 15:36:56 -07:00
Willem Melching aedf223401 remove eigen from phonelibs (#1505)
old-commit-hash: add784a7df0bd27aa1df115e38d43d5159c832f9
2020-05-13 16:41:52 -07:00
Adeeb 64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b39c3fefe1233fca9adf85cb3413b5b8
2020-05-09 16:40:43 -07:00
robbederks 5a12fc32e7 Ambient light calibration parameters on persist partition (#1429)
* WIP: light sensor persistent params

* fix params writing

* Persistent params argument in C params lib. Fixed symlink flow

* Removed debug prints

* fix boardd

* fix ui

* remove debug print
old-commit-hash: 71bebc4fca91681669c86b5600b67bf2b7f899bf
2020-05-08 19:39:18 -07:00
Adeeb Shihadeh 7bc6491502 these don't need json
old-commit-hash: 9670f8fb9f081a14d1de24f92e0800ebffbb123b
2020-05-04 23:37:07 -07:00
George Hotz 16cbb5e255 Revert "Bypass alignment related copy whenever possible (#1443)"
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.

old-commit-hash: d5ca841b0f18d2e707eb1f73afac842ede9be7e8
2020-05-04 09:54:05 -07:00
George Hotz d47b2ef576 More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
2020-05-02 20:00:41 -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: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Dean Lee f2932aadfd Bypass alignment related copy whenever possible (#1443)
remove blank lines

add file messagehelp.h

remove blank line

simplify

after review
old-commit-hash: b2250166281406853de9901271d69a9e64b3b74e
2020-05-01 19:21:00 -07:00
Willem Melching 548c4a805e Return avg angle offset
old-commit-hash: 8db89a6b04d7ff55eb2ac49eb2005ee0b5b9d03b
2020-04-28 17:47:04 -07:00
Willem Melching 4d7d4dd627 Retune stiffness
old-commit-hash: 9159a8d7011250503a7b4a8e9fdecf61e856de80
2020-04-28 15:30:11 -07:00
Willem Melching 2a15611270 Faster sR and stiffness factor
old-commit-hash: b2aefd252fd70bd0e0d2f7a65f34cef9910182bf
2020-04-27 16:39:27 -07:00
HaraldSchafer 2e830d2ded angles instead of vp (#1421)
* angles instead of vo

* clean migration
old-commit-hash: 368b65e29b8c149d4283b53a446b6a1147b92b95
2020-04-27 13:58:36 -07:00
Willem Melching 4f3e549a3e Car_kf tuning
old-commit-hash: f15d55c2b1d95ef347952be2ea1939311230ddea
2020-04-23 14:48:14 -07:00
Willem Melching 8a23af0dce Refactor locationd message building
old-commit-hash: 12af1f91752fde2d19b9012d5e0b8dd301d93829
2020-04-21 17:13:54 -07:00
Harald Schafer a3cb72bd68 mixed up
old-commit-hash: 3aab9facaad13adf72af5a4de394e5e2ae94aea5
2020-04-20 14:39:18 -07:00
Harald Schafer 725a662262 no param reads in pipeline
old-commit-hash: 438b03d9f292a065978e6dbe06360140be0a90ad
2020-04-20 14:00:06 -07:00
HaraldSchafer 7ae46f0cde Fallback publish calib (#1392)
* if no inputs still publish

* better
old-commit-hash: 28d8b4abac1a97905a74ea126d275125d2e93cd0
2020-04-17 17:05:54 -07:00
HaraldSchafer 1b57d4ed14 rely on carstate to be sure (#1363)
* rely on carstate to be sure

* relies on carstate now too

* don't know how else to make this work

* update ref

* clean up hacks

* prev ref was weirdly bad?

* lets try that from my machine

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a18832748cda69bce124cc6fa6eed062adb97418
2020-04-15 13:14:23 -07:00
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
Harald Schafer 6f97b0c21e better nothing than wrong
old-commit-hash: cc5b9b32bf10806e74fc15f4dfd1aae6c200f8e3
2020-03-24 11:01:41 -07:00
Willem Melching 5e9e9b0899 Paramsd tuning
old-commit-hash: bb1557f8de5d73589882c09737b8f3f08c20305f
2020-03-24 09:40:14 -07:00
Harald Schafer afe66c742e correctness is expensive
old-commit-hash: 82f316732a013c463f0b67570ede64b72c556520
2020-03-23 18:02:59 -07:00
Willem Melching a3568be0b0 paramsd improvements from branch
old-commit-hash: a24d08e569d4ccf25572d7e174beafed0dec8117
2020-03-23 16:57:05 -07:00
Harald Schafer 83ea66cbfb need sqrtsd
old-commit-hash: bcbcd96d92e1f2f05e918f74e42799b15eb18d1a
2020-03-18 15:23:59 -07:00
HaraldSchafer 3cbcb862c6 stricter calibration requirements (#1227)
* stricter requirements

* update refg

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 628e7e69682f32a6c076d9cacc2ade37121d6f49
2020-03-13 11:15:58 -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 566eff0c60 Use calibrated reference frame instead of device frame
old-commit-hash: 2abc1a299f580412246f1be1ae5ead66bab4c804
2020-03-09 13:29:30 -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 52f033a0de Use new locationd packet in paramsd
old-commit-hash: 01ac9d47220ad1730d095685bca13087fb600bad
2020-03-09 12:45:04 -07:00
Shane Smiskol 682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f7894d0117099787e56ec0966bfc63fa7c
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: 24eeec4e0b236ce87b98f237c775d783f6c82964
2020-03-05 15:59:49 -08:00
Harald Schafer 9e86d1d5fb unstable init
old-commit-hash: a8f2dbe727e8b999a4e1df024abf919c35b1ac7d
2020-03-04 18:20:10 -08:00