ZwX1616
1d05704d27
Toggle to always enable DM ( #32205 )
...
* permanent
* param
* correct behavior
* toggle
* need trans
* ref_commit
* translate for chs/t
* disable on P and R
* read
1 year ago
Dean Lee
c1edc0901e
common/params.cc: unlink tmp_path only if there's an error ( #32145 )
1 year ago
Justin Newberry
c09cf4983b
pytest: don't delete logs on-device ( #32080 )
...
fix log deletion
1 year ago
Adeeb Shihadeh
43832335b8
timed: set valid flag ( #32061 )
...
* timed: set valid flag
* oops
1 year ago
Dean Lee
d05c19b9f4
util: safer `ends_with` ( #31943 )
...
* safer ends_with
* improve
1 year ago
Justin Newberry
efc32c2930
common/run: add environment variable argument ( #31957 )
...
run add environment argument
1 year ago
Justin Newberry
806f743e12
git commands: more parameterization on path ( #31942 )
...
* more cwd
* here top
* and here
* basedir
1 year ago
Justin Newberry
38d03b9979
add get_build_metadata function ( #31923 )
...
* version
* Get build metadata
* two lines
* channel
* cwd
* default to unknown
* dataclass
1 year ago
Justin Newberry
4fbc8a3896
move git commands to common/git.py ( #31921 )
...
move git into common/git.py
1 year ago
YassineYousfi
30ce6af490
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
1 year ago
Jason Wen
0e92097f7e
Params: remove unused key ( #31826 )
1 year ago
Justin Newberry
1db30eae3a
fix simulator device config ( #31827 )
...
fix sim
1 year ago
Adeeb Shihadeh
e3589e4b5c
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
1 year ago
Adeeb Shihadeh
7cfc571f56
timeless routes ( #31119 )
...
* timeless route
* update sort
* update test
* fix param name
1 year ago
Justin Newberry
3a6c3315ab
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
1 year ago
Harald Schäfer
c05b37979d
Wheeled body ( #31614 )
...
* Wheeled body
* 100hz only for balance
* No carparams in locationd no more
* Update ref
1 year ago
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
1 year ago
Cameron Clough
995250ae49
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
1 year ago
Adeeb Shihadeh
968eaf1cb2
bump to 0.9.7
1 year ago
Milan Medić
69fb3c2ed5
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
1 year ago
Adeeb Shihadeh
0723c2bc5f
log git commit date ( #31490 )
...
* log git commit date
* unix ts
* fix
* bump cereal
* cleanup
1 year ago
Justin Newberry
32f049c280
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 e87135727d
.
1 year ago
Justin Newberry
e87135727d
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>
1 year ago
Greg Hogan
d0a1fa636a
logging: make swaglog context match in python and c ( #31288 )
...
* logging: make swaglog context match in python and c
* add git context to athenad
1 year ago
Justin Newberry
086c509fde
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
1 year ago
Adeeb Shihadeh
bc5fdf24ae
update min valid time
1 year ago
Adeeb Shihadeh
2504341070
bootlog: remove timestamp from filename ( #31187 )
...
* bootlog: remove timestamp from filename
* revert route
* test
* revert that
* fix loggerd test
1 year ago
Adeeb Shihadeh
88757c12b3
Revert "Switch from json11 to nlohmann/json ( #31093 )"
...
This reverts commit ee036482b8
.
1 year ago
mtribiere
ee036482b8
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>
1 year ago
Justin Newberry
3846130d8e
pytest: add marker for sharing the download cache ( #31082 )
...
* fix cache
* with a marker
1 year ago
Adeeb Shihadeh
78e20cff39
cleanup tests that are now useless ( #31098 )
...
* disable that onoe
* e2e tests catch this
* rm more useless checks
1 year ago
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
1 year ago
Andrei Radulescu
28028aef17
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>
1 year ago
Adeeb Shihadeh
2280ac50b7
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>
1 year ago
Adeeb Shihadeh
4c2bb9f380
updated: only fetch on metered connection when necessary ( #31041 )
...
* updated: only fetch on metered connection when necessary
* button always fetches
1 year ago
Adeeb Shihadeh
7ce29ef08e
cleanup old params ( #31039 )
...
* cleanup old params
* one more
1 year ago
Adeeb Shihadeh
a8afaf39d4
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>
1 year ago
Adeeb Shihadeh
b92e71a2b6
updated: persist more state between runs for UI ( #30963 )
...
* persist branches and more
* fix target
* typo
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
f0ccb84ae3
remove common.profiler ( #30927 )
...
* remove common.profiler
* cleanup
1 year ago
stevenworks
0f72467558
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>
1 year ago
Dean Lee
3646ca0a14
refactor swaglog ( #30795 )
1 year ago
Adeeb Shihadeh
8c1176ca83
more common/ pruning ( #30778 )
1 year ago
Adeeb Shihadeh
2c30421b16
move common.window to xx ( #30777 )
1 year ago
Adeeb Shihadeh
1421551297
Cython KF1D to Python ( #30773 )
...
* Cython KF1D to Python
* cleanup
* set x
* less nesting
* fix release
* Revert "fix release"
This reverts commit 97e5d0f804
.
1 year ago
Adeeb Shihadeh
a07060b24b
common: remove statlog ( #30774 )
...
* common: remove statlog
* fix release
1 year ago
Adeeb Shihadeh
1346704426
common/file_helpers: remove xx stuff ( #30772 )
...
* remove xx stuff
* cleanup
1 year ago
royjr
7f9e41ce2e
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
1 year ago
Dean Lee
3c4c4d1f7f
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>
1 year ago
Justin Newberry
7b5d4d031a
Revert "Process Replay: move to pytest ( #30260 )" ( #30687 )
...
This reverts commit 90c873ab1d
.
1 year ago
Shane Smiskol
97da129e11
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
1 year ago