Justin Newberry
3ab117d599
add get_build_metadata function ( #31923 )
...
* version
* Get build metadata
* two lines
* channel
* cwd
* default to unknown
* dataclass
old-commit-hash: 38d03b9979
1 year ago
Justin Newberry
a5bc36ea9d
move git commands to common/git.py ( #31921 )
...
move git into common/git.py
old-commit-hash: 4fbc8a3896
1 year ago
YassineYousfi
09fcc544b5
camera: add all_cams iterator, allow None camera, add camera size property ( #31835 )
...
* camera: add neo_config for easy access
* camera: add all_cams iterator and cam size
* can be none
* use FakeCameraConfig
* rename to None
old-commit-hash: 30ce6af490
1 year ago
Jason Wen
1d014c0892
Params: remove unused key ( #31826 )
...
old-commit-hash: 0e92097f7e
1 year ago
Justin Newberry
f2533f20cd
fix simulator device config ( #31827 )
...
fix sim
old-commit-hash: 1db30eae3a
1 year ago
Adeeb Shihadeh
da31ce154a
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
old-commit-hash: e3589e4b5c
1 year ago
Adeeb Shihadeh
9735cf2eb6
timeless routes ( #31119 )
...
* timeless route
* update sort
* update test
* fix param name
old-commit-hash: 7cfc571f56
1 year ago
Justin Newberry
9ccd7f15f9
Subaru: move to flags within PlatformConfig ( #31584 )
...
* flags
* update ref
* use the flags directly
* use post_init (don't freeze)
* we can maintain frozen with custom class
* not preglobal
* move to common
* cleanup
old-commit-hash: 3a6c3315ab
1 year ago
Harald Schäfer
2f0d283183
Wheeled body ( #31614 )
...
* Wheeled body
* 100hz only for balance
* No carparams in locationd no more
* Update ref
old-commit-hash: c05b37979d
1 year ago
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: 80da3aee14
1 year ago
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 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
ffb7f66b05
bump to 0.9.7
...
old-commit-hash: 968eaf1cb2
1 year ago
Milan Medić
284450400e
add Cython static analysis ( #31491 )
...
* Adding pre-commit hook for cython static analysis
* Adding changes to cython files to pass static analysis
* Revert "Adding changes to cython files to pass static analysis"
This reverts commit 9a0eb73319
.
* Adding ignore rule for indentation of 4 spaces (E111)
* Fixes for cython-lint static analysis
* Revert "Fixes for cython-lint static analysis"
This reverts commit 972741735b
.
* Adding two new rules into ignore list (2 new lines after difinition of class)
* Adding fixes for cython static analysis
old-commit-hash: 69fb3c2ed5
1 year ago
Adeeb Shihadeh
df6154b591
log git commit date ( #31490 )
...
* log git commit date
* unix ts
* fix
* bump cereal
* cleanup
old-commit-hash: 0723c2bc5f
1 year ago
Justin Newberry
e5f220b547
Revert "make vipc and msgq prefix paths easier to cleanup" ( #31380 )
...
Revert "make vipc and msgq prefix paths easier to cleanup (#31378 )"
This reverts commit 82544724c55db5d44458a61619841b4b3d7d4988.
old-commit-hash: 32f049c280
1 year ago
Justin Newberry
4e79e68a46
make vipc and msgq prefix paths easier to cleanup ( #31378 )
...
* ensure order
* cleanup cleaner
* cleaner
* this needs prefix
* rm vipc
* bump
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e87135727d
1 year ago
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
1 year ago
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
1 year ago
Adeeb Shihadeh
f99c674341
update min valid time
...
old-commit-hash: bc5fdf24ae
1 year ago
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
1 year ago
Adeeb Shihadeh
12d2d861f2
Revert "Switch from json11 to nlohmann/json ( #31093 )"
...
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.
old-commit-hash: 88757c12b3
1 year ago
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
1 year ago
Justin Newberry
4080bec11d
pytest: add marker for sharing the download cache ( #31082 )
...
* fix cache
* with a marker
old-commit-hash: 3846130d8e
1 year ago
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
1 year ago
Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Adeeb Shihadeh
269fbedbcb
cleanup old params ( #31039 )
...
* cleanup old params
* one more
old-commit-hash: 7ce29ef08e
1 year ago
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
1 year ago
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
1 year ago
Adeeb Shihadeh
6315957cf4
remove common.profiler ( #30927 )
...
* remove common.profiler
* cleanup
old-commit-hash: f0ccb84ae3
1 year ago
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
1 year ago
Dean Lee
babf868ddd
refactor swaglog ( #30795 )
...
old-commit-hash: 3646ca0a14
1 year ago
Adeeb Shihadeh
feb03f3625
more common/ pruning ( #30778 )
...
old-commit-hash: 8c1176ca83
1 year ago
Adeeb Shihadeh
9b40f9ab5f
move common.window to xx ( #30777 )
...
old-commit-hash: 2c30421b16
1 year ago
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 97e5d0f804
.
old-commit-hash: 1421551297
1 year ago
Adeeb Shihadeh
887cd1855c
common: remove statlog ( #30774 )
...
* common: remove statlog
* fix release
old-commit-hash: a07060b24b
1 year ago
Adeeb Shihadeh
0bbffc86c0
common/file_helpers: remove xx stuff ( #30772 )
...
* remove xx stuff
* cleanup
old-commit-hash: 1346704426
1 year ago
royjr
6161996653
dependency: remove atomicwrites package ( #30769 )
...
* Update file_helpers.py
* remove dependency
* Revert "remove dependency"
This reverts commit e2bd5f4eda
.
* remove atomicwrites
* allow overwrite
* fix indents
* add type hints
* Update poetry.lock
* optional
* wrap
old-commit-hash: 7f9e41ce2e
1 year ago
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
1 year ago
Justin Newberry
059aa6ffd9
Revert "Process Replay: move to pytest ( #30260 )" ( #30687 )
...
This reverts commit eb8f3f7f568aa0e294b32226ae5c5ed5e1b75e9d.
old-commit-hash: 7b5d4d031a
1 year ago
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11
1 year ago
Adeeb Shihadeh
1d86d5442d
remove common/xattr.py
...
old-commit-hash: 80bc5833e7
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Adeeb Shihadeh
4394116e5b
clear non-release params on startup ( #30583 )
...
old-commit-hash: 531e62fc03
1 year ago
Justin Newberry
661132be5a
Pytest: more post-test path cleanup ( #30556 )
...
* test cleanup
* missed this one
* remove that
* static class
old-commit-hash: 4086795c29
1 year ago
Dean Lee
54346eccee
modeld: remove modeldata.h ( #30423 )
...
* remove modeldata.h
* remove TRAJECTORY_SIZE
old-commit-hash: 335237aea0
1 year ago