Mauricio Alvarez Leon
008008b03a
Update to Python 3.12 ( #32548 )
...
* 3.12
* pprofile is broken
* use modified metadrivepy3-12
* 0.3.0 metadrive
* add metadrive/commaai git dependency
* metadrive git set
* pin sounddevice 0.4.6
* datetime.utcnow() deprecation
* poetry lock
* make datetime not aware
* poetry lock
* pin pytools
* google_crc32c wheel
* unpin sounddevice
* clean metadrive
* use python crc
* mypy
* 3.12.4
* allow python3.11
* test
* no pip
* poetry
* better
* better
* merge
* remove
* try
* test
* try this
* snok
* python
* simpler
* setuptools
* lower
* try
* try
* work?
* ubuntu deps
* ubuntu
* try
* remove
* move
* remove this
* names
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* python<4
* <3.13
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 148eaf8fa6
11 months ago
Adeeb Shihadeh
e920e57530
Revert "Custom setproctitle ( #32667 )"
...
This reverts commit 1f45e163559baa2a6127d5a5e8deb7067e32f813.
old-commit-hash: 5b51f03967
11 months ago
schlimeszn
afea57ae2a
Custom setproctitle ( #32667 )
...
* add custom setproctitle
* add test
* Update poetry.lock
* fix lint
* support only Linux
* test only Linux
* final lint
* Update test_setproctitle.py
* Update setproctitle.py
* convert to threadnames
* delete proctitles
* Check str len and use PR_GET_NAME
* fix poetry.lock
* lint fix
* Update common/threadname.py
---------
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3365ed5eff
11 months ago
Dean Lee
061deaa80f
common/ratekeeper: change frame() return type from double to uint64_t ( #32679 )
...
old-commit-hash: a4f0f6ca36
11 months ago
Adeeb Shihadeh
8c82ecbe3d
bump version to 0.9.8
...
old-commit-hash: 2cfb4df82c
11 months ago
Adeeb Shihadeh
92ad30cbd6
Replace markdown-it-py with small function in common/ ( #32664 )
...
* Replace markdown-it-py with small function in common/
* simple test
* unused
* lock
* linting fixes
old-commit-hash: 5265d13fe0
11 months ago
Shane Smiskol
2d4f0e2af8
remove old cache wrapper ( #32653 )
...
* remove wrapper that is functools.cache
* format
old-commit-hash: 451e171ad9
11 months ago
Adeeb Shihadeh
30c41788dc
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
old-commit-hash: 51fdf23304
11 months ago
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
11 months ago
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810
11 months ago
Dean Lee
ab660be49f
common/prefix.h: Fix incomplete path cleanup on exit ( #32559 )
...
old-commit-hash: 5f778c0d3a
11 months ago
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
11 months ago
cl0cks4fe
639a634f7c
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528
12 months ago
Dean Lee
a896ef9680
util: remove unused functions ( #32372 )
...
cleanup
old-commit-hash: c063395312
12 months ago
Adeeb Shihadeh
35215df6c0
remove Offroad_InvalidTime alert
...
old-commit-hash: 1fc3d9224e
12 months ago
ZwX1616
f466145f34
image processing refactor and test ( #32249 )
...
* it's something
* backup
* 16:10
* cleanup
* this is fine
* close
* remove some junk
* no heck
* disos
* real 10
* for some reason this is flipped
* 20hz
* no return
* ae
* tear
* need curve laster
* correct real gains
* fix time
* cleanup
* why the scam
* disable for now
* 0.7
* hdr
* that doesnt work
* what
* hugeoof
* clean up
* cleanup
* fix regs
* welp cant
* is this corrent
* it is sq
* remove
* back
* stg10bit
* back2ten
* Revert "remove"
This reverts commit 18712ab7e1
.
* 20hz and swb
* correct height
* 10bit
* ui hack for now
* slight
* perfect
* blk64
* ccm
* fix page faults
* template
* set 4x
* is this fine
* try
* this seems to work
* Revert "this seems to work"
This reverts commit d3c9023d3f
.
* needs to be static
* close
* 64 is optimal
* 2
* take
* not 1
* offset
* whats going on
* i have no idea
* less resistence
* box defs
* no
* reduce blur artifacts
* simplify
* fix
* fake short is too much for bright
* can be subzero
* should not use lsvc
* no wasted bit
* cont no slow
* no less than 10bit
* it is based
* wrong
* right
* quart
* shift
* raise noise floor
* 4.5/4.7
* same ballpark
* int is fine
* shane owes me m4a4
* Revert "shane owes me m4a4"
This reverts commit b4283fee18
.
* back
* Revert "4.5/4.7"
This reverts commit e38f96e90c
.
* default
* oof
* clean up
* simpilfy
* from sensorinfo
* no div
* better name
* not the wrong one
* not anymore relevant
* too
* not call it debayer
* cl headers
* arg is 2nd
* gone is is_bggr
* define
* no is hdr
* rgb_tmp
* p1
* clean up
* 4
* cant for
* fix somewhre else
* const
* ap
* rects
* just set staruc
* nnew tmp
* pull it for now
* 12
* common rect
* Revert "not anymore relevant"
This reverts commit 1d574673a1
.
* Revert "too"
This reverts commit c2d4dcc52a
.
* Revert "Revert "too""
This reverts commit 0abbabe1fd
.
* no tol is fine
* rename
* sensor id
* unsgin
* flag
* some linalg
* cast
* should be h ref
* cap
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 331c7b103a
1 year ago
ZwX1616
c741dca04c
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
old-commit-hash: 1d05704d27
1 year ago
Dean Lee
9e67d3fd70
common/params.cc: unlink tmp_path only if there's an error ( #32145 )
...
old-commit-hash: c1edc0901e
1 year ago
Justin Newberry
4724c144a8
pytest: don't delete logs on-device ( #32080 )
...
fix log deletion
old-commit-hash: c09cf4983b
1 year ago
Adeeb Shihadeh
91be24ae16
timed: set valid flag ( #32061 )
...
* timed: set valid flag
* oops
old-commit-hash: 43832335b8
1 year ago
Dean Lee
f1d7faf60d
util: safer `ends_with` ( #31943 )
...
* safer ends_with
* improve
old-commit-hash: d05c19b9f4
1 year ago
Justin Newberry
ac853fc354
common/run: add environment variable argument ( #31957 )
...
run add environment argument
old-commit-hash: efc32c2930
1 year ago
Justin Newberry
1e238a2163
git commands: more parameterization on path ( #31942 )
...
* more cwd
* here top
* and here
* basedir
old-commit-hash: 806f743e12
1 year ago
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