Skip to content

rmasci/git2Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<title>Git2Control</title>

Git2Control

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

Install

This is a command line application to be used with the 3dr Solo. 

  1. Turn on the 3DR controller and 3DR Solo
  2. Connect to the SoloLink network via Wifi
  3. Copy the ARM binary to /home/root on the Solo. 
    scp binaries/linux32/git2Control root@10.1.1.10:~/
  4. Create commands for git2Control in solex
    /home/root/git2Control -c startCam

Command Summary

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

Enable Wifi on Git2

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

Enable Remote Commands in Solex

  1. 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.
  2. From the menu select 'Remote Commands'
  3. Click the green circle with a + in it to create a new command
  4. Button Text: Camera Start
  5. Command Line: /home/root/git2Control -c startCam
  6. Save
  7. Repeat this step for Camera Stop, and Take Snapshot.
    • Stop Camera: /home/root/git2Control -c stopCam
    • Take Snapshot: /home/root/git2Control -c takePic

About

Control a Git2 Camera from Solex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published