Commit Graph

112 Commits

Author SHA1 Message Date
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: d3aad9ca46
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: 460d9af5b7
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: e6e073d099
2023-11-16 14:20:55 -08:00
Adeeb Shihadeh
8e8baa1347 tici: use BASEDIR to lookup nm connection path
old-commit-hash: 30ab9f8482
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: f99939426f
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: e323191299
2023-11-13 21:38:22 -08:00
Adeeb Shihadeh
4ef0b3d717 tici: fix leftover APN config from AT&T (#30458)
old-commit-hash: cc32a6bf9f
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: aec7cea30d
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: 11855eab5d
2023-11-07 08:39:23 -08:00
Justin Newberry
ad64c19015 Mapsd: disable threading on PC too (#30396)
single threaded rendering
old-commit-hash: 9257066c4e
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: bdf2fa0f83
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: 7bee13e2d1
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: 2338f76fdd
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: cad17b1255
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: c347096c3e
2023-10-02 16:49:07 -07:00
Adeeb Shihadeh
657d11b4a2 delete some old files
old-commit-hash: 1dd4ade197
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: 7f073483bb
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: 73eda51a11
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: bfe990b112
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: 4e69937d0d
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: 5058f31908
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: 683b3b5966
2023-08-25 17:03:00 -07:00
Justin Newberry
c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16
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: 2d99521e75
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497
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: 985af1ce3c
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: a9626f95b6
2023-08-20 20:49:55 -07:00
Cameron Clough
8b0902e324 agnos: alt system image
old-commit-hash: 3861fca940
2023-08-20 20:18:52 +01:00
Cameron Clough
868643d111 agnos manifest: add alt system image (#29468)
old-commit-hash: 3972c85e97
2023-08-20 11:50:08 +01:00
Adeeb Shihadeh
1ca3343d0c add small ui for jenkins runners (#29382)
old-commit-hash: 09ffce8073
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: e4ead4f183
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: 62c1e65924
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: cf64b27168
2023-08-08 17:13:35 -07:00
Adeeb Shihadeh
4e047635d7 tici: reset panda state in amp test setup (#29237)
old-commit-hash: e3ca9f3e85
2023-08-04 15:07:01 -07:00
Maxime Desroches
8ceef4903b hardware: move gpio_export (#29154)
old-commit-hash: eec99436c1
2023-07-26 15:12:01 -07:00
Adeeb Shihadeh
b54936dbfc tici: add siren gpio
old-commit-hash: 67ef6dd844
2023-07-26 11:35:11 -07:00
Adeeb Shihadeh
f5dc651c0a tici: better cleanup in amp test (#29146)
old-commit-hash: ed07c3ceda
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: d92c9aef23
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: 1945c356c2
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
30a6fa35aa mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
old-commit-hash: e2b5d1e29a
2023-07-16 14:39:34 -07:00
Cameron Clough
6e552fdfa8 update modem script (#28793)
old-commit-hash: 62ae247417
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: d4bd0a3213
2023-06-25 19:05:58 -07:00
Adeeb Shihadeh
12250870ea tici: improve amp test (#28648)
old-commit-hash: 7d6c22949a
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: 111b4eee30
2023-06-16 13:22:30 -07:00
Comma Device
4eb842c0f2 test_amp: wait for panda
old-commit-hash: dec3c5a57d
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: 729d3ddcb5
2023-06-07 14:06:11 -07:00
mitchellgoffpc
3f69f4064a Lowered expected power draw for mapsd
old-commit-hash: ae0768909b
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: dd6f7116f7
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: b43a875ba2
2023-05-23 19:02:22 +02:00
Adeeb Shihadeh
05d3b28bb6 tici: log disk info (#28259)
old-commit-hash: 4751d2b57c
2023-05-22 16:53:07 -07:00