Harald Schäfer
c89a9b1b73
Laikad: more sensible ephemeris management ( #28721 )
...
* Laikad: more sensible ephemeris management
* Tow
* fix test
* Also publish qcom
* Update
* Update laikad.py
old-commit-hash: 5c6efd2aab
2 years ago
Kacper Rączy
215819c218
paramsd: expose filterState in debug mode ( #28627 )
...
* Update cereal
* Expose filterState in debug mode.
old-commit-hash: b6c3f69dc0
2 years ago
Harald Schäfer
86b8e2eb8c
Qcom localizer: erratic clocks have an erratic error rate too ( #28654 )
...
Erratic clocks drift erratically too
old-commit-hash: af9edb020d
2 years ago
Kacper Rączy
b1eb066965
macOS: fix build issues & re-enable CI ( #28258 )
...
* Uncomment build_mac job
* Add PYCURL_CURL_CONFIG
* Acados universal binary
* Remove x86 macos references from sconscript
* Add missing include in cabana
* Update cereal
* Update workflow
* Remove unnecessary libpaths for darwin
* Add missing path to cached dirs
* Fix path in cache preparation step
* Add poetry caches to CI cache
* Compile acados with lower deployment target for CI
* Update cereal
* Pass -rpath in linker flags as scons doed not support RPATH on macos
* Use scons api instead of os
* @rpath in install name of acados dylibs
* SConstruct cleanup
* fix liblocationd tests by adding lib suffix based on platform
* Update cereal
* Update opendbc
* Update opendbc
* Add acados gitignore to release files
* Update cereal
* Update cereal
* Add scons_cache to build cache
* Add Caskroom to cache
* Fix typo
* Link all packages at once, instead of one by one
* Run cleanup stage using poetry
* Remove casks from cache
* Move scons cache to separate cache step
* Save scons cache only on master
* Remove restore-keys from save-scons-cache step
* Uncomment if conditions for scons save
* Add gcc-arm-embedded cask cache to cache
* Custom handling of gcc-arm-embedded toolchain cache
* Rename dep cache key
* Exclude .fseventsd from cache
* Fix glob pattern
* Remove .feventsd before caching
* Run mac_setup only if dependency cache-hit != true
* Update cereal to master
* Add overwrite flag to brew link
* Remove manual casadi build from mac_setup
* Remove restore-keys from dependency cache
* Remove linux requirement for casadi
* Restore restore-keys to dependency cache
old-commit-hash: 45a6834a74
2 years ago
Vivek Aithal
09073a7286
[paramsd] Add a hysteresis band for valid checks where applicable ( #28546 )
...
* add a hysteresis band for the slow offset valid check
* add hysteresis to total_ofset and roll valid cases
* bugfix: roll is in radians, offsets are in degs
* remove defaults
* remove kwarg
* remove slow offset check while loading params
old-commit-hash: dfbdcbad73
2 years ago
Harald Schäfer
091964205d
Laikad: Need to understand constellationId to understand clock ( #28552 )
...
Need to understand constellationId to understand clock
old-commit-hash: 6d25f66cf1
2 years ago
Harald Schäfer
a0628ce816
Disable internet in laikad.py, even in CI ( #28535 )
...
* Limit OPENBLAS to 1 thread in manager
* Restrict openblas threads when running openpilot
* print in CI
* Disable internet for laika, even in CI
* update ref
old-commit-hash: 155cab9ec4
2 years ago
Kacper Rączy
c11ead32d6
locationd: initial value for gps_std_factor ( #28533 )
...
* setup_gps method
* Add LocalizerGnssSource
* slight refactor
* make it more readable
* Move gnss_source initialization to configure_gnss_souce
* Add gps_variance_factor, gps_vertical_variance_factor and gps_time_offset
* add header changes
old-commit-hash: 242e8d2ca8
2 years ago
Dean Lee
d0199b64b5
laikad: move 'from_qcom_source' into try block ( #28510 )
...
fix not cached except
old-commit-hash: 825c5a87df
2 years ago
YassineYousfi
4de14c1130
hot coffee model ( #28296 )
...
* 1061b1c7-b944-43e3-a940-b56b64d66f54/700
* bump cereal
* bump cereal
* make mypy happy
* write TODO
* read height from written params
* fix certain_if_calib logic and unit tests
* factor moving_avg_with_linear_decay
* remove whitespace
* update model ref commit
* default value for CI
* update process replay ref commit
* update process replay ref commit
* update process replay ref commit
* bump cereal
old-commit-hash: 7925232a34
2 years ago
Kacper Rączy
37fb563225
locationd: add filterState ( #28340 )
...
* Add filterState to published messages
* Hide it behind DEBUG flag
* Update cereal
* Update cereal
old-commit-hash: 9abe95c949
2 years ago
Kacper Rączy
7656bb16bb
laikad: unit test refactor ( #28295 )
...
Refactor laika tests to use replay_process
old-commit-hash: 1f0ff21eee
2 years ago
Harald Schäfer
74bb4956ab
Calibrationd: allow more pitch angle ( #28255 )
...
* Calibrationd: allow more pitch angle
* Update ref_commit
old-commit-hash: 2c65b843a5
2 years ago
Harald Schäfer
f6900301a5
QCOM laikad: add glonass support ( #28217 )
...
* QCOM laikad: add glonass support
* reject garbage timestamps
* update ref
old-commit-hash: 703fe85cf5
2 years ago
Harald Schäfer
5ddceb553d
Calibrationd: make recalibrating alert ( #28149 )
...
* Initial
* fixes
* not an int anymore
* elif
* revert ref
* update ref
* fix alert text
* regen refs
* update ref
* add recalibration unit test
* set into recalibration state
* fix words
* recalib
* text
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 598343aad1
2 years ago
Harald Schäfer
c8de368187
Laikad: blocking raw_gnss receive ( #28083 )
...
* Blocking receive
* redundant
* rm clocks
* timeout irrelevant now
old-commit-hash: bb3388f9d2
2 years ago
Adeeb Shihadeh
60dc9c90e4
laikad: disable internet in non-replay CI ( #28076 )
...
old-commit-hash: 9f87df66cb
2 years ago
Bruce Wayne
a6b4940c8b
Revert "LaikaD: new proc_replay segment and no internet laikad ( #28029 )"
...
This reverts commit 1341b59160ffa9db29d589f3fe4dd38691361165.
old-commit-hash: 613bbcd626
2 years ago
Harald Schäfer
bd9b02915f
LaikaD: new proc_replay segment and no internet laikad ( #28029 )
...
* no internet in CI
* add new segment
* new ref
old-commit-hash: fbb7dcb19c
2 years ago
Harald Schäfer
73e00a05ac
Calibration remount detector: soft disable ( #27993 )
...
* Calibration remount detector: soft disable
* Update test_calibrationd.py
old-commit-hash: a979a54cf9
2 years ago
Shane Smiskol
c8cf77b7a7
locationd: log time to first fix ( #27990 )
...
* locationd ttff
* log time to first fix
* rename
* max it like laikad
* Update selfdrive/locationd/locationd.cc
* Update ref_commit
* Log when gpsOK first becomes true
* don't forget to update current time!
* stash
* make it deterministic (no proc replay cur time)
* Update ref_commit
* rename to make this clear
old-commit-hash: 03eb02906d
2 years ago
Harald Schäfer
44aa799d91
Calibrationd: fix reset smoothing ( #27992 )
...
* Add test for smoothing
* fix smooth cycles
* fix calib reset smoothing
old-commit-hash: ee15d6b1d1
2 years ago
Harald Schäfer
1217e0b678
Calibrationd: unit tests ( #27988 )
...
* Add calibrationd unit tests
* more tests
old-commit-hash: dab9c55d38
2 years ago
Harald Schäfer
fc6a779d12
Laikad: fix bad init elevation incorrect ( #27974 )
...
* Laikad: fix bad init elevation incorrect
* update ref
old-commit-hash: 922b09de96
2 years ago
Shane Smiskol
1f46287206
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
old-commit-hash: c9804f8ec2
2 years ago
Harald Schäfer
f6e3dc289c
Locationd qcom retune ( #27739 )
...
old-commit-hash: eca3838237
2 years ago
Shane Smiskol
c08e6fe35e
laikad: clean up cloudlog usage ( #27701 )
...
make an error, no need to pass e
old-commit-hash: 28cd8fc402
2 years ago
Harald Schäfer
5a66a16b5b
Laikad: catch and log ephemerides parsing errors ( #27698 )
...
* Laikad: catch and log ephemerides parsing errors
* exception instead of error
old-commit-hash: b418cbcbcf
2 years ago
Harald Schäfer
ae7ce5368c
Laika cleaner flow ( #27633 )
...
* laika flow
* test fixes
* unexpected type
* unexpected type
* explicit type
* ref commit
* back to prev val
* ref 2
old-commit-hash: e05e7850e1
2 years ago
Gijs Koning
5814ecfbfe
laikad: use non-conflating socket for gnss msgs ( #24888 )
...
* Use subsock
* wait for one
* wrong name
* try cpp proc replay
* fix recv pattern
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fc5a575ba3
2 years ago
Adeeb Shihadeh
c2fc5175fc
process replay: prep for laikad subsock + QCOM GPS ( #27632 )
...
* process replay: prep for laikad subsock
* cleanup
* fix for qcomGnss
* detect ublox
* more debug info in err
* wip
* cleanup
old-commit-hash: 7319afbd51
2 years ago
Harald Schäfer
d9fcd2887f
Bump laika ( #27618 )
...
* Laika on master
* use constellation id
old-commit-hash: 4718fa5748
2 years ago
Harald Schäfer
6d0116ae80
Ttff logs ( #27610 )
...
* ttff in logs
* More meta info
* cleanup
* passess tests
* unused import
* fix linting
* ttff of 0 is invalid
* ref commit
* bump cereal
* Update ref_commit
* sort ephem status list
* sort ephem status list
* update ref
old-commit-hash: 204f7d8623
2 years ago
Adeeb Shihadeh
869a9af32d
Revert "LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )"
...
This reverts commit 8324a349b4c267a83d96ff3f3c9d25f0b5bd7fcf.
old-commit-hash: 4cff94366f
2 years ago
Harald Schäfer
af464f3b94
LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )
...
* ttff in logs
* More meta info
* cleanup
* passess tests
* unused import
* fix linting
* ttff of 0 is invalid
* ref commit
* bump cereal
old-commit-hash: 95216de591
2 years ago
Harald Schäfer
d9cfe0221e
Laikad: always return msg ( #27599 )
...
* always return msg
* always return msg
* Not all qcom constellations are understood
* call error error
old-commit-hash: 5c38392785
2 years ago
Harald Schäfer
515645da51
LaikaD new cache version ( #27596 )
...
old-commit-hash: 38cb42f76a
2 years ago
Harald Schäfer
e3b77aef5f
Laikad: cleanup time range holder ( #27595 )
...
* cleanup time range holder
* update
* unused import
* unused import
* unused import
* bump laika
old-commit-hash: 896fa029f9
2 years ago
Harald Schäfer
48e4801621
Fix qcom laika caching and test ( #27594 )
...
old-commit-hash: 629e5f6bf2
2 years ago
Harald Schäfer
20dfe96afa
Use structs in laika ( #27585 )
...
* doesnt crash
* New cacher
* unused import
* help linter
* Annotate list
* print error
* fix caching bugs
* wrong name
* small fixes
* fix sum
* wrong brackets
* fix tests
* update ref
* bump submodules
old-commit-hash: 5c70482761
2 years ago
Adeeb Shihadeh
de9a100719
ubloxd: move to system/ ( #27536 )
...
* ubloxd: move to system/
* more fixes
* add missing sconscript
* fix valgrind tests
* uncomment
old-commit-hash: c97911dbad
2 years ago
Harald Schäfer
bc53c9199c
Pigeond: Request sat info msgs ( #27529 )
...
request sat info msgs
old-commit-hash: 231e9a950d
2 years ago
Adeeb Shihadeh
47d30174d3
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
old-commit-hash: 6f40f0d442
2 years ago
Harald Schäfer
a9b38c148d
Ubloxd: subframe 0 is not valid ( #27528 )
...
No 0 strings
old-commit-hash: ce900f34d0
2 years ago
Kurt Nistelberger
c4872ea2a6
laikad: fix qcom without internet ( #27468 )
...
move week
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: cb2a53ae80
2 years ago
Kurt Nistelberger
7ad3a3fd42
laikad: reduce min satellite number ( #27440 )
...
* bump laika
* update laikad tests
* update refs
* bump laika
* update refs
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: b688122042
2 years ago
Kurt Nistelberger
1a97edf8d2
laikad: use new cache param ( #27404 )
...
* add backward compatibility
* rename laikad cache file
* rm and update
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6b4ac801e7
2 years ago
Adeeb Shihadeh
5128ca0dd9
locationd: adjust GPS alive check for QCOM GPS ( #27339 )
...
* locationd: adjust GPS alive check for QCOM GPS
* update refs
* update refs
old-commit-hash: 00513f1001
2 years ago
Kurt Nistelberger
c524e5d29c
readd slot number logging
...
old-commit-hash: fe64e85363
2 years ago
Kurt Nistelberger
6320c05541
Ubloxd: glonass ephem parsing ( #27248 )
...
temp fix
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 5a0cbc35a5
2 years ago