Lukas Petersson
6034c5414a
params: expose getParamPath in python ( #24572 )
...
* params path
* cereal
old-commit-hash: 06b4466388
3 years ago
Keyvan Fatehi
fb1bf84fb5
typo fix ( #24542 )
...
old-commit-hash: 79a6512345
3 years ago
Adeeb Shihadeh
fb1c3b0d5d
common: replace custom xattr implementation with os module's ( #24448 )
...
* use os module's xattr function
* fix that
* handle in helper
old-commit-hash: 81dacbedca
3 years ago
Adeeb Shihadeh
9727e7b3c3
remove common/string_helpers.py
...
old-commit-hash: 38e294f393
3 years ago
Adeeb Shihadeh
d33afc2cac
remove custom markdown rendering ( #24538 )
...
* remove custom markdown rendering
* remove from release
old-commit-hash: 222c7cd60d
3 years ago
Dylan Herman
2dfba97175
add mypy check for return-any ( #24379 )
...
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
3 years ago
grekiki
7cd23af9b1
Mypy fixes for --check-untyped-defs ( #24372 )
...
more type fixes
old-commit-hash: 17e33978cd
3 years ago
Dylan Herman
11b9cb9fb5
enable numpy mypy typing ( #24387 )
...
* enable numpy mypy typing
* remove --warn-return-any
* merge conflict and syntax
* merge conflict
* merge conflict
* add type to img var
old-commit-hash: 603942ffe0
3 years ago
Adeeb Shihadeh
fdf13d565b
controlsd: add lagging alert ( #24360 )
...
* controlsd: add lagging alert
* move those
* just this for now
* no camera malfunction
old-commit-hash: 3abbe827de
3 years ago
Adeeb Shihadeh
1056784a95
pandad: better handling of internal panda failures ( #23755 )
...
* reset internal panda
* recover
* internal dfu
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 59134c05d6
3 years ago
Adeeb Shihadeh
9b9d332a54
paramsd: fix variable cpu usage ( #24281 )
...
* paramsd: fix variable cpu usage
* fix that
* increase that a bit
old-commit-hash: f7c2b8b46e
3 years ago
Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
3 years ago
Gijs Koning
de6904efc7
Improve lagging message description ( #24208 )
...
* Improve lag prints process name
* Cleanup
* small change
* Add bridge process name
* Use getproctitle
* Remaining
old-commit-hash: 0254a3fe11
3 years ago
mitchellgoffpc
44eaa8d88b
CALMODEL frame is dead
...
old-commit-hash: 25fdc95ea8
3 years ago
Lukas Petersson
df8476118b
Latency logging 2 ( #24058 )
...
* msg_order and gantt
* frameId in long/lat planner
* track frame id
* controls frame id
* graph tracked events
* graph json
* cloudlog timestamp
* c++ cloudlog
* add frame id
* bug fixes
* bug fixes
* frame id visionicp
* bug fixes and debug level
* timestamp log placement
* print timestamps in table
* translate events
* more logging
* bug fixes
* daemon boardd
* print logs with boardd
* more timestamp logs
* cleanup
* remove publish logs
* bug fix
* timestamp received
* timestamp received
* bug fixes
* use json lib
* ignore driver camera
* prep for new timestamp pipeline
* bug fix
* read new pipeline unfinnished
* read new pipeline
* bug fix
* add frame to controlsstate
* remove controlsstate
* print
* cleanup
* more cleanup + bug fix
* clock build issue
* remove unused imports
* format durations
* increase speed
* pr comments fixes
* conflicts
* set MANAGER_DAEMON for boardd
* clean script code
* bug fix + argparse
* remove rcv time
* bug fixes
* print without tabulate
* fix pre-commits
* plot gnatt
* color bug fix
* read without timestampextra
* bump panda
* mono time instead of frame id
* finnish script
* clean unused
* clean unused logging
* monotonic + json fixes
* del test
* remove whilelines
* bump laika
* cleanup
* remove deps
* logs nicer strings
* remove plotting from scirpt
* reset pipfile
* reset pipfile
* nicer strings
* bug fix
* bug fix
* pr comments cleaning
* remove plotting
* bug fix
* new demo route
* bump opendbc and panda
* cereal master
* cereal master
* script less komplex
* assertions
* matplotlib
* readme
* Update README.md
* graph html
* design fixes
* more code design
* Update common/logging_extra.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update tools/latency_logger/latency_logger.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pr comments
* bug fix
* readme + env once
* clean swaglog
* bug fix
* Update tools/latencylogger/README.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert
* revert
* clean swaglog with error
* remove typo file
* revert graph
* cereal
* submodules
* whitespaces
* update refs
Co-authored-by: Bruce Wayne <batman@workstation-openpilot2.internal>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 65fca83abe
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
3 years ago
George Hotz
dc78fc6e45
fix in window for xmonad with SDL2 ( #23786 )
...
old-commit-hash: 3573a3043b
3 years ago
Gregor Kikelj
ff3edba5fe
remove unused int_rnd function ( #23717 )
...
* testing
* revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 12b48dcfb0
3 years ago
Willem Melching
6346a84060
thermald: remove panda disconnect logic ( #23526 )
...
* thermald: remove panda disconnect logic
* keep that
old-commit-hash: ed23177898
3 years ago
Robbe Derks
233291a14b
monkeypatch os.link ( #23480 )
...
old-commit-hash: 4ff9ee8902
3 years ago
Harald Schafer
557882ddf3
Camera transforms: denormalize with no bounds at all
...
old-commit-hash: dbef0a1cd4
3 years ago
Harald Schafer
db6d7836a1
Camera transforms: denormalize with no bounds
...
old-commit-hash: ce998be706
3 years ago
George Hotz
86a39e838b
Add More Types for mypy ( #23268 )
...
* mypy passes
* a few more
* a few in manager
* more types, will lint
* more
* simple types
* events type
* Update selfdrive/thermald/thermald.py
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc96d4bee7
3 years ago
Ewout ter Hoeven
a962365292
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
3 years ago
mitchellgoffpc
c686a1adc8
Added sbigmodel frame transformations
...
old-commit-hash: 921656e9d7
3 years ago
Willem Melching
28dd415759
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c6949
3 years ago
Adeeb Shihadeh
973a48acef
remove dead + duplicate python code
...
old-commit-hash: 08f9316b56
3 years ago
mitchellgoffpc
f30f550f84
Added bigmodel_frame_from_calib_frame to transformations/model
...
old-commit-hash: 53e095343d
4 years ago
Mayfield
72c892e014
ui: render markdown in release notes ( #22754 )
...
* convert release notes from markdown to html
* fall back to previous behavior if utf8 decoding or markdown parsing throws
* make simple markdown parser to avoid needing a library
* add unit test
* move markdown parser to common. add unit test
use `markdown-it-py` instead of `markdown` dependency for test comparison since it's already in Pipfile.lock
* test (almost) all release notes and add some extra html encoding
* update lock
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1aebe6ff6e
4 years ago
Dean Lee
40b2bb9f65
params: code cleanup ( #22744 )
...
* cleanup params
* apply review
* continue
* use c_str
* cleanup filelock
* don't check return code of close()
* remove call_once
* cleanup params_pyx
* cleanup comment
old-commit-hash: 2773ff5ace
4 years ago
Dean Lee
6f0377cf1a
params: remove params_pxd.pxd ( #22723 )
...
old-commit-hash: 92682cb8e0
4 years ago
George Hotz
a6c031a9b1
transformations: preserve dtype in denormalize
...
old-commit-hash: cb01ef0919
4 years ago
George Hotz
edab0ea0a6
fix param setting
...
old-commit-hash: 9b61072690
4 years ago
Willem Melching
2e285bea20
Continuously update offset between TSS2 angle sensors ( #21943 )
...
* Continuously update offset between TSS2 angle sensors
* add comment
* less lines
* only when initialized
* init to None
* update ref
old-commit-hash: c15a616ac4
4 years ago
Willem Melching
6f92abc815
Less open file permissions ( #21922 )
...
* Less open file permissions
* add test back
* remove params test for permissions
* remove umask
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dddab597bc
4 years ago
Dean Lee
29ec7b83bf
params: remove persistent params ( #21975 )
...
* cleanup constructors
* remove persistent_param
* remove test_persist_params_put_and_get
old-commit-hash: 3b752a307f
4 years ago
Willem Melching
dad760624a
athena: return current upload status in listUploadQueue ( #21903 )
...
* return current upload item in listUploadQueue
* update progress on read
* move to file helpers
* use dict instead of global
old-commit-hash: 28823917ea
4 years ago
Willem Melching
705988abb5
api_get: keep same api ( #21838 )
...
old-commit-hash: 267a0b343b
4 years ago
Dean Lee
ceb40d8384
api: use API_HOST env variable everywhere ( #21814 )
...
* api base url to global constant
* update api/__init__.py
old-commit-hash: 543e019f71
4 years ago
sshane
51698f04bc
Use first order filter ( #21411 )
...
* Use first order filter in INDI
* use first order filter in LP as well
* Update selfdrive/controls/lib/lane_planner.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* RC->rc
* division safe
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c900bce1b0
4 years ago
Greg Hogan
32d1fbed4b
only log errors once
...
old-commit-hash: d0c079d810
4 years ago
Willem Melching
0fb755e425
Release GIL when calling C++ params functions ( #21257 )
...
* Release GIL when calling C++ params functions
* small cleanup
old-commit-hash: 2f759893ca
4 years ago
ShaneSmiskol
ddff72ccea
Add CLEAR_ON_IGNITION_OFF param type ( #21121 )
...
old-commit-hash: 36beaf0d68
4 years ago
Josh Smith
2cae3a3799
Add type hints, small cleanups ( #21080 )
...
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl
* unpack more efficiently
* minor improvements
* agnos.py match spec better
* manual_ctrl test missing queue arg
* fix incorrect type annotation
* queues are generic
* varname reuse resulting in incorrect type inference
* bytes().hex() rather than bytes.hex(bytes())
* a bit of type hinting stuff
old-commit-hash: 77321dbac4
4 years ago
Adeeb Shihadeh
39d83ba32c
remove oneplus camera params ( #21047 )
...
* remove oneplus camera params
* align
old-commit-hash: 8fdbbdef73
4 years ago
HaraldSchafer
3a38582efb
clip arcsin to prevent locationd orientation NaN ( #20868 )
...
* clip arcsin
* can of course be negative
old-commit-hash: 0a34900fec
4 years ago
Adeeb Shihadeh
88434dc9e4
add CLEAR_ON_IGNITION param type ( #20810 )
...
old-commit-hash: b4447993c1
4 years ago
Dean Lee
b12a444bdd
Params: move keys from cython to cc ( #20814 )
...
* move keys from cython to cc
* consistency
* passes tests
* more consistency
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 27d3f820bf
4 years ago
Adeeb Shihadeh
ec7913cbe5
delay controls start ( #20761 )
...
* delay controls start
* shouldn't need this stuff anymore
* only delay board
* bail after 2s
* fix loopback test
* fix process replay
* update refs
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f9a961f6fb
4 years ago