Andrei Radulescu
0f1a9d5c8c
webcam: changes for comma zero ( #35464 )
...
* Revert "webcam: remove other cv2 usage (#33236 )"
This reverts commit 0cade54015 .
* Revert "remove cv2 usage (#33101 )"
This reverts commit 144e9e271c .
* Revert "remove opencv-python-headless (#33082 )"
This reverts commit 488e08507a .
* webcam: set width, height, fps; flip image; use av reformat
* 1280x720 @ 25fps
2025-06-28 11:30:13 -07:00
Andrei Radulescu
8b8f33f488
webcam: back to opencv ( #35522 )
...
* Revert "webcam: remove other cv2 usage (#33236 )"
This reverts commit 0cade54015 .
* Revert "remove cv2 usage (#33101 )"
This reverts commit 144e9e271c .
* Revert "remove opencv-python-headless (#33082 )"
This reverts commit 488e08507a .
* update uv.lock
* keep av bgr2nv12
* rename
2025-06-25 10:58:14 -07:00
Andrei Radulescu
ef6719f24e
webcam: make driver camera optional ( #35455 )
...
* webcam: driverCamera optional
* webcam: update README
2025-06-05 10:23:51 -07:00
Mike Busuttil
7a72e419fe
Openpilot webcam support improved ( #34215 )
...
* control webcam with ENV vars
* WIP: actual instructions
* wording
* file no longer exists
* this is expected behavior, just untested
* more readable
* tested on fresh install
* wording tweaks
* explicit USE_WEBCAM toggle required
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* debug-ability improved
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* newline removed
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2024-12-19 14:36:36 -08:00
Jason Young
7202c5acb8
Webcam fixes ( #34211 )
...
* follow VIPC API change, add logging
* use full path for video devices
2024-12-11 14:03:40 -08:00
Maxime Desroches
c551f1d239
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
old-commit-hash: 1dcd66081531f4568a8de69637fc7a3f4ef3214f
2024-08-13 21:22:13 -07:00
Maxime Desroches
0cade54015
webcam: remove other cv2 usage ( #33236 )
...
av
old-commit-hash: a8c0c158adcc6c08dd83cbb1b8499ed468d3184f
2024-08-08 16:35:30 -07:00
Maxime Desroches
144e9e271c
remove cv2 usage ( #33101 )
...
remove cv2
old-commit-hash: 583e89d3a4f912911df2f1350cb109baa16c9f22
2024-07-28 15:08:27 -07:00
Adeeb Shihadeh
488e08507a
remove opencv-python-headless ( #33082 )
...
old-commit-hash: f39c5c22e80740700aa3c9bd8cba2a684903e9d2
2024-07-25 19:30:40 -07:00
Maxime Desroches
1b836bdb86
Ubuntu 24.04 ( #32624 )
...
* noble build
* workflow
* symlink
* map only for noble
* sym
* add qt to cppcheck
* cppcheck noreturn in non void funct
* get kaitai header
* kaitai header
* syntax
* try new pyopencl
* try this version
* install lsb-core manually
* support old 20.04 lsb-core
* try arm
* try latest pyopencl
* revert
* use pocl icd
* no lock
* no arm pyopencl
* new intel opencl runtime
* pin filelock
* undo
* glsl version
* new version
* build test
* remove test
* new metadrive
* remove glsl restrictions
* <optional>
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* cache
* new cache
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
2024-06-18 03:30:32 +00:00
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7e39a56235f590227e7cb361cd8b79d
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cfe73cdca41f5afa73cf4ad085802930
2024-05-25 12:41:17 -07:00
Adeeb Shihadeh
678e05be08
remove dead webcam dockerfile
...
old-commit-hash: 52acae579763a15510b6788b31c22de975d54271
2024-05-17 20:00:10 -07:00
Justin Newberry
0a866b2618
Webcam: prepare to make camerad a PythonProcess ( #31202 )
...
* webcam
* support /dev/* syntax
* support strings
old-commit-hash: 75d3e5fb4e16c0407cbf7a9b4df08939fa0fe660
2024-01-29 10:10:55 -08:00
Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423a2e78187d16018b70a78f56c02027d
2024-01-19 14:05:03 -08:00
Hoang Bui
87cadf7262
Python camerad for webcam ( #30930 )
...
* webcamd
* remove destroy windows
* block
* shebang execute
* executaleeeee
* executableeeeeee
* she bang for camerad.py
* listener
* no signal?
* good
* ruff fix
* delete listener
* recover sim
* remove assert
* refactor
* fix shell
* fix namedtuple
* little change
* to tuple
* cleanup
* update readme
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 7fdd5c4a7d72d16eb2246b4766a4da6c9aad0765
2024-01-08 19:22:21 -08:00
Adeeb Shihadeh
8d11c3b742
Update Python packages and pre-commit hooks ( #30597 )
...
* Update Python packages and pre-commit hooks
* fix
---------
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com >
old-commit-hash: 46f3fdc090cef3b4b1b8bb4938ad68e1ca7cb280
2024-01-05 15:17:49 -08:00
Adeeb Shihadeh
f3dec8658c
Revert "Simplify passive mode handling ( #30593 )"
...
old-commit-hash: 99d51bf02c5a13f3064b012da55634f8a319091e
2023-12-04 15:05:05 -08:00
Adeeb Shihadeh
4be789d40a
Simplify passive mode handling ( #30593 )
...
* simplify passive handling
* makes more sense
old-commit-hash: 5ccff25d885365e4247665fdf8380c6b67c36b28
2023-12-03 13:59:59 -08:00
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Cameron Clough
8a4a390d6f
Fix OpenCL driver URL ( #26650 )
...
old-commit-hash: 3d2f6c1dc05c716acb40ed612719f7d0ba3d2a8f
2022-11-30 21:45:44 -08:00
Adeeb Shihadeh
51c5932248
update webcam readme
...
old-commit-hash: 051e1e0a062e0eb398e9bb16291b95ba3ae497eb
2022-08-25 17:00:02 -07:00
Adeeb Shihadeh
d9d83b0225
Move camerad to system/ ( #24836 )
...
* mv camerad
* add hardware symlink
* fix unit tests
old-commit-hash: 6123ab3d1c901ed3763e1a7cb8e1aac3f6b8fda3
2022-06-19 14:43:49 -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
Adeeb Shihadeh
1ea1b9072a
smaller docker image ( #23469 )
...
* save 2gb
* not used
* more cleanup
* little more
* wget too big
* follow
* needed for sim
old-commit-hash: fa3055f280ca56ce4563108a85e6ca6e121310c5
2022-01-10 11:43:18 -08:00
Adeeb Shihadeh
8ec4fa1002
update to python 3.8.5 ( #20217 )
...
old-commit-hash: 2034a047507c9eb69dd431d6527fff0af6157c62
2021-03-09 13:38:22 -08:00
Willem Melching
c0098cec09
Manager cleanup ( #20231 )
...
* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00
Adeeb Shihadeh
0823abceff
tools: cleanup + setup CI ( #20104 )
...
* cleanup tools
* setup tools CI
* loggerd doesn't support this anymore
* cleanup
* builds with openpilot now
old-commit-hash: d1b44bbb345e02eaf5225c2b90fef819b29bc07a
2021-02-17 20:37:01 -08:00
Willem Melching
c8bcf66cd5
Remove dockerhub references from CI ( #20038 )
...
* cache from base image
* specify github repo
old-commit-hash: e9c4a75a5c430ac6968808f103145cd0bd98a17a
2021-02-08 11:53:47 +01:00
Adeeb Shihadeh
75b57c9ffe
faster webcam CI ( #19975 )
...
* don't copy in openpilot
* need that
* try this
* reenable the condition
old-commit-hash: afa1e69bc1cb74949ebed7e7517f428ae0f93c27
2021-01-30 17:56:54 -08:00
Adeeb Shihadeh
c64a8356fe
move to github container registry + CI speedup ( #19621 )
...
old-commit-hash: 59d7c5e64ac3c8666c54c3443f912e4e0db92eb9
2020-12-31 14:57:01 -08:00
grekiki
0b902a02c1
Scons builder for cython extensions ( #2485 )
...
* complie boardd without python
* not good, but don't want to lose the file, because it works
* clean a bit
* update dbc
* should build on CI
* not good, but don't want to lose the file, because it works
* clean a bit
* should build on CI
* remove unneeded path
* reorder paths
* reduce diff
* and now it works?!
* ... should work in CI
* add kj, 30% chance to fix macos
* pydebug
* new way to find path
* fix :)
* tested
* sanity check
* repl. MacOS flags
* hope it works
* need more logs
* need more logs2
* test if it works
* should work on CI
* correct python file
* should not work
* cleanup
* real cleanup
* more removals
* 50% of file
* transformations
* fixed a hardcoded variable
* more logs
* simpl.
* kalman
* all donw if it passes tests
* cleanup
* reduce code by 20 lines if this works
* fix bugs
* cleanup
* SharedLibrary
* cleanup
* ...
* remove unused
* CI fix maybe?
* add more valid path
* more logs
* ...:
* fix webcam CI
* remove WError flag
* deprecated is not an error
* more Wno things
* reduce diff, add Wno to env
* don't import nonexistent stuff
* SharedLibrary v2
* less custom env
* renaming, remove SharedLibs
* pack libs in envCython
* experiment
* better docker caching
* whitespace
* more docker caching
* improvement
* improvements
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 9529764549b8c59f7cf141ff3d2d9613ab53beab
2020-11-11 21:14:51 +01:00
Adeeb Shihadeh
f25cec394e
grey panda is unsupported ( #2458 )
...
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh
2e5247056a
ubuntu 16.04 -> 20.04 ( #2378 )
...
old-commit-hash: 719c5e3598846a6f3fa08c85bb811d197e0c6d0a
2020-10-29 16:51:09 -07:00
Adeeb Shihadeh
fb935fa5f7
Build openpilot with webcam support in CI ( #2070 )
...
old-commit-hash: f4e18e0b7408bc73ffa9320c8ce2689b74993430
2020-10-16 15:16:17 -07:00
Willem Melching
725c5e742f
Modeld: loop over platforms to find CPU/GPU ( #1710 )
...
* Modeld: loop over platforms to find gpu
* Remove prints
* PC needs CPU
* Keep default for qcom
* Update error message
old-commit-hash: 4ca8283d739ab31e2fdbd2aeb658cb4f0d2e1bcc
2020-06-15 15:58:12 -07:00
Adeeb Shihadeh
d7d8f3091b
clean up webcam readme
...
old-commit-hash: c6bd1874503b26e8443ecb28afd6819b44684e78
2020-06-06 21:21:25 -07:00
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
2020-06-03 12:54:49 -07:00
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
Willem Melching
2ac27def5a
Running pre-commit in CI ( #1590 )
...
* Running pre-commit in CI
* fix dockerfile syntax
* dont run on submodule repo folders
* Fix some import errors in ci
* more stuff
* That should be the last one
old-commit-hash: ba2ac1207a554d277e01af5b9514de4500d4f66a
2020-05-28 15:40:48 -07:00
xx979xx
a3aeab5018
update OpenCL Driver 16.1 > 18.1 ( #1524 )
...
old-commit-hash: 2d89f3c6d995e958bd521e185b4603e7977d3dfa
2020-05-21 12:03:30 -07:00
Ewout ter Hoeven
d302078e30
Pip: Move from tensorflow-gpu to tensorflow package ( #1530 )
...
* Pip: Move from tensorflow-gpu to tensorflow package
Since tensorflow 2.1 the regular tensorflow package contains GPU support and replaces the tensorflow-gpu package, which will be depreceated at some point.
* Readme: Update Tensorflow version
* Update Pipfile.lock
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 3f8afe593f14a4a6f94ddb9c2f1aed1419d2f69a
2020-05-20 13:17:54 -07:00
ZwX1616
b83968e399
update readme
...
old-commit-hash: 5644b2875ddfd66289123aa1daba485f544f1450
2020-03-30 14:13:04 -07:00
Ewout ter Hoeven
60c147478c
Docs/tools: Update Tensorflow to 2.1 in readme and build script ( #1286 )
...
Update to Tensorflow 2.1 in a few forgotten places after 65f5e31:
tools\ubuntu_setup.sh
tools\webcam\README.md
old-commit-hash: d8a414834dcedbf68044c6ffdcc562a668241bb9
2020-03-28 12:10:43 -07:00
ZwX1616
c9aeeb1ade
update opencl driver link
...
old-commit-hash: 8042e9238ca77765c24b855f5f130cd4643f58d9
2020-03-27 15:50:57 -07:00
ZwX1616
f1d3d46332
nicer format; make links clickable
...
old-commit-hash: b646ba9ca90cfae2d053e3c6456c4e0d1705a8c7
2020-03-27 12:42:05 -07:00
ZwX1616
f5bc4d79e7
cleanups
...
old-commit-hash: 4bcfe54efd5474ac857d5720f83af7fc15a06f0c
2020-03-27 11:44:06 -07:00