Willem Melching
fb5c269833
Cleanup ubloxd message parsing ( #20664 )
...
* use kaitai to generate parsers
* add scons flag to generate parsers
* add outer layer ephemeris parsing
* create ephemeris packet at the right time
* parse subframe 1 and 2
* add more fields
* add generated files to release
* fix signs
* no cast
* add unordered map include
* add exception handling
* small cleanup
* parse iono data
* cleanup
old-commit-hash: eacacb8fba
2021-04-14 16:17:30 +02:00
Willem Melching
f4335a7dfe
Fix typo in ephemeris parsing ( #20677 )
...
* fix typo in ephemeris parsing
* update ref
old-commit-hash: 343fea2bf9
2021-04-14 11:25:43 +02:00
HaraldSchafer
a5fff75b5e
Loosen ecamera calib checks ( #20629 )
...
* relax thresholds for widecamera
* cleaner
old-commit-hash: c92f171866
2021-04-09 20:38:09 -07:00
Willem Melching
2d6d92402a
Ubloxd cleanup ( #20637 )
...
* clean out locationd/test
* get rid of ubloxd_main
* remove ubloxd_test.cc
* less includes
old-commit-hash: 4dd4b12140
2021-04-09 18:01:24 +02:00
Willem Melching
99a8e9222e
Add list for average frequency ignore ( #20624 )
...
* add list for averge frequency ignore
* typo
old-commit-hash: c1075037ba
2021-04-08 18:04:16 +02:00
Joost Wooning
ff9840c53f
locationd and paramsd using cython version of ekfsym ( #20610 )
...
* Locationd live_kf using c++ kalman filter
* use both cpp and python live_kf to compare
* Locationd using ekfsym cpp
* Paramsd using c++ ekf_sym
* Other building method
* Cleanup
* cleanup
* Single sconscript for rednose and locationd/models
* CI
* CI
* CI fix
* renamed scons config
* Fix lib loading
* bump rednose
* update cpu usage test
old-commit-hash: e6a8157916
2021-04-08 13:09:11 +02:00
Dean Lee
d33538e5f3
Qt: show current calibration values ( #20455 )
...
* show current calibration
* read calibration from capnp
* use CalStatus
* cleanup calibrationd.py
* remove import capnp
* keep json writing,remove comment
* fix test error
* cleanup
* remove test_read_saved_params
* cleanup
* write out capnp
* restore test
* clean up
* get calibration from CalibrationParams
* cleanup
* update calibration when the description is visible
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 57fe8488ac
2021-04-06 15:02:40 -07:00
HaraldSchafer
cf6c7cb2b8
Update locationd ( #20410 )
...
* this was too extreme
* unused import
* capnp wants bools
* update refs
old-commit-hash: 8bddaa7607
2021-03-19 17:12:34 -07:00
Willem Melching
c64d818341
use class AlignedBuffer ( #20388 )
...
* use class AlignedBuffer from cereal (#20343 )
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
* use AlignedBuffer
Co-authored-by: Dean Lee <deanlee3@gmail.com >
old-commit-hash: 0a88304e8d
2021-03-17 14:43:23 +01:00
Willem Melching
d61654abc3
Revert "use class AlignedBuffer from cereal ( #20343 )"
...
This reverts commit df9e836779af0c145efc933b88bbc94f59f2b378.
old-commit-hash: e3ad952902
2021-03-16 20:21:03 +01:00
Dean Lee
4c02da3f0a
use class AlignedBuffer from cereal ( #20343 )
...
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
old-commit-hash: 7aa379e123
2021-03-16 11:13:15 +01:00
Willem Melching
9616a0f245
pass cloudlog to EKF_sym
...
old-commit-hash: d9c1561d37
2021-03-15 13:27:12 +01:00
Dean Lee
2654277bc3
use cached buffer for FlatArrayMessageReader ( #20233 )
...
old-commit-hash: 12928cdae2
2021-03-08 11:02:21 +01:00
grekiki
fb1ae13b0e
Fix ubloxd test compilation ( #20101 )
...
old-commit-hash: 82fb638a47
2021-02-17 16:07:20 +01:00
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46
2021-02-16 21:39:32 -08:00
HaraldSchafer
a1d6e4f9f0
Locationd process noise typo ( #20085 )
...
old-commit-hash: 9e746c6dd8
2021-02-16 11:41:21 +01:00
HaraldSchafer
0e6e652521
fix timestamps ( #20029 )
...
* fix timestamps
* nanoseconds
* update refs
old-commit-hash: b3a868103a
2021-02-08 22:15:05 -08:00
Willem Melching
17d5446650
Timezoned ( #19960 )
...
* untested code
* add to manager
* whitespace
* only save on fix
* cleanup
* fix typo
* add to ignored processes
* import tici
* fix param name
* cleanup
* only run offroad
* use itertools
* wait for thermald
* simpler
* fall back to api call
* add param to override timezone
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 4c04e220a1
2021-02-06 11:07:37 +01:00
robbederks
8156542312
implement ublox MON_HW2 message ( #19962 )
...
* implement MON_HW2 message
* didn't mean to remove this
old-commit-hash: 99d58193e4
2021-02-03 13:09:44 +01:00
Dean Lee
165022f035
ublox_msg.h: remove #define min ( #19718 )
...
old-commit-hash: d34a690136
2021-01-11 11:59:14 +01:00
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
2021-01-10 14:57:32 -08:00
Dean Lee
5e557ed96d
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
old-commit-hash: 86fe2d1697
2021-01-05 20:19:53 -08:00
Adeeb Shihadeh
c55926c7b8
lgtm fixes ( #19610 )
...
* pass matrices by reference
* suppress that
* destructor
* that's wrong, suppress it
old-commit-hash: 4096f86e21
2020-12-28 20:36:23 -08:00
Adeeb Shihadeh
0f22f60170
small ubloxd cleanup
...
old-commit-hash: c131f9db57
2020-12-19 15:05:40 -08:00
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
2020-12-19 14:13:31 -08:00
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