Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
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: 71bebc4fca
2020-05-08 19:39:18 -07:00
Adeeb Shihadeh
7bc6491502
these don't need json
...
old-commit-hash: 9670f8fb9f
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: d5ca841b0f
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: e568d3cadc
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: 1295cfe06c
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: b225016628
2020-05-01 19:21:00 -07:00
Willem Melching
548c4a805e
Return avg angle offset
...
old-commit-hash: 8db89a6b04
2020-04-28 17:47:04 -07:00
Willem Melching
4d7d4dd627
Retune stiffness
...
old-commit-hash: 9159a8d701
2020-04-28 15:30:11 -07:00
Willem Melching
2a15611270
Faster sR and stiffness factor
...
old-commit-hash: b2aefd252f
2020-04-27 16:39:27 -07:00
HaraldSchafer
2e830d2ded
angles instead of vp ( #1421 )
...
* angles instead of vo
* clean migration
old-commit-hash: 368b65e29b
2020-04-27 13:58:36 -07:00
Willem Melching
4f3e549a3e
Car_kf tuning
...
old-commit-hash: f15d55c2b1
2020-04-23 14:48:14 -07:00
Willem Melching
8a23af0dce
Refactor locationd message building
...
old-commit-hash: 12af1f9175
2020-04-21 17:13:54 -07:00
Harald Schafer
a3cb72bd68
mixed up
...
old-commit-hash: 3aab9facaa
2020-04-20 14:39:18 -07:00
Harald Schafer
725a662262
no param reads in pipeline
...
old-commit-hash: 438b03d9f2
2020-04-20 14:00:06 -07:00
HaraldSchafer
7ae46f0cde
Fallback publish calib ( #1392 )
...
* if no inputs still publish
* better
old-commit-hash: 28d8b4abac
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: a18832748c
2020-04-15 13:14:23 -07:00
Harald Schafer
a0a2f24fcc
this wasnt the issue
...
old-commit-hash: adac0135b3
2020-03-26 17:25:21 -07:00
Harald Schafer
b2b1a83ce5
lane comp
...
old-commit-hash: 16c84074f2
2020-03-26 14:01:36 -07:00
Harald Schafer
6f97b0c21e
better nothing than wrong
...
old-commit-hash: cc5b9b32bf
2020-03-24 11:01:41 -07:00
Willem Melching
5e9e9b0899
Paramsd tuning
...
old-commit-hash: bb1557f8de
2020-03-24 09:40:14 -07:00
Harald Schafer
afe66c742e
correctness is expensive
...
old-commit-hash: 82f316732a
2020-03-23 18:02:59 -07:00
Willem Melching
a3568be0b0
paramsd improvements from branch
...
old-commit-hash: a24d08e569
2020-03-23 16:57:05 -07:00
Harald Schafer
83ea66cbfb
need sqrtsd
...
old-commit-hash: bcbcd96d92
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: 628e7e6968
2020-03-13 11:15:58 -07:00
Willem Melching
7002527ad0
Don't build all the kalman filters on the phone
...
old-commit-hash: 6be97f6396
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: e28832b359
2020-03-12 12:52:31 -07:00
Willem Melching
566eff0c60
Use calibrated reference frame instead of device frame
...
old-commit-hash: 2abc1a299f
2020-03-09 13:29:30 -07:00
Willem Melching
4073c3f724
Correct reference frame name in car_kf
...
old-commit-hash: 01a14400cb
2020-03-09 12:49:52 -07:00
Willem Melching
52f033a0de
Use new locationd packet in paramsd
...
old-commit-hash: 01ac9d4722
2020-03-09 12:45:04 -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
Harald Schafer
9e86d1d5fb
unstable init
...
old-commit-hash: a8f2dbe727
2020-03-04 18:20:10 -08: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: 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