Commit Graph

427 Commits

Author SHA1 Message Date
Harald Schäfer f6e3dc289c Locationd qcom retune (#27739)
old-commit-hash: eca3838237
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: 28cd8fc402
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: b418cbcbcf
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: e05e7850e1
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: fc5a575ba3
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: 7319afbd51
2023-03-21 16:43:40 -07:00
Harald Schäfer d9fcd2887f Bump laika (#27618)
* Laika on master

* use constellation id
old-commit-hash: 4718fa5748
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: 204f7d8623
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: 4cff94366f
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: 95216de591
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: 5c38392785
2023-03-16 13:29:02 -07:00
Harald Schäfer 515645da51 LaikaD new cache version (#27596)
old-commit-hash: 38cb42f76a
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: 896fa029f9
2023-03-15 20:06:29 -07:00
Harald Schäfer 48e4801621 Fix qcom laika caching and test (#27594)
old-commit-hash: 629e5f6bf2
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: 5c70482761
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: c97911dbad
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: 231e9a950d
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: 6f40f0d442
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: ce900f34d0
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: cb2a53ae80
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: b688122042
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: 6b4ac801e7
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: 00513f1001
2023-02-15 11:28:47 -08:00
Kurt Nistelberger c524e5d29c readd slot number logging
old-commit-hash: fe64e85363
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: 5a0cbc35a5
2023-02-07 17:49:51 -08:00
Kurt Nistelberger 466f83cba5 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>
old-commit-hash: 6330cdd885
2023-02-07 17:49:06 -08:00
Kurt Nistelberger 2a64606eb0 Revert "ublox_day_fix"
This reverts commit de1b9576fa1b309469cc0bb0dde2945453fd9490.

old-commit-hash: 4f6fbdf590
2023-02-07 15:02:21 -08:00
Kurt Nistelberger 5cf9b71792 ublox_day_fix
old-commit-hash: 9af82c090e
2023-02-07 15:01:47 -08:00
Kurt Nistelberger d0d606176a 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>
old-commit-hash: 04a7808590
2023-02-02 20:16:28 -08:00
Kurt Nistelberger 0c8cd2c07e 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>
old-commit-hash: 4e27a7f22a
2023-02-02 19:29:45 -08:00
Kurt Nistelberger 5ab2a359df Ubloxd: gps add iodc check (#27162)
* gps add iodc check

* add test

* simplify

* update ref

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 3d98cb72c0
2023-02-01 14:19:40 -08:00
Vivek Aithal b6eae6f146 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
old-commit-hash: 519b3c8847
2023-02-01 11:21:51 -08:00
Kurt Nistelberger 2e62b4f08c Ubloxd: move gps parsing to function (#27122)
move ublox gps parsing to function

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 549e4d9636
2023-01-30 16:40:37 -08:00
Kurt Nistelberger 0135d85a6d 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>
old-commit-hash: e2f5b164bd
2023-01-30 16:34:07 -08:00
Kurt Nistelberger 427223c4f7 Revert "add signs to glonass ksy"
This reverts commit 6b2185244559f734cbd5756b3371de101b31b1c7.

old-commit-hash: 53ccec7697
2023-01-28 16:48:26 -08:00
Kurt Nistelberger 54951d95e9 add signs to glonass ksy
old-commit-hash: aa71947ebc
2023-01-28 16:47:26 -08:00
Vivek Aithal 39e10d3ae3 [RAM 1500 5TH GEN] Disable Live Torque (#27121)
* revert ram on live torque

* update refs

* update refs
old-commit-hash: 8d447e8a08
2023-01-27 15:20:59 -08:00
Kurt Nistelberger e35b2e6e4f Glonass ephemeris support (#27088)
* add glonass kaitai parsing

* add kaita generated files

* remove glonass from build

* add string non immediate type

* fix kaitai bug

* add patch file

* fix scons order

* Update selfdrive/locationd/SConscript

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6f0d35a09f
2023-01-26 17:25:15 -08:00
Vivek Aithal 905cd786f1 torqued: Update reset logic (#27103)
* update reset logic

* bugfix
old-commit-hash: 9201267fb7
2023-01-26 14:48:46 -08:00
Vivek Aithal f549106466 [RAM 1500 5TH GEN] Update offline torque parameters and enable torqued (#27072)
* make run torque learnable

* update ram offline values

* add ram 1500 to torqued

* update refs
old-commit-hash: 7ba8e56e87
2023-01-24 19:22:13 -08:00
Kurt Nistelberger c517e76764 Laikad: add test (#27028)
* add laikad tropo test

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 027c27cd69
2023-01-20 22:19:01 -08:00
Kurt Nistelberger 1cd22ead91 Revert "Add low Gnss laikad test (#26987)"
This reverts commit 453c31b007237ae5009c4a9e0bb3afa04aa12f84.

old-commit-hash: 9131da9103
2023-01-19 11:46:22 -08:00
Kurt Nistelberger 84a95cdc89 Add low Gnss laikad test (#26987)
* add low gnss test

* enable laikad

* temp fix for cache

* update replay

* save LaikadEphemeris for testing

* rem

* update refs

* add comment

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: b7ce77b3aa
2023-01-18 22:29:12 -08:00
Kurt Nistelberger 6509690ac3 Ublox tow continuity check (#27001)
* add continuity check

* simplify

* remove pair

* update refs

* bump laika update refs

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 669becadde
2023-01-18 18:57:54 -08:00
Harald Schäfer f1f5f15f12 Add lane ekf (#26986)
* change lane_kf pos

* add lane back here
old-commit-hash: af97a96080
2023-01-16 19:43:34 -08:00
Harald Schäfer 63efb985cd Revert locationd to gpsLocation (#26963)
* revert locationd laika change

* switch msg

* change proc replay

* back to gpslocation

* update ref

* no np floats in msg

* Ignore empty laikad messages in mapos

* more tolerance

* c++ doesnt work like that
old-commit-hash: 4c33d94d3f
2023-01-14 16:56:14 -08:00
Bruce Wayne 29d4e1645e Revert "temporary revert laikad as main gps"
This reverts commit a4b9a7fec9c07a42dcb1bb990471a92aa4476855.

old-commit-hash: c44b622559
2023-01-14 10:34:59 -08:00
Kurt Nistelberger 9bbc5bdfb1 temporary revert laikad as main gps
old-commit-hash: 1e8e4f7ede
2023-01-13 22:24:16 -08:00
Vivek Aithal f28fb581f1 paramsd: Remove one active condition (#26922)
* remove one active condition

* update refs

* remove unused vars

* update refs

* update refs
old-commit-hash: 2e36d07106
2023-01-13 13:23:06 -08:00
Kurt Nistelberger 9570336e6c Laikad: set active (#26850)
* laikad update, renaming

* update locationd

* fix naming

* address PR comments

* upsi

* .

* draft to fix replay

* fix process relay to allow no response for messages

* final fix for process replay

* .

* bump cereal

* update process replay ref commit

* reduce wait time

* .

* last ref change

* move laikad helpers to laika

* .

* fix ublox test

* update refs

* add proper qcom replay support

* fix gnss support if both is available

* update refs

* remove left over

* revert laikad msg

* move laika back to master

* init

* fix gps valid flag

* change time

* add gnss to ignore

* remove gps_valid flag

* .

* adopt orientation reset threshold

* .

* update laikad

* .

* fix stanstill KF resets

* test orienation reset count

* update laika

* bump cereal

* fix process replay

* update laika repo

* remove handle gps

* add extra logging for cache

* .

* add more log

* .

* .

* update laika

* dont remove gps code

* inc min satellite count

* update magic vals and add acc drop

* update laika

* upsi

* rem

* bump laika

* use nav and correct

* more fixes

* use sftp

* No more glonass

* Revert "No more glonass"

This reverts commit a76124da50a1e25f423ad1137c7a046e1d57811d.

* nump laika

* back support old ephemeris cache

* add health to ephemeris message

* bump laika

* remove print

* fix laikad tests

* clean

* remove extra log

* bump laika

* inc timeout for plotjuggler build

* rem cache clear

* .

* enable gps after checks

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 88423e25df
2023-01-13 11:37:38 -08:00