Commit Graph

96 Commits

Author SHA1 Message Date
Shane Smiskol 13381ed446 services: capitalize constant service list (#30005)
* rename

* bump

* Apply suggestions from code review
old-commit-hash: 7f073483bb2586053d6c5508ef3f420947941d90
2023-09-21 18:25:15 -07:00
Justin Newberry dc6078a6c3 System: use paths for download folders too (#29818)
* use paths for download folders too

* trailing slash

* reset that
old-commit-hash: 73eda51a11955627f4d149fdf12c1c781983d52e
2023-09-07 12:49:03 -07:00
Justin Newberry c7029ea15a System: cleanup paths to use a common class (#29816)
* use OP prefix for logmessage

* cleanup paths too

* cleanup the paths too

* add hw.py to release

* fix those issues

* fix unittests

* fix unittests

* fix unittests

* do swaglog_ipc properly across all the files

* fix that

* fix swaglog in c++

* review suggestions
old-commit-hash: bfe990b112a83f245bb5244553c84202aec7d86c
2023-09-07 11:32:47 -07:00
Justin Newberry 3b91610c0b Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
old-commit-hash: 4e69937d0d3fbdc7d1d42cbc18d7ccf8ddb115f1
2023-09-05 16:33:26 -07:00
Greg Hogan de996d76bb rename GPIO pin with ublox in the name that is not ublox specific (#29702)
* rename UBLOX_PWR_EN to GNSS_PWR_EN

* add schematic label as comment
old-commit-hash: 5058f31908ec10e1dad10fc8f1e9921d6df52efe
2023-08-29 22:24:37 +00:00
Adeeb Shihadeh 26c7c08982 pandad: recover from bad bootstub (#29638)
* pandad: recover from bad bootstub

* more

* adjust that

* ugh guess multipanda is still a thing

* reset

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 683b3b596678b6acd491493901e71b018e8e5d51
2023-08-25 17:03:00 -07:00
Justin Newberry c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Dean Lee 97e9d55588 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee 004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Adeeb Shihadeh d46981cac5 tici: add wait_for_power helper (#29507)
* tici: add wait_for_power helper

* deque

* cleanup

---------

Co-authored-by: Bruce Wayne <batman@z840-provisioning2.internal>
old-commit-hash: 985af1ce3cc9849c0c677d2f1a062daef1b8d0dc
2023-08-21 13:46:00 -07:00
Adeeb Shihadeh 16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Cameron Clough 8b0902e324 agnos: alt system image
old-commit-hash: 3861fca9409d3b4950367d32fad2a0da5da816fd
2023-08-20 20:18:52 +01:00
Cameron Clough 868643d111 agnos manifest: add alt system image (#29468)
old-commit-hash: 3972c85e9711c8bf5e6231e80ee7d01f99384e83
2023-08-20 11:50:08 +01:00
Adeeb Shihadeh 1ca3343d0c add small ui for jenkins runners (#29382)
old-commit-hash: 09ffce80737ec54ada27be5643e223ba1db12bd1
2023-08-13 18:01:51 -07:00
Justin Newberry f33b4de80b Ruff: b905 (strict zip) (#29336)
* added mutable default args

* most of the Bs

* add comment about lrucache

* b905
old-commit-hash: e4ead4f1830618f5f61978491930cb0b8d36ab26
2023-08-11 16:13:51 -07:00
Justin Newberry d487c0501f Ruff: enable most of bugbear (#29320)
* added mutable default args

* most of the Bs

* add comment about lrucache
old-commit-hash: 62c1e6592439119f360dd64b854e7047f35222ba
2023-08-11 15:33:49 -07:00
Justin Newberry 7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
Adeeb Shihadeh 4e047635d7 tici: reset panda state in amp test setup (#29237)
old-commit-hash: e3ca9f3e853e82ddcd22912405dc4c7fdb955600
2023-08-04 15:07:01 -07:00
Maxime Desroches 8ceef4903b hardware: move gpio_export (#29154)
old-commit-hash: eec99436c1c5489e2e49dc0760725f6fc6b9e47d
2023-07-26 15:12:01 -07:00
Adeeb Shihadeh b54936dbfc tici: add siren gpio
old-commit-hash: 67ef6dd84427be43e9d40df23360acf37e22059e
2023-07-26 11:35:11 -07:00
Adeeb Shihadeh f5dc651c0a tici: better cleanup in amp test (#29146)
old-commit-hash: ed07c3ceda0b48a62f68a57541f1a9f788c1648d
2023-07-25 21:41:31 -07:00
Adeeb Shihadeh 3dfd770fb0 tici: speedup power save setting (#29100)
* speedup

* update type

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d92c9aef23fc789d50bfd03ae09a3abbf23a8429
2023-07-22 17:15:58 -07:00
Adeeb Shihadeh b0c3778aae agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2c127cfe1f2d1930e33f2f3af7a1eb4
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh 30a6fa35aa mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
old-commit-hash: e2b5d1e29a3efeefc0679e116e6f6e16a815425c
2023-07-16 14:39:34 -07:00
Cameron Clough 6e552fdfa8 update modem script (#28793)
old-commit-hash: 62ae247417c63b698b02e89462655891b68fe821
2023-07-03 18:21:31 +02:00
Adeeb Shihadeh b968ab8015 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4bd0a321326ef463fe37997d1e57c73f3df98c0
2023-06-25 19:05:58 -07:00
Adeeb Shihadeh 12250870ea tici: improve amp test (#28648)
old-commit-hash: 7d6c22949a42b90fa2fc67608a53f6cdce52ebac
2023-06-22 20:57:36 -07:00
Adeeb Shihadeh ee363d69e3 fix a bunch of python warnings (#28576)
* fix a bunch of python warnings

* fix that
old-commit-hash: 111b4eee30d3a8f79d082b78e9158cbe262f1a14
2023-06-16 13:22:30 -07:00
Comma Device 4eb842c0f2 test_amp: wait for panda
old-commit-hash: dec3c5a57d5893bd2f456fc88d3799300095a02e
2023-06-09 15:36:41 -07:00
Mitchell Goff 8150598441 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>
old-commit-hash: 729d3ddcb55a294f244304e0d455424ce85c84a8
2023-06-07 14:06:11 -07:00
mitchellgoffpc 3f69f4064a Lowered expected power draw for mapsd
old-commit-hash: ae0768909bbcf51325a0a8ed0e623a0177c13c18
2023-06-06 11:58:32 -07:00
Mitchell Goff bcf4099d90 Test power usage for mapsd and navmodeld (#28378)
* Test power usage for mapsd and navmodeld

* Send LLK message from thread

* Use threading.Event
old-commit-hash: dd6f7116f70159c4f61e72f028abbdaeecc5eec9
2023-06-05 20:27:02 -07:00
Kacper Rączy c4a75225e8 params: specify path using PARAMS_ROOT (#28257)
* Add PARAMS_ROOT env var

* Change getenv type signature

* Use getenv default_val
old-commit-hash: b43a875ba26685d7aa4eab3972c580810d5108d0
2023-05-23 19:02:22 +02:00
Adeeb Shihadeh 05d3b28bb6 tici: log disk info (#28259)
old-commit-hash: 4751d2b57c986599c45280e45867e778cb8bc9d4
2023-05-22 16:53:07 -07:00
Adeeb Shihadeh a82cf8d494 AGNOS 7 (#26908)
* agnos 7

* no caibx

* new build

* agnos 7.1

* prod manifest
old-commit-hash: 951bab8e18147f55235424d0d8518ad7ad823e9d
2023-05-12 17:22:09 -07:00
Adeeb Shihadeh 2f8939dd0e 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>
old-commit-hash: 1a3125bb8fae70485256099b1be36dfd55129e7d
2023-05-10 13:56:44 -07:00
Adeeb Shihadeh 3689bd2e77 loggerd: log HW-specific extras (#28084)
* loggerd: log HW-specific extras

* fix value

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e24d28fd4512d8fd41a4a9ba610b1d450a3734a0
2023-05-08 19:21:22 -07:00
Adeeb Shihadeh 09fe521cfe tizi: more amp retries (#28082)
old-commit-hash: 9b0d140400381db831ab3f8c7d758bf446f10feb
2023-05-04 11:07:40 -07:00
Robbe Derks 51576bdd30 Dynamic device type (#28011)
* tizi_device_type

* fix test

* also change it in the C versin
old-commit-hash: 21bcd7db630d5abb41f00e3e9d3a025c26337a92
2023-05-04 12:12:01 +02:00
Adeeb Shihadeh a6f06fc98c pandad: support GPIO recovery when in bootstub (#28090)
pandad: recover when in bootstub

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

* use service messages

* logmono

* not passive
old-commit-hash: d5a0a4b3e8a52b5a0e1da325c15cdb99d2a71350
2023-05-03 16:52:20 -07:00
Adeeb Shihadeh 29eb4d3a35 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

* more checks
old-commit-hash: f832a71038f5d50f991d36d7860bfc0ef912794e
2023-04-14 14:18:13 -07:00
Adeeb Shihadeh 9ab3f160fb 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>
old-commit-hash: 8f1753aaab70f5498a57c430393cd0f84693306b
2023-04-13 15:35:07 -07:00
Adeeb Shihadeh 7b329bcc59 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>
old-commit-hash: 767ed4295f9924a98df5dcd79b8bd71d73511d73
2023-04-06 23:38:16 -07:00
Adeeb Shihadeh 57f3632aa1 update manifest path in test
old-commit-hash: 9eda72d8712d3bd2a56b66d61ae99c1952c97272
2023-04-05 22:39:57 -07:00
Adeeb Shihadeh 827ebdacaf tici: move tests to tests/
old-commit-hash: 39a1a917e78280ce654135944bb342ca923d8bc3
2023-04-05 22:17:57 -07:00
Adeeb Shihadeh 119c910a36 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>
old-commit-hash: fdb3488f6bbe34500e1694abd56160168937e5e3
2023-04-05 21:08:14 -07:00
Adeeb Shihadeh 3d9dfbf2bd 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>
old-commit-hash: 038d34aa7f25bff127d1265f6b1446cf40fe414b
2023-04-05 16:35:27 -07:00
Adeeb Shihadeh aa5aeb3ba3 tici: turn off fan after boot (#27680)
* tici: turn off fan after boot

* tmp if

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c25ce02639a86f6627314ecd3b3c101d82d7498f
2023-03-24 16:48:07 -07:00
Adeeb Shihadeh 7bd3d642aa allow running amp config script standalone (#27587)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2749205b4a8d87b18051d3fa8c680b2e9a849a33
2023-03-14 20:55:41 -07:00