Skip to content

Instantly share code, notes, and snippets.

View peterbarker's full-sized avatar

Peter Barker peterbarker

  • e0
  • Canberra, Australia
View GitHub Profile
@peterbarker
peterbarker / README.md
Created January 23, 2017 06:55 — forked from KonradIT/readme.md
GoPro Studio for Linux

####GoPro Protune correction, timelapse assembling, fisheye removal, slow motion, 4:3 to 16:9 and motion blur in Linux OS - GoPro Studio for Linux - KDEnlive, FFMPEG, ImageMagick, Mencoder and Python!

GoPro Studio has been tremendously useful for GoPro users, but not all GoPro users can enjoy the tool, there is no GoPro Studio for Linux. So some users made their ways to emulate GoPro Studio on Linux.

This guide is more than GoPro Studio, is a must read guide for Linux and GoPro users.

The main features of GoPro Studio are:

  • Convert and edit Protune footage and apply Protune effect.
  • Convert 4:3 footage to 16:9
  • Slow motion
@peterbarker
peterbarker / gist:90af4fc611e97282c4c32c2d551e7c59
Last active August 28, 2018 00:31
Instructons on testing DroneCore with ArduPilot
# install DroneCore:
ROOT=$HOME/dc
DC_ROOT=$HOME/rc/DroneCore
pushd $ROOT
time git clone --recursive https://github.com/peterbarker/DroneCore # 10m
cd $DC_ROOT
git checkout ardupilot
time git submodule update --init --recursive
module load cuav.modules.nmea
nmea udp 127.0.0.1:9500
nmea log primary.nmea.log
nmea set target_vehicle 2
nmea set wgs84_to_amsl -41.2
module load cuav.modules.nmea
nmea2 udp 127.0.0.1:7000
nmea2 log secondary.nmea.log
nmea2 set target_vehicle 1
@peterbarker
peterbarker / obc-review-notes.txt
Last active September 19, 2018 02:25
obc review notes
1. AP_Button / storing a uint64_t in a uint32_t
2. In GPIO::pinMode - can't reset g->mode without changing from input to output at same time (oddity); the "already set" block needs more explanation
3. Is priority inheritance only a problem for recursive semaphores?
- is 32-bit count a little bit of overkill?
4. thread_create() in SITL scheduler may attempt to free a->stack where that may be uninitialised
5. idle_adjustment += 0.5 => use a dt instead?
@peterbarker
peterbarker / obc-review-notes-2.txt
Last active September 19, 2018 02:24
obc review notes 2
- Recalling the Kraken if it is NOT flying (perhaps in MAV_CMD_NAV_DELAY) should not cause it to take off! It should instead cause it to disarm
- allowing misson extension with partial update seems a little *too* easy
- what's resetting the mission count?
@peterbarker
peterbarker / cuav-v5-feedback.txt
Created September 19, 2018 01:59
cauv-v5-feedback
- No labelling of which servo pin is +/-/s
Page 1
- "Power Modules 2 or Smart Battery" -> "Power Module 2 or Smart Battery"
- "Power Modules 1" -> "Power Module 1"
- missing Chinese on "TF Card"
- missing Chinese on "RSSI in & SBUS out"
- "TF card" -> "SD card"
Page 2
@peterbarker
peterbarker / nav-delay-notes.txt
Last active September 21, 2018 23:09
launch delay attitude patch
nav_delay attitude:
No fabsf() is being done on the wrap_180 result; that function indicates it returns -180 to 180.
Check avoidance fail action on both Kraken and Porter
- and all other avoidance parameters
Consider using sbus failsafe bit to determine if we have active RC control over the vehicle
#0 0x08020390 in HardFault_Handler ()
No symbol table info available.
#1 <signal handler called>
No symbol table info available.
#2 0x0812c426 in luaD_rawrunprotected (L=0x55555555, L@entry=0x30008034, f=0x55555555, f@entry=0x8128b5d <f_call>, ud=0x55555555, ud@entry=0x2402b160) at ../../libraries/AP_Scripting/lua/src/ldo.c:155
oldnCcalls = 65535
lj = {
previous = 0x55555555,
b = {-1104822011, 0, 0, 0, 1106247680, 0, 1163984896, 1127481344, 0, -2147483632, 0, 0, 0, 0, 0, 0, 0, 0, 0, 805390032, 805429760, 805429760, 805339188},
status = 2