mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 00:36:32 +08:00
6d316f2bc7
date: 2024-06-11T01:36:39 master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
15 lines
360 B
Bash
15 lines
360 B
Bash
#!/bin/bash
|
|
|
|
# export the block below when call manager.py
|
|
export BLOCK="${BLOCK},camerad"
|
|
export USE_WEBCAM="1"
|
|
|
|
# Change camera index according to your setting
|
|
export CAMERA_ROAD_ID="0"
|
|
export CAMERA_DRIVER_ID="1"
|
|
export DUAL_CAMERA="2" # camera index for wide road camera
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
|
|
$DIR/camerad.py
|