Adeeb Shihadeh
ec414e2eb1
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>
5 years ago
Willem Melching
9fb79024ef
Add more sanity checks to paramsd ( #20820 )
...
* add more sanity checks to paramsd
* Update selfdrive/locationd/paramsd.py
5 years ago
Adeeb Shihadeh
8a280fbb8e
bump cereal
5 years ago
Willem Melching
0b4d28b9d6
paramsd: check NaN in inputs and outputs ( #20804 )
5 years ago
Dean Lee
81491dc57f
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
5 years ago
HaraldSchafer
daecf4247b
Revert "Locationd 100hz ( #20759 )" ( #20797 )
...
* Revert "Locationd 100hz (#20759 )"
This reverts commit 333313cf0e
.
* new ref
5 years ago
HaraldSchafer
333313cf0e
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
5 years ago
Joost Wooning
d2a2ccfee4
compare carspeed float to epsilon instead of zero ( #20714 )
...
* compare carspeed float to epsilon instead of zero
* update ref
* add ref commit again
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
5 years ago
Joost Wooning
5fdcce2551
unittests for locationd uncommon events ( #20715 )
...
* unittests for locationd uncommon events
* params test using process
* test for posenet spike
* fix library path
* move random seed to setup
5 years ago
Joost Wooning
e08a570a13
create library for using locationd in python using ffi ( #20711 )
...
* create library for using locationd in python using ffi
* lib is not required in release
* cleanup
* dont build liblocationd on release
* add check on buffer size
5 years ago
Joost Wooning
ed8acfa284
params put in locationd async ( #20713 )
...
* params put in locationd async
* remove reference in thread call
5 years ago
Willem Melching
b27bad8776
Remove sympy import from paramsd at runtime ( #20710 )
5 years ago
Joost Wooning
3420707ad5
convert locationd to c++ ( #20622 )
...
* live_kf to c++
* first locationd code
* Running in process_replay
* locationd handle cam_odo and live_calib
* log event handlers
* working message receiving
* compiling message sending
* correctly sending some messages
* correct receiving and sending
* update ref_commit with some all_alive_and_valid being false, minor fixes
* fix std abs
* linking on device fix
* fix cpu usage test
* generate kf constants and defines
* fix replay test
* replay without acks, cleanup
* operate on bytearray messages
* cleanup
* send msg fix
* small sleep, less flaky test
* remove python locationd
* review feedback
* bump rednose
5 years ago
Willem Melching
a163daf5e0
Improve robustness of ublox init procedure ( #20685 )
...
* improve ublox init robustness
* cleanup
* only log if running at 1hz
* not needed
5 years ago
Willem Melching
fc478ff920
disable GC for locationd and paramsd ( #20680 )
5 years ago
Willem Melching
eacacb8fba
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
5 years ago
Willem Melching
343fea2bf9
Fix typo in ephemeris parsing ( #20677 )
...
* fix typo in ephemeris parsing
* update ref
5 years ago
HaraldSchafer
c92f171866
Loosen ecamera calib checks ( #20629 )
...
* relax thresholds for widecamera
* cleaner
5 years ago
Willem Melching
4dd4b12140
Ubloxd cleanup ( #20637 )
...
* clean out locationd/test
* get rid of ubloxd_main
* remove ubloxd_test.cc
* less includes
5 years ago
Willem Melching
c1075037ba
Add list for average frequency ignore ( #20624 )
...
* add list for averge frequency ignore
* typo
5 years ago
Joost Wooning
e6a8157916
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
5 years ago
Dean Lee
57fe8488ac
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>
5 years ago
HaraldSchafer
8bddaa7607
Update locationd ( #20410 )
...
* this was too extreme
* unused import
* capnp wants bools
* update refs
5 years ago
Willem Melching
0a88304e8d
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>
5 years ago
Willem Melching
e3ad952902
Revert "use class AlignedBuffer from cereal ( #20343 )"
...
This reverts commit 7aa379e123
.
5 years ago
Dean Lee
7aa379e123
use class AlignedBuffer from cereal ( #20343 )
...
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
5 years ago
Willem Melching
d9c1561d37
pass cloudlog to EKF_sym
5 years ago
Dean Lee
12928cdae2
use cached buffer for FlatArrayMessageReader ( #20233 )
5 years ago
grekiki
82fb638a47
Fix ubloxd test compilation ( #20101 )
5 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* 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
5 years ago
HaraldSchafer
9e746c6dd8
Locationd process noise typo ( #20085 )
5 years ago
HaraldSchafer
b3a868103a
fix timestamps ( #20029 )
...
* fix timestamps
* nanoseconds
* update refs
5 years ago
Willem Melching
4c04e220a1
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>
5 years ago
robbederks
99d58193e4
implement ublox MON_HW2 message ( #19962 )
...
* implement MON_HW2 message
* didn't mean to remove this
5 years ago
Dean Lee
d34a690136
ublox_msg.h: remove #define min ( #19718 )
5 years ago
Dean Lee
595830135b
merge utilpp.h into util.h ( #19710 )
5 years ago
Dean Lee
86fe2d1697
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
5 years ago
Adeeb Shihadeh
4096f86e21
lgtm fixes ( #19610 )
...
* pass matrices by reference
* suppress that
* destructor
* that's wrong, suppress it
5 years ago
Adeeb Shihadeh
c131f9db57
small ubloxd cleanup
5 years ago
Dean Lee
3bf43bd7e3
ublox_msg.cc: simplify map operations in gen_nav_data ( #2004 )
...
* simplify map operations in gen_nav_data
* same as before
* rebase master
5 years ago
Willem Melching
9803d3fcdc
save calibration as JSON again
5 years ago
Harald Schafer
4fafdee9e4
use name
5 years ago
Dean Lee
bd4f6650fa
simplify building capnp messages with arrays ( #2617 )
5 years ago
Adeeb Shihadeh
ee43eb552b
small calibration refactor + tests ( #2641 )
...
* calibration tests
* read from capnp
* save using cereal struct
* reset calibration if new car
* car params
5 years ago
HaraldSchafer
9f5dfb74f9
preinit locationd filter ( #2569 )
...
* preinit
* update ref commit
5 years ago
Willem Melching
63e23e9cd7
Reset liveParameters if starting with invalid values ( #2360 )
...
* reset params if starting with invalid values
* newline
* No need to check stiffness
5 years ago
Willem Melching
e51da619c1
LSM6DS3 ( #2268 )
...
* add initial lsm6ds3 setup
* accel works
* ignore lsm6ds3 in locationd
* add gyro
* add temp
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
HaraldSchafer
0b849d5a4e
only do reset if already calibrated ( #2176 )
5 years ago
HaraldSchafer
df99316621
Auto reset bad calibration ( #2151 )
...
* initial commit
* thanks pylint
* smoooooth
* cleanup
* cleaner
* switched
* always decay weight
5 years ago
Adeeb Shihadeh
74801bd216
send initial calibration packet immediately
5 years ago