Commit Graph

145 Commits

Author SHA1 Message Date
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: a38a5e8bb4c0eda459ec42dd4e2f42e17e6dfef6
2024-03-01 17:24:22 -08:00
Comma Device 646861b75a no amp
old-commit-hash: 9616b3f71719785f75bf25acdf51f38f19105a3e
2024-03-01 15:32:33 -08:00
Justin Newberry 013a965d1a tici tests: remove pytest.main (#31622)
pytest.main is bad!
old-commit-hash: 19db56b1f6a86a6a250e6b69f1533ae02d1fb367
2024-02-27 14:06:18 -08:00
Comma Device e7c60bdec0 no amp config
old-commit-hash: 14ea615ae4acc644026b66342edc76edd9178afc
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: 3c4e82f14a3569cec615fe602886271fee1566c7
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: 80da3aee147867e46f566b63a96f4fe199e0628d
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 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

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

* update
old-commit-hash: 92475d653bcb94a907d20701a697118fbe8815ef
2024-02-23 17:41:03 -08:00
Adeeb Shihadeh 5e81beb77e remove deviceState.ambientTempC (#31533)
old-commit-hash: 0b4d08fab8e35a264bc7383e878538f8083c33e5
2024-02-21 13:57:49 -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: be4bbca9a32f3bd3f65eaf26f4f5b65d2fc14608
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh 4101f3d725 tici: log SOM ID (#31440)
* tici: log SOM ID

* no cat
old-commit-hash: 3cf845d9521f9062bbcc7ae0db7195576ca632a4
2024-02-13 15:01:32 -08:00
Justin Newberry eee5af9baa test_power_draw: combine mapsd and navmodeld (#31375)
* combine

* combine

* combine

* simpler

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

* manifest
old-commit-hash: 4228b6420bf6ba56bc798239cc05078c9d5d8440
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: caa9dff61043a27a15f597633bea08f214833f0a
2024-02-07 13:54:46 -08:00
Adeeb Shihadeh c6378bab30 agnos 9.5 (#31313)
* agnos 9.4

* agnos 9.5
old-commit-hash: ff1dd1f4ddcfa56779097b5a229c61775520ea9d
2024-02-07 13:23:58 -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: a094179b4d2231e3f43b25596ecb20d6b9c4be70
2024-02-04 14:26:03 -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: 0277fc5548bc87a17ae34b914df0593d034e5e94
2024-02-02 14:18:01 -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: 086c509fde806bb03f89765800d9667f4de6a372
2024-01-31 18:47:49 -08:00
Adeeb Shihadeh adc65c2293 agnos 9.3 (#31163)
* agnos 9.2

* agnos 9.3
old-commit-hash: 6caf89bca531b2e1e5f514dcebd82e33cb0dadd1
2024-01-29 17:44:14 -08:00
Ruben Medina 031e88f2c9 add size to system alt image manifest entry (#31154)
old-commit-hash: 8472ae5317d98a41dae28b2cd1e72ac05b5cae04
2024-01-24 23:35:39 -08:00
Justin Newberry 4080bec11d pytest: add marker for sharing the download cache (#31082)
* fix cache

* with a marker
old-commit-hash: 3846130d8e15ea71e9576ae62b69918757edc7b8
2024-01-22 16:30:59 -08:00
Harald Schäfer 66dbadb029 Delete lat planner (#31089)
* Initial commit

* Fixup

* typo

* ignore lateral plan

* Update cereal

* Remove lateralPlan

* Fix release build

* Fix release build

* give car params

* Add carParams to include_all_types

* Write car param in powerdraw test

* add demo mode

* Update model regf

* proc replay ref commit

* Try

* Move enum definition

* Update cereal

* typo

* Write car param for modeld test

* Update ref

* Update model ref again

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c384671b448f307a7ed91416886f2186d80
2024-01-21 12:09:48 -08:00
Adeeb Shihadeh 436b5dacd9 test_power_draw: check msgs expect first for cleaner error
old-commit-hash: e0d0896dcfbab482e10ef90794c746497b359321
2024-01-20 17:20:21 -08:00
Comma Device ebcfcf6087 fix param path
old-commit-hash: e2df83089fe0050d41ef3d7f9241c75b14cba134
2024-01-18 20:12:04 -08:00
Adeeb Shihadeh 8a84e369a0 bootlog doesn't block startup (#31061)
* bootlog doesn't block startup

* keep params

* fix

* cleanup
old-commit-hash: c4362bd958d1473b97ae336fd0e9bd7b50fe4fb9
2024-01-18 20:04:08 -08:00
Adeeb Shihadeh 269fbedbcb cleanup old params (#31039)
* cleanup old params

* one more
old-commit-hash: 7ce29ef08e9ee9c930238f697bfe3b69f6be368e
2024-01-17 14:42:07 -08:00
Adeeb Shihadeh e905a35467 tici: check that peripherals are fully booted (#30942)
* tici: check that peripherals are fully booted

* default

* typo

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5f191321fddca4eafb55c992415209a9389e2617
2024-01-08 15:09:38 -08:00
Adeeb Shihadeh ffc40a2fd1 athena: cleanup unused methods
old-commit-hash: ea94a6d89fa00f9852e8ee6b5c8203199c1a06e8
2023-12-13 20:27:54 -08:00
Shane Smiskol f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
2023-12-09 13:24:18 -08:00
Adeeb Shihadeh df18770f81 agnos 9 (#30543)
* agnos 9

* new build

* update

* Soundd: use alsa (#30617)

* update release notes

* agnos does this now

* prod manifest

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 3b89c5fe29b3a63f34e9782ef71ac868d89c99d5
2023-12-05 21:17:49 -08:00
Justin Newberry 817161f3ac Soundd: move to python (#30567)
soundd python
old-commit-hash: abe39e50766c418818bf72d2567db78978dbd466
2023-12-05 18:10:01 -08:00
Justin Newberry 661132be5a Pytest: more post-test path cleanup (#30556)
* test cleanup

* missed this one

* remove that

* static class
old-commit-hash: 4086795c29bacd245a7cc372a16730e1a6ff974f
2023-11-30 09:55:48 -08:00
Justin Newberry 0c43599b93 allow onscreen cpu rendering (#30510)
* spinner POC cpu

* should be single threaded

* how tf did that get added

* allow non offscreen

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7f14bdfb22d25abed6af275c4006461bcceb5f99
2023-11-22 12:44:32 -08:00
Adeeb Shihadeh 2b9c56bd72 esim is metered (#30486)
* esim is metered

* it's an enum

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d3aad9ca4601ae0a448ed971c1cd151c7c1eb690
2023-11-17 15:29:52 -08:00
Adeeb Shihadeh 48abc579b0 more esim config (#30480)
* load single conn

* high priority

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 460d9af5b748475c027da6918aa5a1834133212e
2023-11-16 19:12:36 -08:00
Adeeb Shihadeh f627f0c12e Revert "tici: use BASEDIR to lookup nm connection path"
This reverts commit 5f510c33072dd435f9cb3c42add3afa14cce1f53.

old-commit-hash: e6e073d099009154eb6e70989113c77111750cb4
2023-11-16 14:20:55 -08:00
Adeeb Shihadeh 8e8baa1347 tici: use BASEDIR to lookup nm connection path
old-commit-hash: 30ab9f8482154a96a5899704900b82f453bc31be
2023-11-16 14:19:02 -08:00
Justin Newberry decf24d775 thermald: recover from modemmanager restart (#30464)
* test modem recovery

* static analysis

* also test lte reload

* this should just be try catched as well

* maybe we can find a better way than this

* rm the test

* make it clear

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f99939426f5f654ee7c59ab39689454f58905451
2023-11-14 16:57:34 -08:00
Adeeb Shihadeh a05327ad9e new sim connection settings (#30457)
* new sim connection settings

* fix att conflict

* sim id

* clenaup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e3231912999d22ae8d65dbfd61ceb957b06cd83b
2023-11-13 21:38:22 -08:00
Adeeb Shihadeh 4ef0b3d717 tici: fix leftover APN config from AT&T (#30458)
old-commit-hash: cc32a6bf9fc83259dee086cc7030eb3af1f997f5
2023-11-13 21:33:22 -08:00
Justin Newberry 3027a428cb Pytest: tici mark for skipping on-device tests (#30412)
* mark tici

* not those ones

* missed that one

* add those

* add pypoetry

* oops
old-commit-hash: aec7cea30d48dc8915eea38c86de7d4effa0548d
2023-11-07 17:35:44 -08:00
Harald Schäfer 9280e048dd power draw test: improve verbosity (#30402)
* improve verbosity

* unused import
old-commit-hash: 11855eab5df1409639fb9e94fcf0afa725164b97
2023-11-07 08:39:23 -08:00
Justin Newberry ad64c19015 Mapsd: disable threading on PC too (#30396)
single threaded rendering
old-commit-hash: 9257066c4e52c156cb88de78f0a94006baf877ad
2023-11-06 16:36:48 -08:00
Justin Newberry 40757d9d01 Mapsd: move on the CPU (#30349)
* mapsd -> cpu

* link directly to mesa

* Fix gitignore

* without launcher script

* dont change that

* dont need that

* add to files_common

* rename to configure cpu rendering

* without a symlink!

* update time refs

* update ref

* update ref

* remove duplicate include

* bump up again

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bdf2fa0f83d92c67c3fc90972ca1d71af543fc1a
2023-11-06 09:04:53 -08:00
Adeeb Shihadeh c8bcace7c0 raise gpu clock (#30358)
* raise gpu clock

* update modeld power draw
old-commit-hash: 7bee13e2d1a602dde52878bde0d9d81c1fa44b1d
2023-11-01 14:48:49 -07:00
Adeeb Shihadeh 722df22887 eSIM profile management (#30262)
* eSIM profile management

* start download

* loaded a profile

* more stuff

* fixups

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2338f76fdda8d1538c5bcf4ab4adf41c345e51b0
2023-10-19 14:54:11 -07:00
YassineYousfi d18f185115 modeld: parsing and publishing in python (#30273)
* WIP try modeld all in python

* fix plan

* add lane lines stds

* fix lane lines prob

* add lead prob

* add meta

* simplify plan parsing

* add hard brake pred

* add confidence

* fix desire state and desire pred

* check this file for now

* rm prints

* rm debug

* add todos

* add plan_t_idxs

* same as cpp

* removed cython

* add wfd width - rm cpp code

* add new files rm old files

* get metadata at compile time

* forgot this file

* now uses more CPU

* not used

* update readme

* lint

* copy this too

* simplify disengage probs

* update model replay ref commit

* update again

* confidence: remove if statemens

* use publish_state.enqueue

* Revert "use publish_state.enqueue"

This reverts commit d8807c8348338a1f773a8de00fd796abb8181404.

* confidence: better shape defs

* use ModelConstants class

* fix confidence

* Parser

* slightly more power too

* no inline ifs :(

* confidence: just use if statements
old-commit-hash: cad17b125595c4654bfd8299b041b94ccb3faf73
2023-10-19 14:23:51 -07:00
Adeeb Shihadeh 61eb6f4f66 finish hardware move to system/ (#30140)
* finish hardware move to system/

* fix release

* couple more
old-commit-hash: c347096c3ee275ccedc3c39e1888c44d40f77a56
2023-10-02 16:49:07 -07:00
Adeeb Shihadeh 657d11b4a2 delete some old files
old-commit-hash: 1dd4ade1978fbf23ffc39da5fed19213e6b58b2a
2023-09-30 16:07:26 -07:00
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