Commit Graph

503 Commits

Author SHA1 Message Date
Greg Hogan
94b3f2d22a logging: make swaglog context match in python and c (#31288)
* logging: make swaglog context match in python and c

* add git context to athenad
old-commit-hash: d0a1fa636a
2024-02-02 23:10:04 -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: 086c509fde
2024-01-31 18:47:49 -08:00
Adeeb Shihadeh
f99c674341 update min valid time
old-commit-hash: bc5fdf24ae
2024-01-30 15:00:41 -08:00
Adeeb Shihadeh
048629564e bootlog: remove timestamp from filename (#31187)
* bootlog: remove timestamp from filename

* revert route

* test

* revert that

* fix loggerd test
old-commit-hash: 2504341070
2024-01-26 19:17:38 -08:00
Adeeb Shihadeh
12d2d861f2 Revert "Switch from json11 to nlohmann/json (#31093)"
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.

old-commit-hash: 88757c12b3
2024-01-22 22:41:59 -08:00
mtribiere
cb3a834067 Switch from json11 to nlohmann/json (#31093)
* Initial commit

* fix release/file_common

* Update common/swaglog.cc

* Swtiched serialize cc

* move to lfs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee036482b8
2024-01-22 22:35:47 -08:00
Justin Newberry
4080bec11d pytest: add marker for sharing the download cache (#31082)
* fix cache

* with a marker
old-commit-hash: 3846130d8e
2024-01-22 16:30:59 -08:00
Adeeb Shihadeh
5e9dc2c415 cleanup tests that are now useless (#31098)
* disable that onoe

* e2e tests catch this

* rm more useless checks
old-commit-hash: 78e20cff39
2024-01-21 14:49:57 -08:00
Adeeb Shihadeh
972650f0eb remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
old-commit-hash: 7cd9568423
2024-01-19 14:05:03 -08:00
Andrei Radulescu
1498eaf7c6 Support for newer versions of Qt (#31072)
* Dynamic QtGui version

* Fixed use of undeclared identifier 'va_start'

* Fix for Qt deprecations

* Fix for dynamic QtGui version

* Update selfdrive/ui/SConscript

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 28028aef17
2024-01-19 13:28:29 -08:00
Adeeb Shihadeh
6124ecf1c1 uploader: restrict qcam upload on metered connctions (#31047)
* uploader: restrict qcam upload on metered connctions

* route requesting

* rename

* str

* cleanup

* strip dongle

* upload bookmarked segments

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2280ac50b7
2024-01-17 21:41:58 -08:00
Adeeb Shihadeh
46aaf198ef updated: only fetch on metered connection when necessary (#31041)
* updated: only fetch on metered connection when necessary

* button always fetches
old-commit-hash: 4c2bb9f380
2024-01-17 16:30:08 -08:00
Adeeb Shihadeh
269fbedbcb cleanup old params (#31039)
* cleanup old params

* one more
old-commit-hash: 7ce29ef08e
2024-01-17 14:42:07 -08:00
Adeeb Shihadeh
e9e1d4559b Update Python packages and pre-commit hooks (#31003)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: a8afaf39d4
2024-01-15 10:34:25 -08:00
Adeeb Shihadeh
f4242f188b updated: persist more state between runs for UI (#30963)
* persist branches and more

* fix target

* typo

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b92e71a2b6
2024-01-10 23:23:13 -08:00
Adeeb Shihadeh
6315957cf4 remove common.profiler (#30927)
* remove common.profiler

* cleanup
old-commit-hash: f0ccb84ae3
2024-01-06 16:20:28 -08:00
stevenworks
4ca48060bc Typo fixes / Grammar corrections (#30860)
* CONTRIBUTING.md: Misspelling

* BOUNTIES.md: Misspelling

* SAFETY.md: Grammar

* realtime.py: Comment consistency

* revert for now

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0f72467558
2024-01-01 14:39:01 -08:00
Dean Lee
babf868ddd refactor swaglog (#30795)
old-commit-hash: 3646ca0a14
2023-12-19 10:36:35 -08:00
Adeeb Shihadeh
feb03f3625 more common/ pruning (#30778)
old-commit-hash: 8c1176ca83
2023-12-17 11:40:46 -08:00
Adeeb Shihadeh
9b40f9ab5f move common.window to xx (#30777)
old-commit-hash: 2c30421b16
2023-12-17 10:50:45 -08:00
Adeeb Shihadeh
63b374bd89 Cython KF1D to Python (#30773)
* Cython KF1D to Python

* cleanup

* set x

* less nesting

* fix release

* Revert "fix release"

This reverts commit 97e5d0f80405660efb861c7b9df7fbfd5dda5dd9.
old-commit-hash: 1421551297
2023-12-16 23:45:28 -08:00
Adeeb Shihadeh
887cd1855c common: remove statlog (#30774)
* common: remove statlog

* fix release
old-commit-hash: a07060b24b
2023-12-16 23:33:55 -08:00
Adeeb Shihadeh
0bbffc86c0 common/file_helpers: remove xx stuff (#30772)
* remove xx stuff

* cleanup
old-commit-hash: 1346704426
2023-12-16 22:19:50 -08:00
royjr
6161996653 dependency: remove atomicwrites package (#30769)
* Update file_helpers.py

* remove dependency

* Revert "remove dependency"

This reverts commit e2bd5f4edab7d14b75f65c296631855d886e38d1.

* remove atomicwrites

* allow overwrite

* fix indents

* add type hints

* Update poetry.lock

* optional

* wrap
old-commit-hash: 7f9e41ce2e
2023-12-16 21:58:19 -08:00
Dean Lee
1d7d7b89b2 common/params: support nonblocking write (#29808)
* Safe and efficient asynchronous writing parameters

* call putNonBlocking in locationd

* remove space

* ->AsyncWriter

* remove semicolon

* use member function

* asyc write multiple times

* add test case for AsyncWriter

* merge master

* add missing include

* public

* cleanup

* create once

* cleanup

* update that

* explicit waiting

* improve test case

* pass prefix to asywriter

* move to params

* assert(queue.empty())

* add comment

* add todo

* test_power_monitoring: remove patch

* rm laikad.py

* fix import

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f
2023-12-13 20:36:01 -08:00
Justin Newberry
059aa6ffd9 Revert "Process Replay: move to pytest (#30260)" (#30687)
This reverts commit eb8f3f7f568aa0e294b32226ae5c5ed5e1b75e9d.
old-commit-hash: 7b5d4d031a
2023-12-11 14:46:56 -08:00
Shane Smiskol
f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11
2023-12-09 13:24:18 -08:00
Adeeb Shihadeh
1d86d5442d remove common/xattr.py
old-commit-hash: 80bc5833e7
2023-12-08 14:44:39 -08:00
Adeeb Shihadeh
5fbf86a4d9 qcomgpsd: move retry logic to a decorator (#30633)
* qcomgpsd: move retry logic to a decorator

* make that same

* fix

* fix that
old-commit-hash: 51fa7b227a
2023-12-06 19:55:27 -08:00
Adeeb Shihadeh
59eb2988de swaglog.py goes in common/ (#30631)
* swaglog.py goes in common/

* all of these go in release

* we'll even include the pyx
old-commit-hash: 35f819c823
2023-12-06 17:27:51 -08:00
Greg Hogan
e91032efb3 replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion (#30618)
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
old-commit-hash: db35dcd0b5
2023-12-06 09:55:29 -08:00
Adeeb Shihadeh
4394116e5b clear non-release params on startup (#30583)
old-commit-hash: 531e62fc03
2023-12-01 23:57:54 -08:00
Justin Newberry
661132be5a Pytest: more post-test path cleanup (#30556)
* test cleanup

* missed this one

* remove that

* static class
old-commit-hash: 4086795c29
2023-11-30 09:55:48 -08:00
Dean Lee
54346eccee modeld: remove modeldata.h (#30423)
* remove modeldata.h

* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0
2023-11-18 22:45:26 -08:00
Adeeb Shihadeh
ef9afc072f bump to 0.9.6
old-commit-hash: fa353401f4
2023-11-17 18:44:05 -08:00
Justin Newberry
6af8e72604 Process Replay: move to pytest (#30260)
* process replay pytest

* enable long diff

* readd job name

* make it executable

* cleanup imports

* retrigger
old-commit-hash: 90c873ab1d
2023-11-13 13:50:23 -08:00
Adeeb Shihadeh
fa87fadcef SOM boot recovery (#30427)
* SOM boot recovery

* bump

* master
old-commit-hash: 515e57402a
2023-11-09 18:09:18 -08:00
Vivek Aithal
f8dce94688 params: Remove separate CarParams from each daemon (#30405)
* remove separate previous route carparams from each daemon and add centrally to controlsd

* extract out sigint handler

* make process replay work for torqued

* don't write param if None
old-commit-hash: 2eb487c9a5
2023-11-08 15:25:41 -08:00
Justin Newberry
fe14ca751f Pytest: fix local params overriden (#30312)
* fix local params being overriden

* just reset prefix after completion
old-commit-hash: 412f4cbc1a
2023-10-23 17:41:19 -07:00
Adeeb Shihadeh
dd9b72292e UI: remove drive stats (#30183)
* UI: remove drive stats

* little more

* vanish
old-commit-hash: f80db10720
2023-10-05 14:53:49 -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: 377722fd5e
2023-10-03 15:31:26 -07:00
Adeeb Shihadeh
1b11da92ed remove panda flash logs (#30138)
* bump panda

* unused

* update test
old-commit-hash: 67161a7174
2023-10-02 15:34:33 -07:00
Adeeb Shihadeh
8548294fec back to 0.9.5
old-commit-hash: 8461cdb77e
2023-10-02 14:37:04 -07:00
Dean Lee
cae2534558 params: log prefix on fail (#29973)
old-commit-hash: 81d4595c19
2023-09-19 16:22:33 -07:00
Adeeb Shihadeh
4c393faca4 bump version to 0.9.6
old-commit-hash: a90a2cd656
2023-09-19 16:18:39 -07:00
Justin Newberry
3a7fb59234 Params: nogil at the end (#29983)
* nogil at the end

* Wrong pr

* Wrong pr
old-commit-hash: 206fab9b4e
2023-09-19 15:07:54 -07:00
Justin Newberry
baa86681f7 Params: better error logging on constructor (#29954)
* ensure params path

* static anlysis

* revert that
old-commit-hash: 8aad9758cf
2023-09-18 16:50:44 -07:00
Kacper Rączy
38a4c4bad7 scons: delete SHARED flag (#29906)
Delete SHARED
old-commit-hash: fb804c9529
2023-09-13 14:39:06 -07:00
Dean Lee
9351c70889 test_util.cc: do not compare file contents in REQUIRE (#29861)
old-commit-hash: 95ae87659d
2023-09-09 08:47:52 -07:00
Justin Newberry
0043a1f039 Prefix: cleanup more folders (#29848)
cleanup downloads folders
old-commit-hash: 0adc2f20c2
2023-09-08 14:54:15 -07:00