Vivek Aithal
27a6dc0c08
locationd : Acceleration Bias in locationd ( #22879 )
...
* add accel bias to filter for offline calculation
* bugfix acc bias in live_kf
* add no_accel obsertvation
* increase initial certainty of acc-bias and reduce PN
* increase initial certainty of acc-bias and reduce PN
* increase accel bias PN
* increase obs noise for no_accel observation
* style fixes
* update refs
old-commit-hash: 534bf697ee
4 years ago
Vivek Aithal
d49fbbfbed
locationd: Set ECEF_POS valid flag to false if in no-gps mode ( #22857 )
...
* set ECEF_POS valid flag to false if in no-gps mode
* modify valid flag for all ecef states before gps
* add calibrated valid when no gps
* update refs
* remove extra whitespace
* add invalid flag to all NED values pre gps
* update refs
* update correct refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c7be73b826
4 years ago
Vivek Aithal
6bc1c7b502
locationd: Make live_kf robust to no GPS ( #22774 )
...
* add no gps observations
* use correct ecef_location, orientation vals and stds for nogps states
* remove earth radius obs
* move initial loc to the ocean
* remove unnecessary changes
* update refs
old-commit-hash: 5c810a45b0
4 years ago
Mayfield
43e1903073
enable wshadow ( #22756 )
...
* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5246f0231e
4 years ago
Vivek Aithal
b150ceffa4
locationd: Gyro bias initial covariance ( #22622 )
...
* reduce cam odo std multiplier
* increase gyro obs noise
* increase initial cov for gyro bias
old-commit-hash: 2006aa412e
4 years ago
Vivek Aithal
80600a77dc
expose filter internal states and stds ( #22564 )
...
old-commit-hash: f1546e6552
4 years ago
Vivek Aithal
0bc7ccfbaa
remove confusing logic in live_kf, move to locationd ( #22558 )
...
old-commit-hash: d22f57e36d
4 years ago
Vivek Aithal
9f96d63520
paramsd: Sort messages in each update iteration before processing ( #22403 )
...
* sort livelocationKalman and carState messages in each update iteration before processing
* update refs
* update refs
* update refs
* update again
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 83a53618b3
4 years ago
Vivek Aithal
c0ff654602
Add paramsd Stdev to message ( #22443 )
...
* add STD to message
* use modified names for car_kf state stdev atttributes
* update refs
* add modofied cereal
* update refs
old-commit-hash: 244fbde56e
4 years ago
Vivek Aithal
5359f183aa
locationd: modify factor for measurement STDEV in gps update ( #22262 )
...
* modify factor for measurement STDEV in gps update
* add new ref_commit
old-commit-hash: 3778592f50
4 years ago
HaraldSchafer
3eb667e29d
Fix orientation in map ( #21863 )
...
* fix calibrated orientation
* update ref
* cleaner
* update ref
* master
* update again
* update ref again again
* actually compiled this tim,e
old-commit-hash: e0087fc313
4 years ago
arfy slowy
63b3d6024b
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74def61f8
4 years ago
Harald Schafer
acd45c486b
Revert "nav: use calibrated orientation ( #21853 )"
...
This reverts commit cd19b37a6b187e0c26cdfe7c42e975abb1dc0155.
old-commit-hash: e63d94d8d2
4 years ago
HaraldSchafer
1c35dc951d
nav: use calibrated orientation ( #21853 )
...
* calibrate map
* msg added
old-commit-hash: 4b209f31a1
4 years ago
HaraldSchafer
d1c5e054d0
Better localizer unstable alert ( #21660 )
...
* use canonical language
* filter out when gps signal is flaky
* Update selfdrive/locationd/locationd.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 049a1bca34
4 years ago
Willem Melching
5c1ba7502f
tici: use LSM6DS3 ( #21496 )
...
old-commit-hash: 6feafc0042
4 years ago
HaraldSchafer
eff53180ca
Update car_kf.py
...
old-commit-hash: a3071bf15b
4 years ago
Adeeb Shihadeh
e75dc5718c
make locationd and paramsd RT ( #21264 )
...
old-commit-hash: f01ebc5680
4 years ago
HaraldSchafer
1cbda7bac0
gps can be bad in cities ( #21270 )
...
old-commit-hash: 9a2306e008
4 years ago
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
4 years ago
Dean Lee
51cf285c31
Passing arguments by reference ( #21205 )
...
old-commit-hash: ee46672d3c
4 years ago
Adeeb Shihadeh
edd2f1c1a6
fix qcom and qcom2 builds
...
old-commit-hash: 9e94fb17cf
4 years ago
Dean Lee
f70a79b838
Use C++ header files instead of C header files. ( #21192 )
...
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570
4 years ago
HaraldSchafer
f0f36a0a06
Many localizer resets alert ( #21116 )
...
* add excessive reset
* add alert
* add event
old-commit-hash: 1c926d23da
4 years ago
Dean Lee
497472932a
Cleanup util.h ( #20849 )
...
* cleanup util.h
* fix build error:omx_encoder.cc:408: undefined reference to do_exit
* fix build error
* rebase master
* move helper functions back to util
* ExitHandleHelper->ExitHandlerHelper
* std::clamp
* struct ExitHandlerHelper to class
* rebase master
* cleanup
* restore ExitHandler
* prefer cassert
old-commit-hash: 65e0b1e699
4 years ago
Adeeb Shihadeh
82a82ce9b6
remove test too
...
old-commit-hash: f7cf66867b
4 years ago
Adeeb Shihadeh
e35b30c9dd
calibrationd: remove support for json params
...
old-commit-hash: 95380969ea
4 years ago
Willem Melching
4d874a90ea
Store almanac on ublox poweroff ( #20967 )
...
* Store almanac on ublox poweroff
* send current UTC time
* move message building to ublox_msg.h
old-commit-hash: ea5141d909
4 years ago
Adeeb Shihadeh
5a9504b59a
fix linter
...
old-commit-hash: 6b4e49af0e
4 years ago
Comma Device
262a059933
little helper script
...
old-commit-hash: bffba1a91e
4 years ago
HaraldSchafer
c0c009bba9
Filter only initialized if up for 1sec ( #20940 )
...
* add time since reset check
* fix time since reset
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2f80775b50
4 years ago
Willem Melching
26f9d28532
Rate limit paramsd angleOffset output ( #20946 )
...
* rate limit paramsd angle offset
* update ref
old-commit-hash: 17c3220322
4 years ago
Dean Lee
5609f32cee
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
old-commit-hash: 0495426535
4 years ago
HaraldSchafer
8559ab5ebd
Add ublox interference monitor ( #20911 )
...
* add interference monitor
* new thresholds
* correct labels
* always run for test
* new msg
* add flag
* Revert "always run for test"
This reverts commit b04b92ac2d
.
* add hw status flags
old-commit-hash: e5f93ef142
4 years ago
Willem Melching
c8e4dfafe8
locationd: ignore empty sensorEvents ( #20887 )
...
old-commit-hash: 65ab98a6c8
4 years ago
HaraldSchafer
420090ffea
time checks in locationd ( #20880 )
...
* time checks
* no debug print
* correct timestamps in test
* non nan
old-commit-hash: 62e22e7eac
4 years ago
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
4 years ago
Willem Melching
4707416cdd
Locationd input sanity checks ( #20845 )
...
* Add first sanity checks on inputs
* more gps checks
* make sure test values pass sanity checks
* this localizer supports cannonball runs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: c62bb10640
4 years ago
Willem Melching
9cfda07c9e
Use standstill flag in locationd ( #20838 )
...
old-commit-hash: fc3da5eaf9
4 years ago
Willem Melching
b4263a43fc
Locationd 100 Hz ( #20816 )
...
* fix std transform
* 100Hz
* new ref
* no more decimation
* clean up confusing maths
* static typing
* Revert "static typing"
This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.
* 100Hz costs more
* move normalization into core
* add quat idxs
* add big eps
* this is not safe in the filter
* more sensible
* updates to rednose
* not tested
* normalize in python too
* update rednose
* nan check
* check for infs too
* all should be finite
* update ref
* rednose pr now in master
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: e9db5723ef
4 years ago
Willem Melching
ab886b9599
paramsd: nan checks are implicit now
...
old-commit-hash: b768729755
4 years ago
Willem Melching
2901659fe2
paramsd: stricter checks on locationd yaw rate outputs
...
old-commit-hash: d6a575a860
4 years ago
Willem Melching
fa3cd32780
C++ Process replay improvements - Part 1 ( #20828 )
...
* C++ Process replay improvements
* revert that change
* create publisher before subscribers
* dont block forever, print warning
* add comment
* create sockets after process init
* try once more to receive the message
* SIMULATION env variable
* print message num when no response
old-commit-hash: d96edb6817
4 years ago
Adeeb Shihadeh
55a9ec8a93
set nice values for non RT processes ( #20812 )
...
* set nice values for non RT processes
* builds
* fix qcom build
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec414e2eb1
4 years ago
Willem Melching
b9fa4e5696
Add more sanity checks to paramsd ( #20820 )
...
* add more sanity checks to paramsd
* Update selfdrive/locationd/paramsd.py
old-commit-hash: 9fb79024ef
4 years ago
Adeeb Shihadeh
532d19427c
bump cereal
...
old-commit-hash: 8a280fbb8e
4 years ago
Willem Melching
8bd3b9a7b8
paramsd: check NaN in inputs and outputs ( #20804 )
...
old-commit-hash: 0b4d28b9d6
4 years ago
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f
4 years ago
HaraldSchafer
fd28911282
Revert "Locationd 100hz ( #20759 )" ( #20797 )
...
* Revert "Locationd 100hz (#20759 )"
This reverts commit 995b89e6424a7b717fb2c725a64d617fb24a1a85.
* new ref
old-commit-hash: daecf4247b
4 years ago
HaraldSchafer
cbc2cb24b7
Locationd 100hz ( #20759 )
...
* fix std transform
* 100Hz
* new ref
* no more decimation
* clean up confusing maths
* static typing
* Revert "static typing"
This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.
* 100Hz costs more
old-commit-hash: 333313cf0e
4 years ago