Commit Graph

414 Commits

Author SHA1 Message Date
Kacper Rączy
1f0ff21eee laikad: unit test refactor (#28295)
Refactor laika tests to use replay_process
2023-05-25 11:34:10 -07:00
Harald Schäfer
2c65b843a5 Calibrationd: allow more pitch angle (#28255)
* Calibrationd: allow more pitch angle

* Update ref_commit
2023-05-24 11:41:01 +02:00
Harald Schäfer
703fe85cf5 QCOM laikad: add glonass support (#28217)
* QCOM laikad: add glonass support

* reject garbage timestamps

* update ref
2023-05-18 00:19:40 -07:00
Harald Schäfer
598343aad1 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>
2023-05-15 09:29:57 -07:00
Harald Schäfer
bb3388f9d2 Laikad: blocking raw_gnss receive (#28083)
* Blocking receive

* redundant

* rm clocks

* timeout irrelevant now
2023-05-03 13:03:25 -07:00
Adeeb Shihadeh
9f87df66cb laikad: disable internet in non-replay CI (#28076) 2023-05-01 22:02:06 -07:00
Bruce Wayne
613bbcd626 Revert "LaikaD: new proc_replay segment and no internet laikad (#28029)"
This reverts commit fbb7dcb19c.
2023-04-26 19:20:05 -07:00
Harald Schäfer
fbb7dcb19c LaikaD: new proc_replay segment and no internet laikad (#28029)
* no internet in CI

* add new segment

* new ref
2023-04-26 16:01:39 -07:00
Harald Schäfer
a979a54cf9 Calibration remount detector: soft disable (#27993)
* Calibration remount detector: soft disable

* Update test_calibrationd.py
2023-04-22 00:27:20 +00:00
Shane Smiskol
03eb02906d 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
2023-04-21 16:15:13 -07:00
Harald Schäfer
ee15d6b1d1 Calibrationd: fix reset smoothing (#27992)
* Add test for smoothing

* fix smooth cycles

* fix calib reset smoothing
2023-04-21 06:53:54 +00:00
Harald Schäfer
dab9c55d38 Calibrationd: unit tests (#27988)
* Add calibrationd unit tests

* more tests
2023-04-21 04:17:11 +00:00
Harald Schäfer
922b09de96 Laikad: fix bad init elevation incorrect (#27974)
* Laikad: fix bad init elevation incorrect

* update ref
2023-04-19 14:04:24 -07:00
Shane Smiskol
c9804f8ec2 quectel: move vertical accuracy sanity check (#27819)
* Update rawgpsd.py

* remove from locationd

* Update system/sensord/rawgps/rawgpsd.py

* flip
2023-04-10 20:46:12 -07:00
Harald Schäfer
eca3838237 Locationd qcom retune (#27739) 2023-03-29 16:35:30 -07:00
Shane Smiskol
28cd8fc402 laikad: clean up cloudlog usage (#27701)
make an error, no need to pass e
2023-03-26 23:06:09 -07:00
Harald Schäfer
b418cbcbcf Laikad: catch and log ephemerides parsing errors (#27698)
* Laikad: catch and log ephemerides parsing errors

* exception instead of error
2023-03-26 22:17:30 -07:00
Harald Schäfer
e05e7850e1 Laika cleaner flow (#27633)
* laika flow

* test fixes

* unexpected type

* unexpected type

* explicit type

* ref commit

* back to prev val

* ref 2
2023-03-22 19:10:19 -07:00
Gijs Koning
fc5a575ba3 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>
2023-03-21 17:07:19 -07:00
Adeeb Shihadeh
7319afbd51 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
2023-03-21 16:43:40 -07:00
Harald Schäfer
4718fa5748 Bump laika (#27618)
* Laika on master

* use constellation id
2023-03-17 16:39:44 -07:00
Harald Schäfer
204f7d8623 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
2023-03-16 22:09:05 -07:00
Adeeb Shihadeh
4cff94366f Revert "LAIKAD: TTFF, and ephemeris statuses in logs (#27591)"
This reverts commit 95216de591.
2023-03-16 19:01:45 -07:00
Harald Schäfer
95216de591 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
2023-03-16 17:00:54 -07:00
Harald Schäfer
5c38392785 Laikad: always return msg (#27599)
* always return msg

* always return msg

* Not all qcom constellations are understood

* call error error
2023-03-16 13:29:02 -07:00
Harald Schäfer
38cb42f76a LaikaD new cache version (#27596) 2023-03-15 20:26:19 -07:00
Harald Schäfer
896fa029f9 Laikad: cleanup time range holder (#27595)
* cleanup time range holder

* update

* unused import

* unused import

* unused import

* bump laika
2023-03-15 20:06:29 -07:00
Harald Schäfer
629e5f6bf2 Fix qcom laika caching and test (#27594) 2023-03-15 15:16:47 -07:00
Harald Schäfer
5c70482761 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
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh
c97911dbad ubloxd: move to system/ (#27536)
* ubloxd: move to system/

* more fixes

* add missing sconscript

* fix valgrind tests

* uncomment
2023-03-08 16:11:18 -08:00
Harald Schäfer
231e9a950d Pigeond: Request sat info msgs (#27529)
request sat info msgs
2023-03-08 13:07:33 -08:00
Adeeb Shihadeh
6f40f0d442 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
2023-03-08 10:56:54 -08:00
Harald Schäfer
ce900f34d0 Ubloxd: subframe 0 is not valid (#27528)
No 0 strings
2023-03-07 20:56:39 -08:00
Kurt Nistelberger
cb2a53ae80 laikad: fix qcom without internet (#27468)
move week

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-03-01 19:01:08 -08:00
Kurt Nistelberger
b688122042 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>
2023-02-28 21:40:54 -08:00
Kurt Nistelberger
6b4ac801e7 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>
2023-02-22 14:11:04 -08:00
Adeeb Shihadeh
00513f1001 locationd: adjust GPS alive check for QCOM GPS (#27339)
* locationd: adjust GPS alive check for QCOM GPS

* update refs

* update refs
2023-02-15 11:28:47 -08:00
Kurt Nistelberger
fe64e85363 readd slot number logging 2023-02-07 21:25:46 -08:00
Kurt Nistelberger
5a0cbc35a5 Ubloxd: glonass ephem parsing (#27248)
temp fix

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-07 17:49:51 -08:00
Kurt Nistelberger
6330cdd885 GPS: add tow to gps ephemeris (#27246)
* add tow to gps ephemeris

* bump cereal

* update refs

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-07 17:49:06 -08:00
Kurt Nistelberger
4f6fbdf590 Revert "ublox_day_fix"
This reverts commit 9af82c090e.
2023-02-07 15:02:21 -08:00
Kurt Nistelberger
9af82c090e ublox_day_fix 2023-02-07 15:01:47 -08:00
Kurt Nistelberger
04a7808590 glonass support laikad (#27173)
* add glonass kaitai parsing

* add kaita generated files

* remove glonass from build

* add string non immediate type

* fix kaitai bug

* cleanUp

* add patch file

* fix scons order

* make lookup const

* remove comments

* add to release files

* init

* add laika

* remove printf

* laikad add glonass ephem parsing

* add signs

* final ublox parsing

* rev gps

* bump subs

* address comments

* disable internet for laikad

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-02 20:16:28 -08:00
Kurt Nistelberger
4e27a7f22a Glonass support, ubloxd add ephemeris parsing (#27119)
* add glonass kaitai parsing

* add kaita generated files

* remove glonass from build

* add string non immediate type

* fix kaitai bug

* cleanUp

* add patch file

* fix scons order

* make lookup const

* remove comments

* rename

* add to release files

* add signs

* final ublox parsing

* bump cereal

* update ref

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-02 19:29:45 -08:00
Kurt Nistelberger
3d98cb72c0 Ubloxd: gps add iodc check (#27162)
* gps add iodc check

* add test

* simplify

* update ref

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-01 14:19:40 -08:00
Vivek Aithal
519b3c8847 paramsd: Check if roll from the localizer is actually valid (#27105)
* add roll_valid check, use localizer roll when it is valid

* increase std to 1.5

* btter check

* avoid numpy

* update refs

* update refs
2023-02-01 11:21:51 -08:00
Kurt Nistelberger
549e4d9636 Ubloxd: move gps parsing to function (#27122)
move ublox gps parsing to function

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-30 16:40:37 -08:00
Kurt Nistelberger
e2f5b164bd Ubloxd: glonass parsing tests (#27125)
* add glonass kaitai parsing

* add kaita generated files

* remove glonass from build

* add string non immediate type

* fix kaitai bug

* cleanUp

* add patch file

* fix scons order

* make lookup const

* remove comments

* rename

* add to release files

* remove printf

* add signs

* add glonass parsing test

* finish up glonass kaitai tests

* move cereal back to master

* ignore test_runner

* sign is not two complement

* address comments
---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-30 16:34:07 -08:00
Kurt Nistelberger
53ccec7697 Revert "add signs to glonass ksy"
This reverts commit aa71947ebc.
2023-01-28 16:48:26 -08:00
Kurt Nistelberger
aa71947ebc add signs to glonass ksy 2023-01-28 16:47:26 -08:00