Adeeb Shihadeh
c55926c7b8
lgtm fixes ( #19610 )
...
* pass matrices by reference
* suppress that
* destructor
* that's wrong, suppress it
old-commit-hash: 4096f86e21
4 years ago
Adeeb Shihadeh
0f22f60170
small ubloxd cleanup
...
old-commit-hash: c131f9db57
4 years ago
Dean Lee
1e477f95a6
ublox_msg.cc: simplify map operations in gen_nav_data ( #2004 )
...
* simplify map operations in gen_nav_data
* same as before
* rebase master
old-commit-hash: 3bf43bd7e3
4 years ago
Willem Melching
0b60b8eb1b
save calibration as JSON again
...
old-commit-hash: 9803d3fcdc
5 years ago
Harald Schafer
f749a2e424
use name
...
old-commit-hash: 4fafdee9e4
5 years ago
Dean Lee
df9e0b2cb4
simplify building capnp messages with arrays ( #2617 )
...
old-commit-hash: bd4f6650fa
5 years ago
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
5 years ago
HaraldSchafer
c4d50c0bf0
preinit locationd filter ( #2569 )
...
* preinit
* update ref commit
old-commit-hash: 9f5dfb74f9
5 years ago
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
5 years ago
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
5 years ago
HaraldSchafer
805a86b0dd
only do reset if already calibrated ( #2176 )
...
old-commit-hash: 0b849d5a4e
5 years ago
HaraldSchafer
d36675e618
Auto reset bad calibration ( #2151 )
...
* initial commit
* thanks pylint
* smoooooth
* cleanup
* cleaner
* switched
* always decay weight
old-commit-hash: df99316621
5 years ago
Adeeb Shihadeh
218c3d3de7
send initial calibration packet immediately
...
old-commit-hash: 74801bd216
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
HaraldSchafer
e85d1f0044
persist falling until message sent ( #1982 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 85a7ceaf07
5 years ago
Adeeb Shihadeh
a301462f9b
remove dead lines from calibrationd
...
old-commit-hash: df78c9d4df
5 years ago
Harald Schafer
3705a2209f
wrong units
...
old-commit-hash: 687afa9687
5 years ago
Harald Schafer
daf9176711
Revert "persist falling test"
...
This reverts commit 273f745ad5d1ce7e92ce24e8fa3b08895977dd5c.
old-commit-hash: 7032a40717
5 years ago
Harald Schafer
d252db9da9
persist falling test
...
old-commit-hash: 8cad9375d3
5 years ago
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
5 years ago
Adeeb Shihadeh
f8e08fad90
Cleanup locationd msg building ( #1972 )
...
* cleanup locationd msg building
* remove that
old-commit-hash: 1208ac424d
5 years ago
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
5 years ago
Willem Melching
488bbcaaa4
remove old params learner ( #1918 )
...
old-commit-hash: e0e7c7486d
5 years ago
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
5 years ago
Willem Melching
24adb459c3
eon needs include for errno
...
old-commit-hash: 16a23c98fa
5 years ago
Willem Melching
4d93e0b907
Set timeouts on boardd and ubloxd receive sockets
...
old-commit-hash: 28110ea880
5 years ago
Willem Melching
90323438ba
Revert "fix #1762 , add timeout on ubloxRaw receive"
...
This reverts commit df5942d4c121df113b8ac6ee643b9f49a7ed52ba.
old-commit-hash: 31ea066acb
5 years ago
Willem Melching
cc4b6c2c33
fix #1762 , add timeout on ubloxRaw receive
...
old-commit-hash: 0842e98ad8
5 years ago
Willem Melching
08fa4c4691
Locationd: only process valid log messages ( #1761 )
...
old-commit-hash: bfeefb6fd3
5 years ago
Willem Melching
6dc1c6e58e
cleanup no sensor data alert ( #1760 )
...
old-commit-hash: 264015c584
5 years ago
Willem Melching
42f153e4e4
ubloxd free->delete, fixes #1742
...
old-commit-hash: 9e273eb2ec
5 years ago
HaraldSchafer
57d50ba0b6
save bad calib too for display ( #1678 )
...
old-commit-hash: 637eecc2b2
5 years ago
HaraldSchafer
c26f15d608
need to do something about the valid ( #1713 )
...
old-commit-hash: 2afe224813
5 years ago
Willem Melching
e313efec3e
dont conflate in ubloxd
...
old-commit-hash: 10cb6ab87a
5 years ago
Dean Lee
70b4f7858e
remove duplite #include ( #1697 )
...
old-commit-hash: 981a166a7c
5 years ago
Willem Melching
26c17c844c
Reset stiffness at beginning of each drive
...
old-commit-hash: ef1c7b6833
5 years ago
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
5 years ago
Willem Melching
c8d32ce78a
wider margins on stiffness
...
old-commit-hash: fac0231471
5 years ago
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
5 years ago
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74d
5 years ago
Adeeb
16c0bc99b2
Remove common/messaging.h ( #1635 )
...
* remove common/messaging.h
* release files
old-commit-hash: 7666d99694
5 years ago
Dean Lee
f7ffc61c52
pass subframes_map by refer ( #1640 )
...
old-commit-hash: 5f58307153
5 years ago
Adeeb Shihadeh
f69483e094
quick LGTM fixes
...
old-commit-hash: 3463f1165e
5 years ago
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
5 years ago
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Willem Melching
6f09d990af
paramsd output at 20 Hz instead of 100 Hz
...
old-commit-hash: a108e7f211
5 years ago