Commit Graph

140 Commits

Author SHA1 Message Date
Mitchell Goff
729d3ddcb5 Check msg count in test_power_draw (#28444)
* Check msg count in test_power_draw.

* Use drain_sock

* Bug fix

* Combine into a single table

* Check camera state msgs and no default value for Proc.msgs

* Update system/hardware/tici/tests/test_power_draw.py

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

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-07 14:06:11 -07:00
mitchellgoffpc
ae0768909b Lowered expected power draw for mapsd 2023-06-06 11:58:32 -07:00
Mitchell Goff
dd6f7116f7 Test power usage for mapsd and navmodeld (#28378)
* Test power usage for mapsd and navmodeld

* Send LLK message from thread

* Use threading.Event
2023-06-05 20:27:02 -07:00
Adeeb Shihadeh
e276d2a417 update pylint (#28395)
* update pylint

* update config

* fix
2023-06-04 14:06:04 -07:00
Adeeb Shihadeh
04556652dc rawgpsd: fix loading assistance data (#28381)
* rawgpsd: fix loading assistance data

* needs a specific name

* cleanup

* more logging

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-02 22:35:05 -07:00
Harald Schäfer
b35d525cc9 Assisted GPS qcom (#28278)
* Assisted GPS works

* cleanup

* add error handling

* use pycurl instead with timeout

* Add file size check

* More cleanup

* more cleanup

* Dont crash on large file
2023-05-26 17:24:09 +02:00
Kacper Rączy
2bd37acef3 ubloxd: enable satReport parsing (#28037)
* Uncomment satReport parsing. New ublox recv callback logic in process_replay

* Typo

* Update replay ref commit

* Update ref commit again
2023-05-25 07:41:45 +02:00
Kacper Rączy
b43a875ba2 params: specify path using PARAMS_ROOT (#28257)
* Add PARAMS_ROOT env var

* Change getenv type signature

* Use getenv default_val
2023-05-23 19:02:22 +02:00
Adeeb Shihadeh
4751d2b57c tici: log disk info (#28259) 2023-05-22 16:53:07 -07:00
Shane Smiskol
7f7637f3e5 uploader: check upload key value (#28206)
* fix check

* tests

* fix test

* fix

* xattr truthy and falsy tests

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-16 21:55:24 -07:00
Adeeb Shihadeh
951bab8e18 AGNOS 7 (#26908)
* agnos 7

* no caibx

* new build

* agnos 7.1

* prod manifest
2023-05-12 17:22:09 -07:00
Adeeb Shihadeh
1a3125bb8f bootlog: log agnos partition hashes (#28141)
* bootlog: log agnos partition hashes

* full path

* trimming

* slot

* boot is big

* give some time to start

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-10 13:56:44 -07:00
Adeeb Shihadeh
e24d28fd45 loggerd: log HW-specific extras (#28084)
* loggerd: log HW-specific extras

* fix value

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-08 19:21:22 -07:00
ZwX1616
78ba67e211 camerad: write static AE settings only once (#28134)
* this is free

* illusion of choice
2023-05-08 18:43:54 -07:00
Adeeb Shihadeh
9b0d140400 tizi: more amp retries (#28082) 2023-05-04 11:07:40 -07:00
Robbe Derks
21bcd7db63 Dynamic device type (#28011)
* tizi_device_type

* fix test

* also change it in the C versin
2023-05-04 12:12:01 +02:00
Adeeb Shihadeh
8a6312ef14 pandad: support GPIO recovery when in bootstub (#28090)
pandad: recover when in bootstub

Co-authored-by: Comma Device <device@comma.ai>
2023-05-03 20:27:32 -07:00
Adeeb Shihadeh
d5a0a4b3e8 Jenkins tuneup (#28095)
* tuneup

* use service messages

* logmono

* not passive
2023-05-03 16:52:20 -07:00
Cameron Clough
7126363093 uploader: log actual uploaded file size (#28000)
* uploader: log actual uploaded file size

The size will be less if compressed before uploading.

* cleanup

* fix return type

* add request to FakeResponse

* cleanup

* fix
2023-04-26 20:45:58 -07:00
Cameron Clough
e03efa723b uploader: add missing types 2023-04-21 23:06:47 -07:00
Cameron Clough
a27ce83b28 uploader: add typing (#28001)
* uploader: add typing

* fix types
2023-04-21 22:03:26 -07:00
Adeeb Shihadeh
f832a71038 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

* more checks
2023-04-14 14:18:13 -07:00
Adeeb Shihadeh
8f1753aaab tizi: enable fan for shutdown (#27890)
* tizi: enable fan for shutdown

* Update system/hardware/tici/hardware.py

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-13 15:35:07 -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
Adeeb Shihadeh
767ed4295f tizi: retry amp comms (#27735)
* tizi: retry amp comms

* ensure all config is written together

* simple test

* check errors

* test shutdown

* a tici exclusive

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-06 23:38:16 -07:00
Adeeb Shihadeh
9eda72d871 update manifest path in test 2023-04-05 22:39:57 -07:00
Adeeb Shihadeh
39a1a917e7 tici: move tests to tests/ 2023-04-05 22:17:57 -07:00
Adeeb Shihadeh
fdb3488f6b tizi: only affine panda USB IRQ when it's used (#27816)
only affine panda USB IRQ when it's used

Co-authored-by: Comma Device <device@comma.ai>
2023-04-05 21:08:14 -07:00
ZwX1616
4b1f77d54a OX03C10: improve tone mapping (#27754)
Co-authored-by: Comma Dev1ce & Y. Yousfi <device@comma.ai>
2023-04-05 19:46:04 -07:00
Adeeb Shihadeh
038d34aa7f tizi: affine IRQ by action instead of number (#27811)
* tizi: affine IRQ by action instead of number

* do camera irqs

* debug script

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-05 16:35:27 -07:00
Adeeb Shihadeh
08be9eed08 sensord: remove hardcoded irq from test (#27759)
* sensord: remove hardcoded irq from test

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-30 19:36:03 -07:00
Adeeb Shihadeh
c25ce02639 tici: turn off fan after boot (#27680)
* tici: turn off fan after boot

* tmp if

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-24 16:48:07 -07:00
ZwX1616
25a7f87b42 camerad: reduce daytime HDR blur (#27644)
* 60hz

* be dynamic

* cast

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-22 13:44:29 -07:00
Adeeb Shihadeh
be659c976c log current bootlog (#27645)
* log current bootlog

* rm path

* mv that

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-21 17:28:38 -07:00
Dean Lee
a86730a2c6 camerad: remove deprecated focus parameters from FrameMetadata (#27638) 2023-03-21 16:55:06 -07:00
Robbe Derks
d26d8b3ba9 Improve OX frame timing jitter (#27582)
* frame timing script

* enable vsync output and improve fsin tracking

* increase measurement time

* fix python linting

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-16 10:59:27 +01:00
Harald Schäfer
38cb42f76a LaikaD new cache version (#27596) 2023-03-15 20:26:19 -07:00
Harald Schäfer
153ffa3f68 Sat info from ublox (#27526)
* squashed

* bump cereal
2023-03-15 01:21:18 -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
2749205b4a allow running amp config script standalone (#27587)
Co-authored-by: Comma Device <device@comma.ai>
2023-03-14 20:55:41 -07:00
Harald Schäfer
7d32554fe3 Parse GLONASS ephemeris from mystery satellites (#27541)
parse unknown glonass
2023-03-09 18:48:32 -08:00
Harald Schäfer
75eaca3cf3 Update amplifier config (#27443)
* update tizi amplifier

* Update attenuation
2023-03-09 11:12:42 -08: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
94eb215980 loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -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
Adeeb Shihadeh
ebd25b8a7d test_power_draw: add header to output table (#27511)
* test_power_draw: add header to output table

* units
2023-03-06 16:13:29 -08:00
George Hotz
3892c60980 tinygrad: bump to 0.5 (#27505)
* bump tinygrad to 0.5

* update release files

* ref commit + bump tinygrad

* save 220 mW

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-06 15:50:28 -08:00
Cameron Clough
6fb5661abb setup: add serial to request headers (#27237)
* setup: add dongle ID to request headers

* rename openpilot

* fix str

* hardware: get_serial

* set serial instead

* fix typo

* static

* fixes
2023-02-06 20:02:30 -08:00
Adeeb Shihadeh
0374d4817d setup pre-built master-ci (#27205)
* try this

* add as release branch

* set the name

* build on master-ci
2023-02-05 15:45:01 -08:00