Adeeb Shihadeh
2130eae8b1
fix panda_jungle static analysis
...
old-commit-hash: bfeaf35d6dd2c29c65b80a70ccafd9948056731a
2022-04-27 15:45:00 -07:00
grekiki
77d6d9a083
mypy: enable --warn-unused-ignores ( #24287 )
...
* this is the easy part to check
* Not sure what this fixes, https://github.com/commaai/openpilot/pull/24282/commits/8aaf00c6a41ac4c9c5e56f8a2dfed8591f153b67
* bump laika
* works here
* cleanup
* add types-certifi
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 049b163ea0494a21956d89d4cb2a527dcbd62c0c
2022-04-27 14:26:15 -07:00
George Hotz
d348193169
compressed_vipc: make yuv default
...
old-commit-hash: 3694f9801c280cdba5654a8ad90ef4b5827795d0
2022-04-25 21:44:37 -07:00
Comma Device
482801d4fd
body: remove print spam
...
old-commit-hash: 729d7ae549315411017cc19aeae52baeca27c776
2022-04-25 20:07:12 -07:00
Cameron Clough
38e14ed47b
Don't build OpenCV tests in webcam docker image ( #24326 )
...
Building opencv tests and apps are [on by default](https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html#tutorial_config_reference_general_tests ),
but we don't need them.
old-commit-hash: 2d77a31cd57a17e8562ba7a57f741a942d674cf9
2022-04-25 16:08:42 -07:00
MT
e80d78969d
ubuntu_setup.sh: support 22.04 LTS ( #24312 )
...
* Build on 22.04 lts
- Removed python-dev from install_ubuntu_common_requirements()
- Added case ubuntu 22.04
- Added install_ubuntu_21.10_requirements()
- Modified install_ubuntu_latest_requirements() to include python3-dev instead of python-dev
* remove 21.10
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2a64f7b5638d4acf0dff3a84e842e78a89537d77
2022-04-25 14:06:30 -07:00
Gijs Koning
0112f4212f
Simulator: Fix keyboard input ( #24320 )
...
* Fix keyboard input for simulator
* add unblock_stdout() to test
* Revert import change
old-commit-hash: 01968ca61ba32174f86f826c5b4166890034691c
2022-04-25 07:26:30 -07:00
Gijs Koning
4ed3a158af
Simulator Tests ( #24274 )
...
* squash #24009
* Fix from other pr
Add low-quality arg
* Update tools/sim/test/test_carla_integration.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Updates for comments. Not finished yet
* commit
* fix arguments
* Final changes for comments
* Final fixes
* increase carla client timeout to 10
* make test executable
* actually wait for controlsd to send messages
* Error proof test. Starting up carla at each test and closing down using docker (tried many things).
* commit test carla
* Removed some time.sleeps
Add some more retries for bridge.
* Stop while loop on shutdown
* Increase teardown waiting time
Co-authored-by: Willem Melching <willem.melching@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 9be23cbdb9cbb6ee4cfc2e6332a81fd82f18c91e
2022-04-22 18:00:49 +02:00
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: b8b15d5cf1d2507c89bbe0e3b1de1ff043d9078e
2022-04-21 18:27:45 +02:00
George Hotz
b872fe92ab
loggerd: Separate writer from encoder ( #24257 )
...
* seperate writer from encoder
* video writer in release
* confirm loggerd on PC works, add YUV option to compressed_vipc
* make raw_logger use video_writer
* put this back to master
* close codec
* put this back
* use unique_ptr
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 8d2465578707022ca4a54defe171103955026a65
2022-04-20 14:51:24 -07:00
Lukas Petersson
a9b23562ee
Latencylogger list logreader ( #24276 )
...
old-commit-hash: e063f77accad8fe6a37da463979272ec23c4b5d2
2022-04-20 12:02:05 -07:00
Gijs Koning
8ddeb3f531
Add wide camera to Carla ( #23989 )
...
* Add c3 camera flag to bridge.py
* Set c3_cameras to default
* add runtime error message
* Remove c2 arg
* Update to 163 fov to not see through car
* update comment
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* Revert camera.py changes
* Remove focal_length
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 13254cef2f56e960093ae05471f4c1c0281d7e34
2022-04-20 08:06:56 -07:00
Gijs Koning
7b4b8d3f58
Carla pip dependency and fix for git init ( #24258 )
...
* Add carla pip dependency for dev
* Revert other packages in pipfile
* Remove redundant carla install in docker
* Fix CI
Remove broken openpilot_build
* New run command
old-commit-hash: e95a250bcad5f07b7092ba6faf989352d933f678
2022-04-20 05:23:27 -07:00
Lukas Petersson
544375abcf
Disambiguate frame id in latencylogger ( #24164 )
...
* add tools to disambiguate frame id
* Update selfdrive/camerad/cameras/camera_qcom2.cc
Co-authored-by: Gijs Koning <gijs-koning@live.nl >
* bug fix
* remove duplicate code
* PR comments
* bug fix
Co-authored-by: Gijs Koning <gijs-koning@live.nl >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 397bd25e971abf5c32276cbd0c48c61d7b1eae30
2022-04-19 14:29:24 -07:00
Adeeb Shihadeh
ae71ecf8b8
manager: start bridge and web joystick for notcars ( #24212 )
...
* manager: start bridge and web joystick for notcars
* fix that
* bump cereal
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 76a83381977f9dd3d5b223e0dfb8e1617e2c7237
2022-04-19 14:13:05 -07:00
Adeeb Shihadeh
db252b457a
improve tici thermal control ( #24228 )
...
* improve tici thermals
* more i
* always 70
old-commit-hash: c5378cf8b923446269b7c207451a9804b6f862b0
2022-04-19 11:07:54 -07:00
George Hotz
5ce06c5016
joystickd: add send thread
...
old-commit-hash: 13e18b605a1a2f259cea5459f34358cd12322eb8
2022-04-18 22:35:19 -07:00
George Hotz
8353786c69
joystickd: add WEB support, add logitech joystick support
...
old-commit-hash: e9ef6509010f3ce6881e61a6b04e8fbe11e1b312
2022-04-18 22:13:09 -07:00
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: 5c48e7bc86a621dd35f4ff25da7a26ee506bac76
2022-04-18 17:55:23 -07:00
George Hotz
20119b5ef6
body: web joystick handle timeout
...
old-commit-hash: df6c2b6af9e3089edafcda98344df3fd11273b63
2022-04-14 16:12:30 -07:00
George Hotz
d9a94cc785
body: web joystick
...
old-commit-hash: d7b849720cc6354543b60718414b2a07bf45a172
2022-04-13 14:29:17 -07:00
Lukas Petersson
93d0e6b65a
Latencylogger optimization ( #24166 )
...
old-commit-hash: 3ea92f6cd3aeb76bbf02ae3332f13a42c2281dcf
2022-04-13 13:50:57 -07:00
George Hotz
9720bb37b5
loggerd: broadcast encoder data ( #24177 )
...
* encode data try 1
* fix pc build
* low quality compressed streamer with pyav
* nvidia streamer
* timestamp support
* fix latency measurement
* refactor
* camerastream updates
* fix linter
* compressed to vipc, clean
* remove print
* touchups
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: dab978083b7014faa2aef2f43830e87323188578
2022-04-12 12:08:50 -07:00
Lukas Petersson
9705604939
latency logger usable in testing closet ( #24183 )
...
old-commit-hash: 7034888cdbcc41a4bfb6c9ff14347bf48af8721a
2022-04-11 16:44:24 -07:00
Lukas Petersson
156234ced3
latencylogger graph design ( #24165 )
...
* latencylogger graph design
* Update tools/latencylogger/latency_logger.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* quotes
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: fecaac8edaa954a2ef9d93bde8c836f36617e859
2022-04-07 13:18:26 -07:00
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: 65fca83abed98f32993286dc5a66e3e583f06172
2022-04-05 21:05:45 -07:00
Shane Smiskol
38c74c325b
PlotJuggler: fix support for Cabana links ( #24037 )
...
* support Cabana links better
* not needed
* Update tools/plotjuggler/juggle.py
old-commit-hash: a953d8222d0267b6d53d476939e7426152a96543
2022-04-05 11:24:03 -07:00
Erich Moraga
2b7ac102af
Added embedded tuning wiki hyperlink ( #24133 )
...
https://github.com/commaai/openpilot/wiki/Tuning
old-commit-hash: f861854e256e67e3a79c9a7a7dbe9b6218174997
2022-04-05 10:30:09 -07:00
Adeeb Shihadeh
69bfa59a81
sim: write params to enable in Dockerfile ( #24113 )
...
old-commit-hash: d1c3b7a20d0bd62dfb2a4c16d54b9e83b131055b
2022-04-04 09:05:20 -07:00
Adeeb Shihadeh
6f88ca1c6f
MultiLogIterator: add function to reset
...
old-commit-hash: c95ec211e15e206bf8750bf8d9429206eefedc69
2022-03-25 19:56:22 -07:00
Adeeb Shihadeh
0c9aa1570b
sim: add ignition toggling ( #24043 )
...
old-commit-hash: bb36a1c8b2136ef556613abddaca308a05d54295
2022-03-25 14:17:45 -07:00
Jack Huang
d44266bed4
CARLA: fix setting camera EOF ( #24034 )
...
* Fix Openpilot in Carla isn't accelerating
The scalars of the timestamp are different in real-world and simulation,
which will cause an infinite loop in selfdrive/modeld/modeld.cc.
* Set eof based on the frame ID
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* remove global
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: db93275d870990979acda75d8c8f9d1d502aabfa
2022-03-25 13:45:08 -07:00
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66ddaa6bc06d7f72f9134aa9afeed3ed8
2022-03-24 23:23:29 -07:00
Adeeb Shihadeh
fd37ab2d97
plotjuggler: add lag debugging layout
...
old-commit-hash: b57c2f4a14248153e6a8bfa6044b05a8fb853a8f
2022-03-22 15:34:49 -07:00
mitchellgoffpc
b7e99b3f45
Ignore BrokenPipeError
...
old-commit-hash: 5c8c6faa9a6a3041bf2d85b8397656d61b1603ce
2022-03-22 12:52:25 -07:00
whokilleddb
e8d2ac0cdc
Sanitize IP zookeeper/enable_and_wait.py ( #24007 )
...
* Sanitize IP zookeeper/enable_and_wait.py
* Fixed Identation
* Fixed Gaierror
old-commit-hash: 1bdf29dc5b24b982dbe0d7fdeaa9f8cb633a1cc3
2022-03-21 17:49:03 +01:00
Adeeb Shihadeh
fe6209bd8c
plotjuggle: add blockedCnt to controls mismatch debug layout
...
old-commit-hash: 7eb9416f6b856c1379fe98e1f1a0bb12dfdc56db
2022-03-18 15:48:07 -07:00
Gijs Koning
772cbb7753
Update carla script to easier install docker and nvidia-docker ( #23986 )
...
* Easier docker and nvidia-docker install in carla script
* Small cleanup
* cleanuo
* cleanup
* More comments
* Remove adding usergroup step
old-commit-hash: 3d8537ab23197a383fd1dd7082329ddee1acfdb7
2022-03-18 14:07:39 -07:00
George Hotz
e6748f0d9d
camerastream: update receive.py with some options
...
old-commit-hash: fa4b434e432f68dfc8944592c63f3594a9fad0b3
2022-03-14 15:02:42 -07:00
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: 57b6fdc17a1f84ec922647c044da5df3cafc0ddc
2022-03-14 14:03:54 -07:00
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc7b25c9ce502419bcd0261c12ec2b0d
2022-03-13 21:42:39 -07:00
George Hotz
f13d8a6fce
add script to receive camerastream supported by camerad
...
old-commit-hash: 69736877d6cfe7f2a13112e08ea0dc6d0943a469
2022-03-11 20:05:59 -08:00
Adeeb Shihadeh
8a682597ca
can_print_changes improvements
...
old-commit-hash: 1680f1e251b8feeff9f2b8a52cef1a19f6fedf48
2022-03-10 14:32:19 -08:00
Robbe Derks
6ad1d31896
Add --dbc argument to plotjuggler ( #23919 )
...
* add --dbc argument
* Update tools/plotjuggler/juggle.py
* update readme
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 9facd366fb267a7a1269c40b9d303b5e3e83fc6e
2022-03-07 16:04:02 -08:00
xx979xx
663579dd78
tools: add MultiLogIterator example to readme ( #23917 )
...
* update LogReader doc
use MultiLogIterator to read the entire route, get timestamps and deal with exceptions
* bring back the old example
* clean f-strings
* simplify
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: da5093045075ee7f8253fe071c74bc5b04117b34
2022-03-07 10:04:41 -08:00
Adeeb Shihadeh
ce42e116c9
mac setup: add catch2
...
old-commit-hash: c65ca6ab1d609ac291f4b57eb3414236bd648999
2022-03-05 15:29:06 -08:00
Andrew
c8ef3e4990
fix mac_setup w/ tools+plotjuggler ( #23552 )
...
* fix pycurl issue:
* use newer curl backend for pip install
* update lib paths based on brew prefix
* fix cert issue when using pycurl using certifi
* make output setup nicer
* fix linter
* typo
* dont need that actually
* revert
* pipenv in brew
* forgot this
* make brew available on fresh install
* undo
* more undo
* oops
* use sytem curl, but homebrew openssl
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: df627de7bf10e2267f7aa66ec9830d004e699b0a
2022-02-23 13:04:50 +01:00
Willem Melching
cc65efe7b0
ui.py: fix model lead plotting
...
old-commit-hash: efc9084409f61afb8da753353f25d336f51c2163
2022-02-21 11:56:20 +01:00
Greg Hogan
8e9f3ae789
tools: fix segment end index in juggle.py ( #23715 )
...
old-commit-hash: a195603f6d4a2502afaa12ad1243780a02711a04
2022-02-06 13:55:41 -08:00
Adeeb Shihadeh
12dcbe8617
test car models improvements ( #23668 )
...
* run on all routes
* min segment length
* invalid
* revert that
old-commit-hash: c8429f913e15934cf46564f23584cc454699ffdc
2022-01-30 11:17:51 -08:00