Willem Melching
0b60b8eb1b
save calibration as JSON again
...
old-commit-hash: 9803d3fcdc
2020-12-08 11:54:27 +01:00
Harald Schafer
f749a2e424
use name
...
old-commit-hash: 4fafdee9e4
2020-12-03 13:29:58 -08:00
Dean Lee
df9e0b2cb4
simplify building capnp messages with arrays ( #2617 )
...
old-commit-hash: bd4f6650fa
2020-11-30 12:08:52 +01:00
Adeeb Shihadeh
7ec1329d53
small calibration refactor + tests ( #2641 )
...
* calibration tests
* read from capnp
* save using cereal struct
* reset calibration if new car
* car params
old-commit-hash: ee43eb552b
2020-11-28 10:12:10 -08:00
HaraldSchafer
c4d50c0bf0
preinit locationd filter ( #2569 )
...
* preinit
* update ref commit
old-commit-hash: 9f5dfb74f9
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: 63e23e9cd7
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: e51da619c1
2020-10-05 16:16:25 +02:00
HaraldSchafer
805a86b0dd
only do reset if already calibrated ( #2176 )
...
old-commit-hash: 0b849d5a4e
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: df99316621
2020-09-14 04:02:58 -07:00
Adeeb Shihadeh
218c3d3de7
send initial calibration packet immediately
...
old-commit-hash: 74801bd216
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: 4d5733924a
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: e0004d0981
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: 01111b3f28
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: d097abeb21
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: 85a7ceaf07
2020-08-06 14:46:19 -07:00
Adeeb Shihadeh
a301462f9b
remove dead lines from calibrationd
...
old-commit-hash: df78c9d4df
2020-08-06 13:57:01 -07:00
Harald Schafer
3705a2209f
wrong units
...
old-commit-hash: 687afa9687
2020-08-05 13:45:58 -07:00
Harald Schafer
daf9176711
Revert "persist falling test"
...
This reverts commit 273f745ad5d1ce7e92ce24e8fa3b08895977dd5c.
old-commit-hash: 7032a40717
2020-08-05 10:46:26 -07:00
Harald Schafer
d252db9da9
persist falling test
...
old-commit-hash: 8cad9375d3
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: 490ee52687
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: 1208ac424d
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: 8e2d344135
2020-07-30 15:33:22 -07:00
Willem Melching
488bbcaaa4
remove old params learner ( #1918 )
...
old-commit-hash: e0e7c7486d
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: eb1aa3d831
2020-07-09 09:25:32 -07:00
Willem Melching
24adb459c3
eon needs include for errno
...
old-commit-hash: 16a23c98fa
2020-06-23 16:05:47 -07:00
Willem Melching
4d93e0b907
Set timeouts on boardd and ubloxd receive sockets
...
old-commit-hash: 28110ea880
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: 31ea066acb
2020-06-23 15:43:29 -07:00
Willem Melching
cc4b6c2c33
fix #1762 , add timeout on ubloxRaw receive
...
old-commit-hash: 0842e98ad8
2020-06-23 15:26:25 -07:00
Willem Melching
08fa4c4691
Locationd: only process valid log messages ( #1761 )
...
old-commit-hash: bfeefb6fd3
2020-06-22 14:41:15 -07:00
Willem Melching
6dc1c6e58e
cleanup no sensor data alert ( #1760 )
...
old-commit-hash: 264015c584
2020-06-22 14:27:07 -07:00
Willem Melching
42f153e4e4
ubloxd free->delete, fixes #1742
...
old-commit-hash: 9e273eb2ec
2020-06-19 13:56:46 -07:00
HaraldSchafer
57d50ba0b6
save bad calib too for display ( #1678 )
...
old-commit-hash: 637eecc2b2
2020-06-15 17:20:49 -07:00
HaraldSchafer
c26f15d608
need to do something about the valid ( #1713 )
...
old-commit-hash: 2afe224813
2020-06-15 17:20:31 -07:00
Willem Melching
e313efec3e
dont conflate in ubloxd
...
old-commit-hash: 10cb6ab87a
2020-06-15 13:31:28 -07:00
Dean Lee
70b4f7858e
remove duplite #include ( #1697 )
...
old-commit-hash: 981a166a7c
2020-06-14 08:31:36 -07:00
Willem Melching
26c17c844c
Reset stiffness at beginning of each drive
...
old-commit-hash: ef1c7b6833
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: 87bbbd4100
2020-06-10 17:25:48 -07:00
Willem Melching
c8d32ce78a
wider margins on stiffness
...
old-commit-hash: fac0231471
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: c18e7da3c2
2020-06-09 16:44:26 -07:00
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74d
2020-06-09 13:46:49 -07:00
Adeeb
16c0bc99b2
Remove common/messaging.h ( #1635 )
...
* remove common/messaging.h
* release files
old-commit-hash: 7666d99694
2020-06-05 12:46:49 -07:00
Dean Lee
f7ffc61c52
pass subframes_map by refer ( #1640 )
...
old-commit-hash: 5f58307153
2020-06-05 12:42:23 -07:00
Adeeb Shihadeh
f69483e094
quick LGTM fixes
...
old-commit-hash: 3463f1165e
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: 367155168a
2020-06-03 16:13:34 -07:00
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4
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: 843a64c72f
2020-06-02 16:29:32 -07:00
Willem Melching
6f09d990af
paramsd output at 20 Hz instead of 100 Hz
...
old-commit-hash: a108e7f211
2020-06-01 13:47:17 -07:00
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
2020-05-31 12:49:11 -07:00