Add launching FPV camera to the launch-file

This commit is contained in:
Oleg Kalachev
2017-11-15 19:02:29 +03:00
parent 5c470bd870
commit b26cf3d3ec
3 changed files with 21 additions and 0 deletions

8
clever/src/fpv_camera Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Usage
# fpv_camera <video_device> <http port>
echo "Starting FPV camera $1 on :$2"
cd /home/pi/mjpg-streamer/mjpg-streamer-experimental
./mjpg_streamer -i "./input_uvc.so -d $1 -r 1024x720 -f 30" -o "./output_http.so -w ./www -p $2"