Right now this is should allow a VERY basic control of the Gitup Git2 camera using Solex, and it's 'Remote Command' feature, and the Git2 camera must be configured to run on your Solo's wifi network. I doubt the small camera will maintain network connectivity after about 5 to 10 meters away from the 3dr controller, so these commands will probably stop working as you fly away from your position. However I mainly wrote this for my use to simply start the recording, that way if I forget to start recording on the camera. I've also found when powering on the solo, it will stop the recording if you've started it already. Please note that this comes with no warranty and if after pressing the play button your solo bursts in to flames and plummets to the ground I am not to be held accountable. Please test this fully before you fly.
Licensed under the GPLv2
This is a command line application to be used with the 3dr Solo.
- Turn on the 3DR controller and 3DR Solo
- Connect to the SoloLink network via Wifi
- Copy the ARM binary to /home/root on the Solo.
scp binaries/linux32/git2Control [email protected]:~/
- Create commands for git2Control in solex
/home/root/git2Control -c startCam
What git2Control does is search for the camera on the network, then sends a command to start, stop, recStatus, and takePic. Right now the number of commands is limited. You can Start the recording, Stop the recording. To take a picture first start the video capture, then while you're recording you can take snapshots.
Commands:
startCam
stopCam
takePic
recStatus
-c, --cam string startCam, stopCam, takePic, recStatus. If nothing is specified the Default is to startCam.
-C, --cmd string Send camera command. (2001, 20017 etc... see Novatek API.
-h, --help Help
-x, --par string Parameter to send with command
-i, --searchSub string First three octets of subnet to search for. (default "10.1.1")
-v, --verbose Verbose
Edit a text file called 'client.txt' and put it on in the root of your micro SD. The contents are just two lines:
SSID:SoloLink
WPA2:SoloWifiPasswd
- Open Solex app and in opening windmill screen, click the three vertical lines next to the word Solex in the upper left corner. This should bring up a menu.
- From the menu select 'Remote Commands'
- Click the green circle with a + in it to create a new command
- Button Text: Camera Start
- Command Line: /home/root/git2Control -c startCam
- Save
- Repeat this step for Camera Stop, and Take Snapshot.
- Stop Camera: /home/root/git2Control -c stopCam
- Take Snapshot: /home/root/git2Control -c takePic