Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import os
import serial
import crcmod
import time
import time as time_
gps_set_success = False # boolean for the status of flightmode
time_set = False
#!/bin/bash
while [ 1 ]; do
{
raspivid -w 1920 -h 1080 -n -o /home/pi/`date +%H%M%S` -t 300000
sleep 1
}
done
enBancroft> If you want to partition, I would take sd card out and plug into PC, and either boot into Gparted live cd or use gparted on ubuntu
<BenBancroft> when in that you will see 2 partitions
<BenBancroft> resize the ext4 one (linux), and create free space and make a new ext4 one using freed space
<BenBancroft> then boot into your sd card, and you need to mount partition
<ibanezmatt13> what do I resise it to/
<ibanezmatt13> ?
<BenBancroft> make root about 2 GB
<BenBancroft> and rest can be video partition
<ibanezmatt13> thanks BenBancroft :)
aveake> If you feel up to it
<daveake> Chop the legs off the Pi reg and apply 3.3V directly
<daveake> If you don't feel up to it don't!
<BenBancroft> Btw about partitioning the SD card, I did that on mine
<BenBancroft> Mind I never got video back
<ibanezmatt13> I want to do that but I'm probably gonna destroy the Pi
<daveake> OK
<ibanezmatt13> How would I do that?
<mfa298> BenBancroft: I think there's a few bits of video footage stuck in the tops of trees
<daveake> If you need to ask, don't do it :)
#!/usr/bin/python
from Adafruit_PWM_Servo_Driver import PWM
import time
# ===========================================================================
# Example Code
# ===========================================================================
# Initialise the PWM device using the default address
Imports MySql.Data
Imports MySql.Data.MySqlClient
Imports System.Data.SqlClient
Module Module_Create
Dim dbCon As MySqlConnection
Dim strQuery As String = ""
Dim SQLCmd As MySqlCommand
Dim DR As MySqlDataReader
Dim entered_email As String = ""
@ibanezmatt13
ibanezmatt13 / hab.c
Last active December 20, 2015 04:19
#include <SoftwareSerial.h>
SoftwareSerial myserial(4, 5); // setup software serial for the FTDI module for debugging
byte gps_set_success = 0;
#define uint8_t setNav[] = { // UBX command to set flight mode
0xB5, 0x62, 0x06, 0x24, 0x24, 0x00, 0xFF, 0xFF, 0x06, 0x03, 0x00, 0x00, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00,
[12:07] <ibanezmatt13> Had major router failure
[12:07] == Willdude123 [[email protected]] has joined #highaltitude
[12:07] <fsphil> did it explode?
[12:07] <ibanezmatt13> almost, it reset :)
[12:07] <fsphil> not too major then :)
[12:07] <ibanezmatt13> suppose not
[12:07] <HixWork> can do terrible damage to the wood when the router fails
[12:07] <HixWork> i prefer a spokeshave myself ;p
[12:07] == Martin_G4FUI [[email protected]] has quit [Ping timeout: 264 seconds]
[12:08] == Willdude123 [[email protected]] has quit [Client Quit]
[22:29] Survivor (822b982a@gateway/web/freenode/ip.130.43.152.42) joined #highaltitude.
[22:29] <ibanezmatt13> I'd like to live a bit longer before I do that :)
[22:29] KT5TK_QRL ([email protected]) left irc: Ping timeout: 268 seconds
[22:30] jcoxon ([email protected]) left irc: Quit: Leaving
[22:31] <ibanezmatt13> daveake: I spoke to Steve and organised the launch. He said I need a 4ft rocketman chute which is not cheap but he said we could borrow it
[22:31] <daveake> cool
[22:31] <ibanezmatt13> Target = 33km
[22:31] <ibanezmatt13> When shall I put an announcement on the mailing list?
[22:33] <Survivor> Hey guys.. I was looking for some baseline requirements for a hot air balloon.. can you guys help me?
[22:33] <daveake> wrong conf
<LeoBodnar> Who woke Dave up? Run!
[20:39] <batchoy> Nothing recorded by BMISS
[20:39] <fsphil> haha
[20:39] <LeoBodnar> Now there's some healthy competition.
[20:39] <batchoy> Yet
[20:40] <LeoBodnar> We need judges.
[20:40] <fsphil> I'll be the judge of that
[20:40] <fsphil> oh wait
[20:40] <LeoBodnar> And performance enhancing testing.
[20:40] <daveake> We have a volunteer