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: 5c6efd2aab5c832fb9405128b2276eab4cd8c8a5
2023-06-28 21:08:18 -07:00
Kacper Rączy
215819c218
paramsd: expose filterState in debug mode ( #28627 )
...
* Update cereal
* Expose filterState in debug mode.
old-commit-hash: b6c3f69dc07de97850b076da30f84fbff767e44a
2023-06-23 13:45:40 -07:00
Harald Schäfer
86b8e2eb8c
Qcom localizer: erratic clocks have an erratic error rate too ( #28654 )
...
Erratic clocks drift erratically too
old-commit-hash: af9edb020ddd3d12db8acd531180a8b77ae95225
2023-06-23 09:44:37 -07:00
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: 45a6834a744e13833e702ed6eb3c5483391cf899
2023-06-21 13:14:20 -07:00
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: dfbdcbad730fd987e388957f26918041f6066122
2023-06-15 20:17:06 -07:00
Harald Schäfer
091964205d
Laikad: Need to understand constellationId to understand clock ( #28552 )
...
Need to understand constellationId to understand clock
old-commit-hash: 6d25f66cf1cd8e3912719b79a44c4ff0fa013328
2023-06-14 19:54:51 -07:00
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: 155cab9ec4f75da43cf2f89c51651bf74d11b021
2023-06-13 23:39:11 -07:00
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: 242e8d2ca879665a0dbbf49ea291b86d4f62461d
2023-06-13 16:12:53 -07:00
Dean Lee
d0199b64b5
laikad: move 'from_qcom_source' into try block ( #28510 )
...
fix not cached except
old-commit-hash: 825c5a87df1bc4ac4630c550697e19f048d05317
2023-06-12 17:05:43 -07:00
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: 7925232a349388f3435940c90989f957746d918a
2023-06-02 20:55:13 -07:00
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: 9abe95c949747e87f059ea0810c03b01305110c5
2023-05-31 15:01:12 -07:00
Kacper Rączy
7656bb16bb
laikad: unit test refactor ( #28295 )
...
Refactor laika tests to use replay_process
old-commit-hash: 1f0ff21eee457f635059325bdcde61fc1bc6f0b4
2023-05-25 11:34:10 -07:00
Harald Schäfer
74bb4956ab
Calibrationd: allow more pitch angle ( #28255 )
...
* Calibrationd: allow more pitch angle
* Update ref_commit
old-commit-hash: 2c65b843a573f260f378489457d32c9061f4a139
2023-05-24 11:41:01 +02:00
Harald Schäfer
f6900301a5
QCOM laikad: add glonass support ( #28217 )
...
* QCOM laikad: add glonass support
* reject garbage timestamps
* update ref
old-commit-hash: 703fe85cf5d00fe18e0c8fcef25215b65db59500
2023-05-18 00:19:40 -07:00
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: 598343aad18a7896c6b65ff6e19f9e27ba19cc10
2023-05-15 09:29:57 -07:00
Harald Schäfer
c8de368187
Laikad: blocking raw_gnss receive ( #28083 )
...
* Blocking receive
* redundant
* rm clocks
* timeout irrelevant now
old-commit-hash: bb3388f9d2f573ddd85d8b29a39c2bce472ca7b5
2023-05-03 13:03:25 -07:00
Adeeb Shihadeh
60dc9c90e4
laikad: disable internet in non-replay CI ( #28076 )
...
old-commit-hash: 9f87df66cb087477bc70af2e5b4e27e6865e7a6f
2023-05-01 22:02:06 -07:00
Bruce Wayne
a6b4940c8b
Revert "LaikaD: new proc_replay segment and no internet laikad ( #28029 )"
...
This reverts commit 1341b59160ffa9db29d589f3fe4dd38691361165.
old-commit-hash: 613bbcd62661eecda609cfa32be2e31a6bb490ca
2023-04-26 19:20:05 -07:00
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: fbb7dcb19c2d864f951068e1a45b7293a6b4fd92
2023-04-26 16:01:39 -07:00
Harald Schäfer
73e00a05ac
Calibration remount detector: soft disable ( #27993 )
...
* Calibration remount detector: soft disable
* Update test_calibrationd.py
old-commit-hash: a979a54cf9ce02610cc0999a52a9fbed2f7d4cbb
2023-04-22 00:27:20 +00:00
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: 03eb02906d9f43799fc93f71ef32331bcf090157
2023-04-21 16:15:13 -07:00
Harald Schäfer
44aa799d91
Calibrationd: fix reset smoothing ( #27992 )
...
* Add test for smoothing
* fix smooth cycles
* fix calib reset smoothing
old-commit-hash: ee15d6b1d1b2f90815d0cbf3c0f6b5adfdb0a59f
2023-04-21 06:53:54 +00:00
Harald Schäfer
1217e0b678
Calibrationd: unit tests ( #27988 )
...
* Add calibrationd unit tests
* more tests
old-commit-hash: dab9c55d3871d477ea2179884e2b325003c89fc0
2023-04-21 04:17:11 +00:00
Harald Schäfer
fc6a779d12
Laikad: fix bad init elevation incorrect ( #27974 )
...
* Laikad: fix bad init elevation incorrect
* update ref
old-commit-hash: 922b09de96201e4c0d1cdf6027dc07b1d76902d0
2023-04-19 14:04:24 -07:00
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: c9804f8ec20fd60a42c17d61d07da83406c5ff31
2023-04-10 20:46:12 -07:00
Harald Schäfer
f6e3dc289c
Locationd qcom retune ( #27739 )
...
old-commit-hash: eca3838237463fe34c6abd0e6592a935008d8ff6
2023-03-29 16:35:30 -07:00
Shane Smiskol
c08e6fe35e
laikad: clean up cloudlog usage ( #27701 )
...
make an error, no need to pass e
old-commit-hash: 28cd8fc402bf47b119f960bd2bb511468f43d230
2023-03-26 23:06:09 -07:00
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: b418cbcbcfd5d51fd802477345255645941c0d5f
2023-03-26 22:17:30 -07:00
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: e05e7850e176c4a229608c3972c665b11510d9e3
2023-03-22 19:10:19 -07:00
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: fc5a575ba3aef8fd4b3b7bac93bbc557c3bee11a
2023-03-21 17:07:19 -07:00
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: 7319afbd516ea1b32736d67d8c5be7663dce9ae3
2023-03-21 16:43:40 -07:00
Harald Schäfer
d9fcd2887f
Bump laika ( #27618 )
...
* Laika on master
* use constellation id
old-commit-hash: 4718fa574813b966557e453f25ab65a56fbce8fa
2023-03-17 16:39:44 -07:00
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: 204f7d862390d86ab958275cd887b8cbc3e66f66
2023-03-16 22:09:05 -07:00
Adeeb Shihadeh
869a9af32d
Revert "LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )"
...
This reverts commit 8324a349b4c267a83d96ff3f3c9d25f0b5bd7fcf.
old-commit-hash: 4cff94366f751e53363c811a129f0d2dd93b4655
2023-03-16 19:01:45 -07:00
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: 95216de5910c62bf81a7bf6053b5917de98dc825
2023-03-16 17:00:54 -07:00
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: 5c383927859a20feccdccaf0102f8d0924d28134
2023-03-16 13:29:02 -07:00
Harald Schäfer
515645da51
LaikaD new cache version ( #27596 )
...
old-commit-hash: 38cb42f76aa9fe21b0e71569934864d578499c8e
2023-03-15 20:26:19 -07:00
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: 896fa029f93501af7871e7e5edced2bc0885d53f
2023-03-15 20:06:29 -07:00
Harald Schäfer
48e4801621
Fix qcom laika caching and test ( #27594 )
...
old-commit-hash: 629e5f6bf21460f1f50d0a56c131440e0ab4f0b5
2023-03-15 15:16:47 -07:00
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: 5c704827619e774c9877b4598af06d1c6bca80d2
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh
de9a100719
ubloxd: move to system/ ( #27536 )
...
* ubloxd: move to system/
* more fixes
* add missing sconscript
* fix valgrind tests
* uncomment
old-commit-hash: c97911dbad15c3cc7dc577b305ab9aed775e021f
2023-03-08 16:11:18 -08:00
Harald Schäfer
bc53c9199c
Pigeond: Request sat info msgs ( #27529 )
...
request sat info msgs
old-commit-hash: 231e9a950dc32b322602815a25486fdc50ec2091
2023-03-08 13:07:33 -08:00
Adeeb Shihadeh
47d30174d3
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
old-commit-hash: 6f40f0d4427f4238c3939a64d1d6baa7d77f1ecc
2023-03-08 10:56:54 -08:00
Harald Schäfer
a9b38c148d
Ubloxd: subframe 0 is not valid ( #27528 )
...
No 0 strings
old-commit-hash: ce900f34d08b423e9f3ebed0d028692bb9198dea
2023-03-07 20:56:39 -08:00
Kurt Nistelberger
c4872ea2a6
laikad: fix qcom without internet ( #27468 )
...
move week
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com >
old-commit-hash: cb2a53ae80ab3917986266290f37ef0228a6ca21
2023-03-01 19:01:08 -08:00
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: b6881220426ac231215bbf4476f6fedd11e3e540
2023-02-28 21:40:54 -08:00
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: 6b4ac801e7ecb1addf74c9018958469741b609a3
2023-02-22 14:11:04 -08:00
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: 00513f10011ad6ad693fbbc9b4b5dc7df36f9a79
2023-02-15 11:28:47 -08:00
Kurt Nistelberger
c524e5d29c
readd slot number logging
...
old-commit-hash: fe64e853639e00d6d2cc8910d66b9b8c6f56c808
2023-02-07 21:25:46 -08:00
Kurt Nistelberger
6320c05541
Ubloxd: glonass ephem parsing ( #27248 )
...
temp fix
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com >
old-commit-hash: 5a0cbc35a544f448e8db1e1578de7607b39a3e76
2023-02-07 17:49:51 -08:00