Dean Lee
efeb964728
replay/camera: set frame id before send ( #25591 )
...
old-commit-hash: 8f3b259f7c
3 years ago
Dean Lee
66b0c1c591
replay: add missing format specifier ( #25590 )
...
old-commit-hash: cd32f64d01
3 years ago
Dean Lee
06556bd76a
replay/CameraServer: yuv_buf should not be null ( #25545 )
...
old-commit-hash: f95519cb44
3 years ago
Cameron Clough
07084dcbaf
user event flagging ( #25517 )
...
* setup home_btn in sidebar
* create UserFlag msg
* replay: show and skip to user flags
* update translations
* bump to cereal master
* remove comment
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b3cfe962cf
3 years ago
Nelson Chen
c824ca1076
Update replay README.md to be more clear that auth.py is in tools/lib ( #25366 )
...
and a little minor format fix
old-commit-hash: 4fb318c5be
3 years ago
Dean Lee
908eb73e35
replay: add support for reading from plain logs ( #25053 )
...
* read from plain log
* reduce memory copies
* cleanup
* fix test_replay
old-commit-hash: 91eb096ac9
3 years ago
Willem Melching
994b31a585
fix MacOS buid: replay frameworks ( #25061 )
...
* replay: fix macos build
* here too
* keep original frameworks
old-commit-hash: 356190f671
3 years ago
Dean Lee
1175e76182
framereader.cc: remove nv12toyuv_buffer ( #24991 )
...
remove nv12toyuv_buffer
old-commit-hash: e0cd3bf5fc
3 years ago
Dean Lee
2156e71e7a
move replay from selfdrive/ui/replay to tools/replay ( #24971 )
...
* mv to tools/replay
* change folder
* add .gitignore
* fix build doc
* disable warning
* enable warning after build
* build qt/util.cc qt/api.cc to library
* cleanup
old-commit-hash: fd5b3d7603
3 years ago
Shane Smiskol
aecb469f36
can replay: get logs in parallel ( #24960 )
...
* get can replay segs in parallel
* total not needed
old-commit-hash: 379dc24eca
3 years ago
Adeeb Shihadeh
7061996882
ui.py: update for nv12
...
old-commit-hash: f05166ae26
3 years ago
Adeeb Shihadeh
3e8625e50b
visionipc python shim ( #24660 )
...
old-commit-hash: 32a9ccfc37
3 years ago
Willem Melching
7d5546452c
ui.py: use YUV stream
...
old-commit-hash: 2bdb2cb40a
3 years ago
grekiki
7cd23af9b1
Mypy fixes for --check-untyped-defs ( #24372 )
...
more type fixes
old-commit-hash: 17e33978cd
3 years ago
Ross Fisher
a36e28f2a9
tools: add link to jungle repo ( #24477 )
...
old-commit-hash: 32e4dc3869
3 years ago
Shane Smiskol
66454c000e
Fix can replay Jungle warning ( #24364 )
...
old-commit-hash: 2fa5a59e3f
3 years ago
Daniel
2201cf91a6
Update can_replay.py ( #24346 )
...
Fixed typo from PandaJugnle to PandaJungle
old-commit-hash: c60ce2a770
3 years ago
Adeeb Shihadeh
2130eae8b1
fix panda_jungle static analysis
...
old-commit-hash: bfeaf35d6d
3 years ago
grekiki
77d6d9a083
mypy: enable --warn-unused-ignores ( #24287 )
...
* this is the easy part to check
* Not sure what this fixes, 8aaf00c6a4
* bump laika
* works here
* cleanup
* add types-certifi
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 049b163ea0
3 years ago
grekiki
cc943ac9a5
mypy: enable --warn-unreachable ( #24282 )
...
* Optional solves mypy assuming None is always None
* oops
* spaces
* Update registration.py
* fix local error
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b8b15d5cf1
3 years ago
Gijs Koning
cedd8abc05
Rename RGB vision streams to match YUV streams ( #23961 )
...
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 57b6fdc17a
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
Willem Melching
cc65efe7b0
ui.py: fix model lead plotting
...
old-commit-hash: efc9084409
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
Adeeb Shihadeh
5aebf5466a
can_replay: warning & clone cmd if jungle lib is missing
...
old-commit-hash: b8393f7271
3 years ago
Dean Lee
15ed1a50a3
replay: fixed the alignment issue when replaying from C3 qcamera ( #22734 )
...
* fix qcamera replay
* fix alignment in replay
* upscale yuv if needed
* remove space
old-commit-hash: 41e5e76596
4 years ago
Willem Melching
67f41f32f1
Sphinx docs generation ( #22697 )
...
* add sphinx
* switch theme
* Experiment: sphinx docs generation updated (#22708 )
* moved build to root gitignore, added .gitkeep
* Improved makefile doc build process
- Removed auto-generated docs from source control
- Moved apidoc.sh into Makefile
- Removed make.bat (can add back if Windows support desired)
- Added sphinx viewcode and markdown extensions
- Added feature to source /docs in build, so any .rst file in /docs will
override the respective file during the build process
- Added feature to copy all markdown/rst files from source into /build/
during build process so they can be easily referenced while writing
docs (see examples in index.md)
- Wrote basic starter index.md file
TODO: Add new dependencies to Pipfile [dev-packages]
* Revert accidental modification to Pipfile
* fix command substitution
* exclude xx
* improve docs
* dont include all docs in release build
* Add dockerfile
* update title
* include normal readme
* build container in CI
* use buildkit
* add login
Co-authored-by: Chad Bailey <chadbailey904@gmail.com>
old-commit-hash: b816b5b644
4 years ago
Willem Melching
116ae68bdb
do not run on import
...
old-commit-hash: 59accdd814
4 years ago
Adeeb Shihadeh
39099120a5
can_replay: use segments without an FCW
...
old-commit-hash: 7b5d915a68
4 years ago
Dean Lee
09a378d1eb
tools/ui.py: support playing qcamera ( #22571 )
...
old-commit-hash: f564eca51d
4 years ago
Adeeb Shihadeh
61e3458852
update replay readme
...
old-commit-hash: cbac96f50c
4 years ago
Adeeb Shihadeh
86d84599dd
remove old tools camera script
...
old-commit-hash: 0d10c00026
4 years ago
Greg Hogan
ce1c24a0df
replay: do not clear ui image when paused ( #22467 )
...
* replay: do not clear ui image when paused
* also stop plots
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 720e82eeef
4 years ago
Willem Melching
af467b7b6d
ui.py: small plotting cleanup ( #22441 )
...
old-commit-hash: 1cfabc3388
4 years ago
Dean Lee
1240e4a673
replay/ui.py: get image from vipc ( #22433 )
...
* get image from vipc
* cleanup import
* if not None
* lgtm
* bump cereal&do reconnect
* bump cereal
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2a8feb9eb9
4 years ago
Willem Melching
d0d63b7fb9
replace unlogger.py with c++ replay ( #22430 )
...
old-commit-hash: e233d59e03
4 years ago
Adeeb Shihadeh
4852437483
update demo route ( #22381 )
...
old-commit-hash: dd67dc6b34
4 years ago
Willem Melching
c8990cb174
unlogger.py: fix YUV replay ( #22299 )
...
old-commit-hash: 1e494a5224
4 years ago
sshane
147823fc6b
fix small typo in replay docs ( #22305 )
...
old-commit-hash: 535af87650
4 years ago
Adeeb Shihadeh
9b50379537
fix up replay docs
...
old-commit-hash: 07d23a1db9
4 years ago
Willem Melching
4e529f843b
Hyundai radar parser ( #22241 )
...
* add radar parser for 0x5XX range
* fix speed
* enable based of fingerprint
* fix speed scale
* use proper signal names
* add to release files
* hyundai: script to enable radar points
* typo
* add comment
* fix tests
* cleanup
* add note about persistent
* Update selfdrive/car/hyundai/radar_interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* fix bugs in hyundai enable radar points script
* accidentally removed comment
* add some other cars
* add cosine to dRel
* fw versions do not match openpilot
* bump opendbc
* include state 4
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6fd980c63e
4 years ago
HaraldSchafer
cb1cd01bdf
cleanup old nidec accel override logic ( #22181 )
...
* cleanup old nidec accel override logic
* add ref without deprecated fields
* no more override
old-commit-hash: 74b6c87254
4 years ago
HaraldSchafer
a73a820338
Change car controller interface from gas/brake to acceleration ( #21911 )
...
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1ac89f14aa
4 years ago
Comma Device
b9ffdc8a3d
can replay: flashing lock
...
old-commit-hash: 6a5940c562
4 years ago
Adeeb Shihadeh
f0fcb68bb9
fix up can replay script
...
old-commit-hash: fd81a5556b
4 years ago
speedking456
4895422c90
fix tools readme url typo ( #21913 )
...
old-commit-hash: 69da1a6e6e
4 years ago
Maxime Desroches
202af3bb4e
tools: fix replay/camera.py crash ( #21881 )
...
* check array size before reshape
* revert
* check length directly
old-commit-hash: d90188a14e
4 years ago
Adeeb Shihadeh
e513b1eb43
my.comma.ai -> connect.comma.ai ( #21702 )
...
old-commit-hash: deb170e0b2
4 years ago
Willem Melching
6e5af4de8a
fix ui.py after longitudinal refactor
...
old-commit-hash: a85b5557ed
4 years ago
HaraldSchafer
7e87930a20
Refactor lateral lag compensation ( #21334 )
...
* add T_IDXS
* refactor
* fix test
* unused
* typo
* needs casting
* Update selfdrive/controls/lib/drive_helpers.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* deprecate field
* regen all
* new segs
* add todo
* split back
* clean
* bad names
* do in controls
* add arg
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6838e1c82c
4 years ago