Skip to content

Commit

Permalink
wording, drivers now included in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBusuttil committed Dec 16, 2024
1 parent 7c45c05 commit 4121a1b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tools/webcam/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Run openpilot with webcam on PC

What's needed:
- Ubuntu 24.04 ([WSL2 is notsupported](https://github.com/commaai/openpilot/issues/34216))
- Ubuntu 24.04 ([WSL2 is not supported](https://github.com/commaai/openpilot/issues/34216))
- GPU (recommended)
- Two USB webcams, at least 720p and 78 degrees FOV (e.g. Logitech C920/C615)
- [Car harness](https://comma.ai/shop/products/comma-car-harness) with black panda to connect to your car
- [Panda paw](https://comma.ai/shop/products/panda-paw) or USB-A to USB-A cable to connect panda to your computer
That's it!

## Setup openpilot
- Follow [this readme](https://github.com/commaai/openpilot/tree/master/tools) to install and build the requirements
- Install OpenCL Driver
```
sudo apt install pocl-opencl-icd
```
- Follow [this readme](master/tools) to install and build the requirements

## Connect the hardware
- Connect the road facing camera first, then the driver facing camera
Expand All @@ -29,7 +25,7 @@ USE_WEBCAM=1 system/manager/manager.py

## Specify Cameras

To specify individual cameras, use the `ROAD_CAM`, `DRIVER_CAM`, and optional `WIDE_CAM` environment variables (ie. `DRIVER_CAM=2` uses `/dev/video2` for the driver-facing camera):
Use the `ROAD_CAM`, `DRIVER_CAM`, and optional `WIDE_CAM` environment variables to specify which camera is which (ie. `DRIVER_CAM=2` uses `/dev/video2` for the driver-facing camera):
```
ROAD_CAM=4 DRIVER_CAM=2 system/manager/manager.py
```

0 comments on commit 4121a1b

Please sign in to comment.