Commit Graph

119 Commits

Author SHA1 Message Date
Adeeb Shihadeh
ea94a6d89f athena: cleanup unused methods 2023-12-13 20:27:54 -08:00
Shane Smiskol
97da129e11 ruff: check newline (#30668)
* check newline

* nothing catches this
2023-12-09 13:24:18 -08:00
Adeeb Shihadeh
3b89c5fe29 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>
2023-12-05 21:17:49 -08:00
Justin Newberry
abe39e5076 Soundd: move to python (#30567)
soundd python
2023-12-05 18:10:01 -08:00
Justin Newberry
4086795c29 Pytest: more post-test path cleanup (#30556)
* test cleanup

* missed this one

* remove that

* static class
2023-11-30 09:55:48 -08:00
Justin Newberry
7f14bdfb22 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>
2023-11-22 12:44:32 -08:00
Adeeb Shihadeh
d3aad9ca46 esim is metered (#30486)
* esim is metered

* it's an enum

---------

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

* high priority

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-11-16 19:12:36 -08:00
Adeeb Shihadeh
e6e073d099 Revert "tici: use BASEDIR to lookup nm connection path"
This reverts commit 30ab9f8482.
2023-11-16 14:20:55 -08:00
Adeeb Shihadeh
30ab9f8482 tici: use BASEDIR to lookup nm connection path 2023-11-16 14:19:02 -08:00
Justin Newberry
f99939426f 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>
2023-11-14 16:57:34 -08:00
Adeeb Shihadeh
e323191299 new sim connection settings (#30457)
* new sim connection settings

* fix att conflict

* sim id

* clenaup

---------

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

* not those ones

* missed that one

* add those

* add pypoetry

* oops
2023-11-07 17:35:44 -08:00
Harald Schäfer
11855eab5d power draw test: improve verbosity (#30402)
* improve verbosity

* unused import
2023-11-07 08:39:23 -08:00
Justin Newberry
9257066c4e Mapsd: disable threading on PC too (#30396)
single threaded rendering
2023-11-06 16:36:48 -08:00
Justin Newberry
bdf2fa0f83 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>
2023-11-06 09:04:53 -08:00
Adeeb Shihadeh
7bee13e2d1 raise gpu clock (#30358)
* raise gpu clock

* update modeld power draw
2023-11-01 14:48:49 -07:00
Adeeb Shihadeh
2338f76fdd 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>
2023-10-19 14:54:11 -07:00
YassineYousfi
cad17b1255 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
2023-10-19 14:23:51 -07:00
Adeeb Shihadeh
c347096c3e finish hardware move to system/ (#30140)
* finish hardware move to system/

* fix release

* couple more
2023-10-02 16:49:07 -07:00
Adeeb Shihadeh
1dd4ade197 delete some old files 2023-09-30 16:07:26 -07:00
Adeeb Shihadeh
e185e5ffcd move remaining big files into LFS (#30053) 2023-09-25 21:53:03 -07:00
Shane Smiskol
7f073483bb services: capitalize constant service list (#30005)
* rename

* bump

* Apply suggestions from code review
2023-09-21 18:25:15 -07:00
Justin Newberry
73eda51a11 System: use paths for download folders too (#29818)
* use paths for download folders too

* trailing slash

* reset that
2023-09-07 12:49:03 -07:00
Justin Newberry
bfe990b112 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
2023-09-07 11:32:47 -07:00
Justin Newberry
4e69937d0d Precommit: ensure executable bit is set (#29784)
* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Greg Hogan
5058f31908 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
2023-08-29 22:24:37 +00:00
Adeeb Shihadeh
683b3b5966 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>
2023-08-25 17:03:00 -07:00
Justin Newberry
1ee6ed4b16 Linter: remove pylint (#29611)
remove pylint
2023-08-24 16:30:54 -07:00
Dean Lee
2d99521e75 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-23 13:25:17 -07:00
Dean Lee
363740a497 cpplint: add readability/braces filter (#29554) 2023-08-23 10:13:46 -07:00
Adeeb Shihadeh
985af1ce3c tici: add wait_for_power helper (#29507)
* tici: add wait_for_power helper

* deque

* cleanup

---------

Co-authored-by: Bruce Wayne <batman@z840-provisioning2.internal>
2023-08-21 13:46:00 -07:00
Adeeb Shihadeh
a9626f95b6 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
2023-08-20 20:49:55 -07:00
Cameron Clough
3861fca940 agnos: alt system image 2023-08-20 20:18:52 +01:00
Cameron Clough
3972c85e97 agnos manifest: add alt system image (#29468) 2023-08-20 11:50:08 +01:00
Adeeb Shihadeh
09ffce8073 add small ui for jenkins runners (#29382) 2023-08-13 18:01:51 -07:00
Justin Newberry
e4ead4f183 Ruff: b905 (strict zip) (#29336)
* added mutable default args

* most of the Bs

* add comment about lrucache

* b905
2023-08-11 16:13:51 -07:00
Justin Newberry
62c1e65924 Ruff: enable most of bugbear (#29320)
* added mutable default args

* most of the Bs

* add comment about lrucache
2023-08-11 15:33:49 -07:00
Justin Newberry
cf64b27168 Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
2023-08-08 17:13:35 -07:00
Adeeb Shihadeh
e3ca9f3e85 tici: reset panda state in amp test setup (#29237) 2023-08-04 15:07:01 -07:00
Maxime Desroches
eec99436c1 hardware: move gpio_export (#29154) 2023-07-26 15:12:01 -07:00
Adeeb Shihadeh
67ef6dd844 tici: add siren gpio 2023-07-26 11:35:11 -07:00
Adeeb Shihadeh
ed07c3ceda tici: better cleanup in amp test (#29146) 2023-07-25 21:41:31 -07:00
Adeeb Shihadeh
d92c9aef23 tici: speedup power save setting (#29100)
* speedup

* update type

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-22 17:15:58 -07:00
Adeeb Shihadeh
1945c356c2 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>
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
e2b5d1e29a mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
2023-07-16 14:39:34 -07:00
Cameron Clough
62ae247417 update modem script (#28793) 2023-07-03 18:21:31 +02:00
Adeeb Shihadeh
d4bd0a3213 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
2023-06-25 19:05:58 -07:00
Adeeb Shihadeh
7d6c22949a tici: improve amp test (#28648) 2023-06-22 20:57:36 -07:00