HaraldSchafer
c4d50c0bf0
preinit locationd filter ( #2569 )
...
* preinit
* update ref commit
old-commit-hash: 9f5dfb74f97cc8cdd1e0d25055ebc98ca9f5ee79
2020-11-19 15:14:35 -08:00
Willem Melching
643120e411
Reset liveParameters if starting with invalid values ( #2360 )
...
* reset params if starting with invalid values
* newline
* No need to check stiffness
old-commit-hash: 63e23e9cd72b5cb36ec78e3ec477290602c2dcc7
2020-10-19 19:04:33 +02:00
Willem Melching
03b2a6a137
LSM6DS3 ( #2268 )
...
* add initial lsm6ds3 setup
* accel works
* ignore lsm6ds3 in locationd
* add gyro
* add temp
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: e51da619c15dea3ac6cc77f4f9a387923e2a3ea6
2020-10-05 16:16:25 +02:00
HaraldSchafer
805a86b0dd
only do reset if already calibrated ( #2176 )
...
old-commit-hash: 0b849d5a4e417d73e4b821b909839f379d70e75d
2020-09-15 07:44:13 -07:00
HaraldSchafer
d36675e618
Auto reset bad calibration ( #2151 )
...
* initial commit
* thanks pylint
* smoooooth
* cleanup
* cleaner
* switched
* always decay weight
old-commit-hash: df99316621ae51870a92fdc767ec4651261b7314
2020-09-14 04:02:58 -07:00
Adeeb Shihadeh
218c3d3de7
send initial calibration packet immediately
...
old-commit-hash: 74801bd216601df2ff38d853787139337a375c3c
2020-09-13 13:54:14 -07:00
Adeeb Shihadeh
ac3422fc0f
message builder ( #2161 )
...
* use custom MessageBuilder from cereal
* use MesageBuilder.toBytes
* bump cereal
* unused
* another one
* fix ui msg
Co-authored-by: deanlee <deanlee3@gmail.com >
old-commit-hash: 4d5733924a2fdd8a3bbaf5f48869ac744b983401
2020-09-12 21:48:15 -07:00
Adeeb Shihadeh
64a9728f2e
Reduce paramsd and calibrationd CPU usage ( #2119 )
...
* reduce paramsd cpu
* reduce calibrationd cpu usage
* calibration_helpers was mostly unused
* more calibration cleanup
* update refs
* fix thresholds in CPU test
old-commit-hash: e0004d09810d9c3bcb8681bca110bf5bbd09445a
2020-09-10 12:16:29 -07:00
HaraldSchafer
5b1dc76a96
remove vp everywhere ( #2122 )
...
* remove vp everywhere
* wrong dimension
* useful disclaimer
* switcheroo
* imcomplete switcheroo
* did it wrong again
* difference look small enough
* fix comment
old-commit-hash: 01111b3f28c748769db8f27646d9086f00a417ef
2020-09-04 03:05:20 -07:00
HaraldSchafer
388274d494
Track calib spread ( #1988 )
...
* add calib spread metric
* add field
* needs to be array
* update refs
* log valid blocks too
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: d097abeb2130fc841571b14551eeea2acaa12296
2020-08-06 14:47:17 -07:00
HaraldSchafer
e85d1f0044
persist falling until message sent ( #1982 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 85a7ceaf079ed6c8cb804403f33706a386ca9b51
2020-08-06 14:46:19 -07:00
Adeeb Shihadeh
a301462f9b
remove dead lines from calibrationd
...
old-commit-hash: df78c9d4dfe9cc5ed1409b46b1b11611ed5a721a
2020-08-06 13:57:01 -07:00
Harald Schafer
3705a2209f
wrong units
...
old-commit-hash: 687afa9687c347fe1473d9d6ae3e2e3634b682df
2020-08-05 13:45:58 -07:00
Harald Schafer
daf9176711
Revert "persist falling test"
...
This reverts commit 273f745ad5d1ce7e92ce24e8fa3b08895977dd5c.
old-commit-hash: 7032a40717f46675697f0ba049956a3e1788e6f6
2020-08-05 10:46:26 -07:00
Harald Schafer
d252db9da9
persist falling test
...
old-commit-hash: 8cad9375d336ca5276f673296d0e64ff14efe0de
2020-08-05 10:44:40 -07:00
HaraldSchafer
122118ccd4
add fall filter and less FP on posenet ( #1971 )
...
* add fall filter and less FP on posenet
* add alert
* list
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 490ee5268712c38f738161cab939c02573581ebf
2020-08-03 15:51:56 -07:00
Adeeb Shihadeh
f8e08fad90
Cleanup locationd msg building ( #1972 )
...
* cleanup locationd msg building
* remove that
old-commit-hash: 1208ac424d06e03da9f83fc1fa1824df7e32f80d
2020-08-03 14:58:15 -07:00
HaraldSchafer
bc3b340694
Misc locationd improvements ( #1714 )
...
* I like this more
* rewind less
* bump rednose
* falling off windshield detectopr
* adjust thresholds
* this is a soft disable now
* move that
* process replay fixes
* update refs
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8e2d344135b9a1102503432d651e6bf599d9fa42
2020-07-30 15:33:22 -07:00
Willem Melching
488bbcaaa4
remove old params learner ( #1918 )
...
old-commit-hash: e0e7c7486d653a550c596f9dca7e5b6424d4c05d
2020-07-24 18:43:17 +02:00
Adeeb Shihadeh
cdfb090c7a
Wunused ( #1841 )
...
* enable Wunused, first pass
* unused stuff in snpe model
* these are used on phone
* handle sigint and sigterm in modeld
* fix phone build
* camera qcom
* QCOM build works
* delete unused camerad vars
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: eb1aa3d831fd0d7fffd9aacec1accb0a5bdb0304
2020-07-09 09:25:32 -07:00
Willem Melching
24adb459c3
eon needs include for errno
...
old-commit-hash: 16a23c98fae55585ae37a748416dc2514b8f1b89
2020-06-23 16:05:47 -07:00
Willem Melching
4d93e0b907
Set timeouts on boardd and ubloxd receive sockets
...
old-commit-hash: 28110ea8801ce75835d59508dde4229454309b68
2020-06-23 15:56:30 -07:00
Willem Melching
90323438ba
Revert "fix #1762 , add timeout on ubloxRaw receive"
...
This reverts commit df5942d4c121df113b8ac6ee643b9f49a7ed52ba.
old-commit-hash: 31ea066acbe47062622b9711ef9337a375cae80a
2020-06-23 15:43:29 -07:00
Willem Melching
cc4b6c2c33
fix #1762 , add timeout on ubloxRaw receive
...
old-commit-hash: 0842e98ad832ec5dbd1afe1bfda5893c21aa1ef6
2020-06-23 15:26:25 -07:00
Willem Melching
08fa4c4691
Locationd: only process valid log messages ( #1761 )
...
old-commit-hash: bfeefb6fd3498a14b27d6c83f5b254ab7113d3dd
2020-06-22 14:41:15 -07:00
Willem Melching
6dc1c6e58e
cleanup no sensor data alert ( #1760 )
...
old-commit-hash: 264015c584a0a010ba5f63af67da2e6bddebbea4
2020-06-22 14:27:07 -07:00
Willem Melching
42f153e4e4
ubloxd free->delete, fixes #1742
...
old-commit-hash: 9e273eb2ec9830b4e2af82168e5f68da71c66761
2020-06-19 13:56:46 -07:00
HaraldSchafer
57d50ba0b6
save bad calib too for display ( #1678 )
...
old-commit-hash: 637eecc2b26a6137a3415231183be54be448e638
2020-06-15 17:20:49 -07:00
HaraldSchafer
c26f15d608
need to do something about the valid ( #1713 )
...
old-commit-hash: 2afe22481348920d490daad32be1ce9898a7ab89
2020-06-15 17:20:31 -07:00
Willem Melching
e313efec3e
dont conflate in ubloxd
...
old-commit-hash: 10cb6ab87ab812ada7c26d5b67d95a739d8d3b54
2020-06-15 13:31:28 -07:00
Dean Lee
70b4f7858e
remove duplite #include ( #1697 )
...
old-commit-hash: 981a166a7c8e2305870993480b9804ba2420319b
2020-06-14 08:31:36 -07:00
Willem Melching
26c17c844c
Reset stiffness at beginning of each drive
...
old-commit-hash: ef1c7b6833fe86c5541eb79b8129d0663db00c7a
2020-06-12 12:09:32 -07:00
HaraldSchafer
6e6c165e7f
Clean mesh3d 2 ( #1618 )
...
* seems overkill
* not too extreme
* make linter happy
* try adding accel scale
* some tweaks
* Revert "some tweaks"
This reverts commit 58cec365da650fa653dee91c7a5cbe37b8289908.
* Revert "Revert "some tweaks""
This reverts commit 517108b5b676b4ab31bba92a9eb59afa1b3d3faf.
* stability concerns
* this works
* still works
* ugh sympy is weird, still may be not correct
* comment clean
* comment
* clarify
* fix
* unused
old-commit-hash: 87bbbd41005c93dd6fae872622102fbd14f9afef
2020-06-10 17:25:48 -07:00
Willem Melching
c8d32ce78a
wider margins on stiffness
...
old-commit-hash: fac023147127fd79805b54428ac33b819f1138cd
2020-06-09 17:36:16 -07:00
Willem Melching
76a465e0ec
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
old-commit-hash: c18e7da3c25c59a19efda8ec3a1b716c2571cc2f
2020-06-09 16:44:26 -07:00
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74ddc4672b35a5186e868794468a44345
2020-06-09 13:46:49 -07:00
Adeeb
16c0bc99b2
Remove common/messaging.h ( #1635 )
...
* remove common/messaging.h
* release files
old-commit-hash: 7666d99694615f0a4a960e0b739018c4628ffa50
2020-06-05 12:46:49 -07:00
Dean Lee
f7ffc61c52
pass subframes_map by refer ( #1640 )
...
old-commit-hash: 5f58307153cd018a6c5e3a8da9416a6749cbabea
2020-06-05 12:42:23 -07:00
Adeeb Shihadeh
f69483e094
quick LGTM fixes
...
old-commit-hash: 3463f1165e5546f8c8054e8dcedc830607ad643b
2020-06-05 11:29:09 -07:00
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai >
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
2020-06-03 12:54:49 -07:00
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Willem Melching
6f09d990af
paramsd output at 20 Hz instead of 100 Hz
...
old-commit-hash: a108e7f211e4af4b4e0ac334686c11cdb7a26f2e
2020-06-01 13:47:17 -07:00
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8e7809960cc1f2bad9a582801d5a83e
2020-05-31 00:48:47 -07:00
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
Willem Melching
2b60ee9531
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
old-commit-hash: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
Willem Melching
12a306021d
flake8 in pre-commit( #1583 )
...
old-commit-hash: 29aaa44740b5dae3c1cc0c273c72c7eb53135e5e
2020-05-27 20:33:05 -07:00