fpv-wtf / voc-poc

A PoC for USB video out from the DJI FPV Goggles, inspired by The Video Out Club
MIT License
431 stars 80 forks source link

RPI installation script #6

Open guilhermefpv opened 3 years ago

guilhermefpv commented 3 years ago

RPI installation script ` function install {

sudo apt-get install -y ffmpeg curl curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - sudo apt-get install -y nodejs git git clone https://github.com/fpv-wtf/voc-poc.git cp -r voc-poc/* $targetdir/ # voc-poc expects /home/pi/index.js sudo apt-get install -y libudev-dev cd $targetdir/ npm install

start

}

`

mavericm1 commented 3 years ago

Can you test this if it works ok i'll add a PR to pull this into their code. Testing in a container without goggles attached makes it difficult for me to understand if the module load errors is because of the npm install path or because the module doesn't have a usb device to use.

https://github.com/mavericm1/voc-poc/raw/master/install-scripts/pi.sh

guilhermefpv commented 3 years ago

Add CD Path before installing packages with npm

yes i tested it and it's working on Hardware RPI 3b Model B v1.2

cd $targetdir/ npm install