Open guilhermefpv opened 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
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
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
}
`