Commit Graph

427 Commits

Author SHA1 Message Date
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
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: 6330cdd88513d9dad3e5ab00811c4a5223924423
2023-02-07 17:49:06 -08:00
Kurt Nistelberger 2a64606eb0 Revert "ublox_day_fix"
This reverts commit de1b9576fa1b309469cc0bb0dde2945453fd9490.

old-commit-hash: 4f6fbdf590fdcd9e1327cb42905fa17542d64f73
2023-02-07 15:02:21 -08:00
Kurt Nistelberger 5cf9b71792 ublox_day_fix
old-commit-hash: 9af82c090e1bcb0d76b4c2468d538c75b6e9c650
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: 04a7808590ac55a5e3dea6080b6a24aae78d9277
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: 4e27a7f22a94ee5d8afc0476a6781f7e19b6fcf0
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: 3d98cb72c08ec5d9b9ac5645ea9effecadd6bc38
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: 519b3c8847d5c054b130667977e181cc7e54e7fa
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: 549e4d9636036af228d3d930d69e8dfd1f67dba6
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: e2f5b164bd3dcffc5a11ef552f83296c34991949
2023-01-30 16:34:07 -08:00
Kurt Nistelberger 427223c4f7 Revert "add signs to glonass ksy"
This reverts commit 6b2185244559f734cbd5756b3371de101b31b1c7.

old-commit-hash: 53ccec7697247a06ad64fe056dcf07e026a011af
2023-01-28 16:48:26 -08:00
Kurt Nistelberger 54951d95e9 add signs to glonass ksy
old-commit-hash: aa71947ebc9c286a13f86458ea0e970ca0d7a0c7
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: 8d447e8a081e878a55707cc2840a6d08d88102ca
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: 6f0d35a09f54866ff2c7a76993c2f11e96fdf869
2023-01-26 17:25:15 -08:00
Vivek Aithal 905cd786f1 torqued: Update reset logic (#27103)
* update reset logic

* bugfix
old-commit-hash: 9201267fb7ba0080a3c508a6a258f76cbc265079
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: 7ba8e56e877e8d0332def1fb4fedc09945776132
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: 027c27cd690120d8ff8823f0b53cc2c9d6af7df3
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: 9131da9103718d6ae113ad7b3519037e2b4ffa70
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: b7ce77b3aa48c3605554f63068a13860023eff86
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: 669becadde77d79443d933364234212c10d56151
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: af97a96080428976abf2f65aa7deec109a015032
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: 4c33d94d3f088c6f1fc88a0f40f3a828968c1c52
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: c44b6225592c070d87d2b3e77018a623d344f054
2023-01-14 10:34:59 -08:00
Kurt Nistelberger 9bbc5bdfb1 temporary revert laikad as main gps
old-commit-hash: 1e8e4f7ede35d9a95c97ccfbb0bf8d7c5df46e39
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: 2e36d07106c7e4e8e12afe0c33762abbf217a416
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: 88423e25df8bfbd8e6a3275eb086f468cf9a59f1
2023-01-13 11:37:38 -08:00