Commit Graph

423 Commits

Author SHA1 Message Date
Adeeb Shihadeh bdc5477a75 unicore gps (#31852)
* ugpsd

* oops

* cleanup

* disable

* more docs

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4af932b74b
2024-03-12 22:33:45 -07:00
Adeeb Shihadeh 5733c516c3 move pigeond to system/ubloxd/ (#31848)
* move pigeond to system/ubloxd/

* update release

* more

* mv test
old-commit-hash: 147ccc7a58
2024-03-12 17:13:13 -07:00
Adeeb Shihadeh da31ce154a refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
old-commit-hash: e3589e4b5c
2024-03-10 16:56:50 -07:00
Adeeb Shihadeh 050662fdd0 cgpsd: use a real source
old-commit-hash: 4d1b100152
2024-03-09 23:33:24 -08:00
ZwX1616 ec2d235c69 camerad: OS04C10 operational (#31674)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* add base comment

* clean up

* make orders clear

* not abcd

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7eb1e95884
2024-03-08 16:43:18 -08:00
Adeeb Shihadeh 098f5943d0 update cavli config
old-commit-hash: 06ab3de4de
2024-03-08 14:11:08 -08:00
Adeeb Shihadeh 294e055d8b cgpsd: use hasFix
old-commit-hash: bfd6ab68b5
2024-03-08 13:29:42 -08:00
Adeeb Shihadeh 6bf5c62155 add hasFix field to gpsLocation (#31778)
* add hasFix field to gpsLocation

* migration

* update refs for ubloxd

* cereal master
old-commit-hash: a0389d7120
2024-03-08 11:32:38 -08:00
Adeeb Shihadeh b73a5fba4c fix old route sorting (#31787)
* fix old route sorting

* cleanup

* Update system/loggerd/uploader.py

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 158e36976b
2024-03-07 19:22:06 -08:00
Adeeb Shihadeh 675b860983 cgpsd: check checksums and log some accuracies (#31784)
* check checksum

* some accuracy

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 428397a18b
2024-03-07 17:24:29 -08:00
Adeeb Shihadeh 383f9518df cgpsd (#31781)
* cgpsd

* latlong is good

* more sentences

* little more

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fbe6b2c73b
2024-03-07 16:40:13 -08:00
Adeeb Shihadeh 402e8f8b0e encoderd: fix large frames (#31681)
* encoderd: fix large frames

* Update camera_common.cc

* just do this for now

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 84797482e9
2024-03-06 16:19:08 -08:00
Adeeb Shihadeh 9735cf2eb6 timeless routes (#31119)
* timeless route

* update sort

* update test

* fix param name
old-commit-hash: 7cfc571f56
2024-03-05 20:43:33 -08:00
Kacper Rączy 74361d61a3 webrtcd: ability to have multiple streams publishing same message (#31700)
Use single PubMaster with dynamic services
old-commit-hash: 032c0878b8
2024-03-05 12:14:50 -08:00
Kacper Rączy b89fae4aa9 webrtcd: allow empty bridge_services_out (#31694)
* Test case

* Add messaging only if services non empty

* Fix webrtcd

* Use parametrized_class

* Bump to master teleoprtc
old-commit-hash: 09e73f8fb6
2024-03-04 15:04:28 -08:00
Adeeb Shihadeh c6159f99cd tici: enable SIM hot swap (#31680)
* tici: enable SIM hot swap

* only tizi

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a38a5e8bb4
2024-03-01 17:24:22 -08:00
Comma Device 646861b75a no amp
old-commit-hash: 9616b3f717
2024-03-01 15:32:33 -08:00
Harald Schäfer add26a5d1f GpsLocation: Rename accuracy to horizontal accuracy (#31629)
* Rename accuracy to horizontal accuracy

* typo in cereal
old-commit-hash: 85eb221e4c
2024-02-28 19:55:57 -08:00
Justin Newberry 013a965d1a tici tests: remove pytest.main (#31622)
pytest.main is bad!
old-commit-hash: 19db56b1f6
2024-02-27 14:06:18 -08:00
Comma Device e7c60bdec0 no amp config
old-commit-hash: 14ea615ae4
2024-02-26 20:39:41 -08:00
Adeeb Shihadeh f6732eca41 get name from kernel (#31602)
* get name from kernel

* revert that

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3c4e82f14a
2024-02-26 20:21:44 -08:00
Cameron Clough a09300385b mypy: use implicit-optional (#31590)
* mypy: set implicit-optional = true

* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee14
2024-02-25 13:29:18 -08:00
Cameron Clough 9bd90112d0 use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh 7410a1c448 agnos 9.7 (#31564)
* agnos 9.7

* update
old-commit-hash: 92475d653b
2024-02-23 17:41:03 -08:00
Adeeb Shihadeh 5e81beb77e remove deviceState.ambientTempC (#31533)
old-commit-hash: 0b4d08fab8
2024-02-21 13:57:49 -08:00
Adeeb Shihadeh f5beedfaec qcomgpsd: use AT helper with retry for all AT commands (#31532)
old-commit-hash: 34138d0be9
2024-02-21 13:57:29 -08:00
Adeeb Shihadeh dd3b005456 uploader: sleep more when no files in queue (#31523)
* uploader: sleep more when no files in queue

* fix test
old-commit-hash: 1c794b710c
2024-02-20 17:25:12 -08:00
Adeeb Shihadeh c925fd2d89 [bot] Update Python packages and pre-commit hooks (#31508)
* Update Python packages and pre-commit hooks

* remove that

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: be4bbca9a3
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh df6154b591 log git commit date (#31490)
* log git commit date

* unix ts

* fix

* bump cereal

* cleanup
old-commit-hash: 0723c2bc5f
2024-02-16 13:19:10 -08:00
Justin Newberry bde8845913 test_qcomgpsd: subtest the gps_runtime scenarios (#31485)
* subtest this

* runtime

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c2b9f7163a
2024-02-15 13:12:11 -08:00
Justin Newberry 955508c7ab Revert "test_qcomgpsd: parametize tests" (#31441)
Revert "test_qcomgpsd: parametize tests (#31430)"

This reverts commit 29d2fa667dcb6617d947a6bc1e80479774396dc0.
old-commit-hash: 659cdec3d0
2024-02-13 15:27:36 -08:00
Adeeb Shihadeh 4101f3d725 tici: log SOM ID (#31440)
* tici: log SOM ID

* no cat
old-commit-hash: 3cf845d952
2024-02-13 15:01:32 -08:00
Adeeb Shihadeh 9fab120968 timed: publish clocks periodically (#31434)
* timed: publish clocks periodically

* simplify

* Apply suggestions from code review
old-commit-hash: c5739651a2
2024-02-13 14:22:46 -08:00
Justin Newberry c80b2283a4 test_qcomgpsd: parametize tests (#31430)
* parameterize qcomgpsd

* one line
old-commit-hash: 6f4d388348
2024-02-13 11:16:24 -08:00
Adeeb Shihadeh adcac1f207 SubMaster: improve service aliveness checks (#31391)
* bump cereal

* fix

* fixes

* single poll

* bump

* bump

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 279d2c3b23
2024-02-12 10:11:37 -08:00
Justin Newberry de4644aa73 camerad: assert isp started successfully (#31385)
* isp assert

* disable this for testing

* Revert "disable this for testing"

This reverts commit e65cf6d4b4.

* move below
old-commit-hash: c9951e9d6c
2024-02-10 14:49:45 -08:00
Adeeb Shihadeh b4c03185d4 bump cereal (#31392)
* bump cereal

* update those

* update refs

* bump cereal

* bump

* bump cereal

* bump

* fix

* bump

* typo:
old-commit-hash: daceb171bd
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh db71508d61 sensord: fix IRQ affinity (#31384)
old-commit-hash: 135deb4324
2024-02-08 16:40:43 -08:00
Justin Newberry eee5af9baa test_power_draw: combine mapsd and navmodeld (#31375)
* combine

* combine

* combine

* simpler

* nounion
old-commit-hash: 70288d1742
2024-02-08 11:31:55 -08:00
Adeeb Shihadeh 9b86a20d64 agnos 9.6 (#31357)
* agnos 9.6

* manifest
old-commit-hash: 4228b6420b
2024-02-07 16:15:09 -08:00
Justin Newberry 0fa5f49cac test_power_draw: wait for power instead of fixed warmup time (#31318)
* wait for valid

* reuuse that

* assert warmup

* Wip

* fix that

* reset

* none

* timeout

* maxlen

* consecutive

* proc

* fix

* local

* same as before

* mean

* fixes

* SA

* this is the real warmup time

* this is the real warmup time

* Cleanup

* Cleanup

* monotonic + len

* reduce duplication

* fix

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: caa9dff610
2024-02-07 13:54:46 -08:00
Adeeb Shihadeh c6378bab30 agnos 9.5 (#31313)
* agnos 9.4

* agnos 9.5
old-commit-hash: ff1dd1f4dd
2024-02-07 13:23:58 -08:00
Adeeb Shihadeh 35c9578c5e fix bootlog count (#31319)
old-commit-hash: cbd46802b0
2024-02-05 23:00:45 -08:00
Kacper Rączy be6fdf72ee webrtcd: lazy import of aiortc (#31304)
* Lazy imports in webrtcd

* Lazy imports in web.py

* Type hints

* Remove FrameReaderVideoStreamTrack

* leave the aiohttp.web import

* Leave the client session

* main leftover
old-commit-hash: 35d848ad52
2024-02-05 19:04:59 -08:00
Adeeb Shihadeh 973de5710a add cavli modem config (#31297)
* add cavli modem config

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a094179b4d
2024-02-04 14:26:03 -08:00
Greg Hogan 14e12980f5 simplify git remote is comma check (#31284)
* simplify git remote is comma check

* cast to str

* eliminate default and always return string

* add type annotation for cache decorator

* fix up default handling
old-commit-hash: 7affba06d8
2024-02-02 21:23:32 -08:00
Justin Newberry fd799bc05a Pytest: consistent hardware state for tici tests (#31279)
* consistent hardware

* consistent hardware

* moved

* this too

* ruff

* s

* duplicated

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0277fc5548
2024-02-02 14:18:01 -08:00
Adeeb Shihadeh 2632a41c1e encoderd: get frame size over vipc (#31276)
* encoderd: get frame size over vipc

* bump cereal

* fix ffmpeg

* no print
old-commit-hash: a5766e2796
2024-02-02 12:53:12 -08:00
Adeeb Shihadeh 53659bbb43 camerad: flip OS04C10 image
old-commit-hash: 4962ffa14c
2024-02-01 20:24:00 -08:00
Justin Newberry 05204fbde3 Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
old-commit-hash: 086c509fde
2024-01-31 18:47:49 -08:00