- QGroundControl
- curl
- bash
- ffmpeg
- GoPro Hero 4 Black
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ca.llamabagel.daynight; | |
import android.content.res.Configuration; | |
import android.os.Bundle; | |
import android.os.PersistableBundle; | |
import android.support.annotation.Nullable; | |
import android.support.v7.app.AppCompatActivity; | |
import android.widget.TextView; | |
public class MainActivity extends AppCompatActivity { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This is the code for a video I (kyle martin tech) did on how to make a | |
DIY GoPro Time Lapse Dolly. That video can be found here: https://youtu.be/KywjUrnVIWY | |
I have also created a video walk through of this code which can | |
be found here: https://youtu.be/F8oxyoFxaS8 | |
The parts used in this project are | |
Arduino Nano: | |
Buy: http://geni.us/iBNl | |
Data Sheet: https://store.arduino.cc/usa/arduino-nano |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x00004e1e movw r2, #0xc977 | |
0x00004e26 movw r1, #0xc977 | |
0x00004e3e movw r2, #0xc977 | |
0x00004e46 movw r1, #0xc977 | |
0x00004e5c movw r3, #0xc977 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# stabilize.sh | |
# | |
fullfile=$(readlink -f $1) | |
dir_name=$(dirname $fullfile) | |
filename=$(basename $fullfile) | |
file_no_ext=${filename%.*} | |
extension="${filename##*.}" |
op | label | description | addr | arguments | remark |
---|---|---|---|---|---|
vs | GET_BACPAC_PROTOCOL_VERSION | get protocol version | - | none | bacpac must reply with the correct verification string |
TD | SET_CAMERA_SETTING | set camera setting | - | values returned by td | set settings and enter 3D mode |
TM | SET_BACPAC_DATE_TIME | set time | 1-6 | YY MM DD hh mm ss | |
TM | SET_CAMERA_DATE_TIME | set time | 1-6 | YY MM DD hh mm ss | |
CM | SET_BACPAC_MODE | camera mode | 7 | 0 video; 1 photo; 2 burst photo; 3 timelapse; 5 playback; 7 menu (r/o) | |
CM | SET_CAMERA_MODE | camera mode | 7 | 0 video; 1 photo; 2 burst photo; 3 timelapse; 5 playback; 7 menu (r/o) | |
PR | SET_BACPAC_PHOTO_RESOLUTION | photo resolution | 8 | 3 5MP Medium; 4 7MP Wide; 5 12MP Wide; 6 7MP Medium | |
PR | SET_CAMERA_PHOTO_RESOLUTION | photo resolution | 8 | 3 5MP Medium; 4 7MP Wide; 5 12MP Wide; 6 7MP Medium |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
For a wireless router on 192.168.1.1
with two network interfaces, e.g. wlan0
and
wlan1
, you can expose your gopro's live stream on a port on the router using the following setup.
Connect your machine to wlan0
, ssh to your router 192.168.1.1
, and run these
iptables
rules.
iptables -t nat -I PREROUTING -d 192.168.1.1 -j DNAT --to-destination 10.5.5.9 -p tcp --destination-port 8080
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gatt | |
import threading | |
manager = gatt.DeviceManager(adapter_name='hci0') | |
class AnyDevice(gatt.Device): | |
def services_resolved(self): | |
super().services_resolved() | |
device_proprietary_service = next( |
