Commit Graph

297 Commits

Author SHA1 Message Date
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
Harald Schäfer
f77e9dfd7d Qcomgpsd: Dont use system timezone (#30508)
old-commit-hash: 8e883669556c5dcd045d5b6e182f7524f76e800a
2023-11-21 11:12:39 -08:00
Adeeb Shihadeh
ca85e5b82a rename rawgpsd to qcomgpsd (#30493)
* rename rawgpsd to qcomgpsd

* fix more paths

* that moved

* forgot the d
old-commit-hash: 4cae08e6369c0f63229222c0b3815da983928787
2023-11-18 23:23:16 -08:00
Dean Lee
54346eccee modeld: remove modeldata.h (#30423)
* remove modeldata.h

* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0a854b41960c32b2f54b6c5af63b707
2023-11-18 22:45:26 -08:00
Adeeb Shihadeh
e56998ca26 one more
old-commit-hash: c055fdc8539c3c89ffa6b71b82fe70a599fac768
2023-11-18 22:22:31 -08:00
Adeeb Shihadeh
07ea94cf7b rm old loggerd debug scripts
old-commit-hash: 3d36a0f70d2cd64dc8e6002b803f844f470d0731
2023-11-18 22:20:10 -08:00
Dean Lee
00e5f37d2a loggerd: c++ LoggerState (#25869)
* c++ LoggerState

* trigger ci

* trigger ci

* merge master

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3527c1da6759e54e42f80ab7cfde038a8ae96680
2023-11-18 22:11:13 -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
Harald Schäfer
91920dcf66 Rm laika deps in rawgpsd (#30452)
* Rm more laikad references

* rawgpsd usage of laika

* bugfix
old-commit-hash: c0942dbf9fd0d6be501bf4eec99eba003c3a3e0c
2023-11-13 20:38:24 -08:00
Harald Schäfer
9bf8ee6c86 Rm more laika references (#30451)
Rm more laikad references
old-commit-hash: 95c6d5140aee76e6fd28990b0b58e1a3dcc5ee62
2023-11-13 16:52:57 -08:00
Justin Newberry
efaa3ea500 Pytest: default settings on PC improvements (#30441)
* always multithreaded

* multithreaded

* pkill correct process

* escape more

* load for interfaces
old-commit-hash: 2ad82cbfb064676401876a20e49e3965c40344a0
2023-11-13 10:45:24 -08:00
Adeeb Shihadeh
7df9a44085 camerad: reduce to 1s of buffers
old-commit-hash: 72cc2e34cbd3ad25557c4b226c12790cb97457cd
2023-11-09 20:52:21 -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
b76d7d0068 rawgpsd: add flag for cold start (#30224)
* rawgpsd: add flag for cold start

* other datasheet is wrong

* keep things in a good state
old-commit-hash: 9c7e5ca6eaf3672828785ed70dfd10daaba46397
2023-10-25 15:05:07 -07:00
Harald Schäfer
7c4d29c3d1 Rm laikad (#30299)
* rm laika

* Rm laika

* Needed this

* More rm

* More rm
old-commit-hash: 56dea7b0b42e7624a39fef0986cd0db151bb9512
2023-10-23 00:15:39 -07:00
Adeeb Shihadeh
3d602a86dc delete clocksd (#30252)
old-commit-hash: 67f2321060321a87082e297151692ed9b36de2c0
2023-10-22 14:47:38 -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
eeecc35e0b loggerd: add wall time to initData (#30251)
* loggerd: add wall time to initData

* bump cereal

* fix
old-commit-hash: f616dd77a18197e8d1d25bf8afbfc01c1ab2562b
2023-10-15 15:21:51 -07:00
Adeeb Shihadeh
c3aa58b492 cleanup up old lib64 references (#30246)
* cleanup sensord

* rm rest

* fix that

* update that
old-commit-hash: f0aa63181804259c5cea20b9d608bdbe9db6b340
2023-10-14 20:39:15 -07:00
Adeeb Shihadeh
4b78e52e34 cleanup old sm pm args (#30241)
* cleanup sm pm

* fix controlsd

* fix
old-commit-hash: b68cfbb332af7ae9182f2806bc7b8dc46e6c8bc0
2023-10-13 23:27:04 -07:00
Adeeb Shihadeh
a9153a39cc Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 377722fd5ed13349acf99c71954f56e6ccd17c3c
2023-10-03 15:31:26 -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
Dean Lee
4c3381c2cd proclogd: fix test failures (#29971)
old-commit-hash: 494228e0e1d511bc1479bd768c4a6e0cee6ff95e
2023-09-21 10:25:35 -07:00
Adeeb Shihadeh
1bbc16633c sensord: test update for provisioning (#29942)
sensord: update for provisioning
old-commit-hash: ccc8e099b6e3457cc3a4e263491d1bfc92e8c897
2023-09-15 18:50:43 -07:00
Adeeb Shihadeh
1f8459d285 use pytest for cpp tests (#29833)
* add pytest-cpp package (#29828)

* add pytest-cpp package

* disable for now

* use in ci

* use pytest cpp

* use my branch

* add missing tests

* that doesn't make sense

* it was merged upstream

* replace TEST_RLOG_URL with a publicly accessible url

* PR Cleanup

* assert instead

* update poetry lock

* add comment about  pytest-cpp

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 2c1dfc2f341b09381af2cc7872c4092df28dc9d5
2023-09-11 14:01:50 -07:00
Justin Newberry
759ab03b03 Ruff: disallow non-openpilot imports (#29841)
old-commit-hash: 110cfef1c2a56b333b684cd7ae98b321ae0e72eb
2023-09-08 10:43:02 -07:00
Adeeb Shihadeh
85ef987bfe ubloxd: remove unused file (#29829)
old-commit-hash: 4111ac36b2d676e4a8014b8728f3487b5252892d
2023-09-07 19:29:34 -07:00
Justin Newberry
5b1e60f5da Pytest: enforce a default timeout (#29793)
* pytest: enforce default timeout

* disable that for now

* 30 second timeout on tests
old-commit-hash: b0a71d45536d6fe0c0e8365913c6ffbc64a58b1b
2023-09-07 17:53:51 -07:00
Justin Newberry
37e4b2cba9 CI: run unittests in parallel with xdist (#29756)
* parallel tests

* review suggesions

* add to pyproject

* add a bit more buffer on that

* fix rare athena issue

* remove from pypoetry
old-commit-hash: dde225221e8fa0063bb52786232be33b8374dfcd
2023-09-07 16:29:36 -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
Adeeb Shihadeh
6a3da36632 sensord: test updates for provisioning (#29768)
* sensord: test updates for provisioning

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0908be80bda09d7cc476693ab17208cf0fca4ded
2023-09-05 15:32:57 -07:00
Justin Newberry
839e72de70 CI: use pytest for unittesting (#29709)
* switch to pytest

* static analysis

* fix the helpers

* static analysis

* remove that

* more parallel test

* cleanup

* static analysis

* durations min and tolerance

* reduce those iterations

* sleep time could be decreased too

* in case it's negative

* try using caching

* remove parallelization for first PR

* PR Cleanup

* reduce diff

* fix that

* bump panda
old-commit-hash: ca435d344714f08276f9f9da5039f730987f31fa
2023-09-04 11:54:35 -07:00
Greg Hogan
ada436be39 gnss raw measurements through nmea port (#29745)
* gnss measurements through nmea port

* document values

* flags always zero

* fix linter errors

* fix linter errors
old-commit-hash: de97d32fe0a019186eee03d4bf39d85a2d62dfd8
2023-09-02 16:58:34 -07:00
Kacper Rączy
4040d85159 encoderd: fix crash when filename is null (#29748)
Use publish_name for thread name and debugging messages
old-commit-hash: 0bda43d71c46b02b8d9d2043243388f8a2839497
2023-09-01 11:51:59 -07:00