plwt / PicoMotionshot

Shell script using ADB to take video footage from a Pico Neo 2 VR headset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PicoMotionshot

PicoMotionshot is a little script designed for Linux that will send commands to Android Debug Bridge (ADB) to take a 10 second .mp4 of content from a Pico Neo 2 headset, copy it to the users computer and remove it from the Pico Neo 2 device.

The attached file is made up of five elements:

  • Icon.png icon file (to sit in /opt/PicoMotionshot)
  • PicoMotionshot.desktop file (to sit in /home/USERNAME/.local/share/applications)
  • PicoMotionShot.sh file (to sit in /opt/PicoMotionshot)
  • PicoSetup.sh (to sit in /opt/PicoMotionshot)
  • PicoFix.sh (to sit in /opt/PicoMotionshot)

You will need to edit the .sh file to replace the USERNAME with your username for your computer and replace the IP.IP.IP.IP with the device IP address.

Before using, install Android Studio with the Android SDK Platform-Tools.

With a cable connection to the device, run:

cd /home/USERNAME/Android/Sdk/platform-tools/ && ./adb shell ifconfig

The IP address to use in the .sh file is the inet addr ip under wlan0

This was written for Xubuntu 20.04.

About

Shell script using ADB to take video footage from a Pico Neo 2 VR headset.


Languages

Language:Shell 100.0%