Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Lyle mlyle

  • San Jose, CA
View GitHub Profile
View velautotune.py
#!/usr/bin/python
from math import pi
# per-vehicle constants
thrusttau = 0.070
hoverthrust = 0.52
max_climb = 4.0
# universal constants
View gist:2f42b68565ee126b7779fa0fa49a9b8e
[ 4.802532] mmc1: new high speed SDHC card at address 59b4
[ 4.813346] mmcblk1: mmc1:59b4 14.9 GiB
[ 4.814543] mmcblk1: p1 p2
[ 4.915149] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.915350] VFS: Mounted root (ext4 filesystem) readonly on device 179:34.
[ 4.918576] devtmpfs: mounted
[ 4.920933] Freeing unused kernel memory: 2048K
[ 4.959371] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP THUMB2
[ 4.959532] Modules linked in:
[ 4.959606] CPU: 0 PID: 1 Comm: init Not tainted 4.9.77-armv7-lpae-x5 #1
View gist:21d59b757b0c8d65aef165760122e5f9
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:283 qint32 UAVObject::pack(quint8*)] serializing out : "AirframeCategorySpecificConfiguration: [ 30001 0 0 0 ] bits\n"
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:290 qint32 UAVObject::pack(quint8*)] byte 0 49
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:290 qint32 UAVObject::pack(quint8*)] byte 1 117
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:290 qint32 UAVObject::pack(quint8*)] byte 2 0
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:290 qint32 UAVObject::pack(quint8*)] byte 3 0
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:290 qint32 UAVObject::pack(quint8*)] byte 4 0
15:57:45[debug][/home/mlyle/dRonin/ground/gcs/src/plugins/uavobjects/uavobject.cpp:290 qint32 UAVObject::pack(quint8*)] byte 5 0
15:57:45[debug][/home/mlyle/dRonin/gro
View gist:4b6cf6b371bb9c3d70d0
Michaels-MBP:dronin mlyle$ ./python/import.py next cc3d_settings.bin
<?xml version="1.0" ?>
<uavobjects>
<!--Automatically generated by import.py-->
<settings>
<object name="UAVO_ActuatorSettings">
<field name="ChannelMax" values="250,250,250,250,2000,2000,2000,2000,2000,2000"/>
<field name="ChannelMin" values="125,125,125,125,1000,1000,1000,1000,1000,1000"/>
<field name="ChannelNeutral" values="129,129,129,129,1000,1000,1000,1000,1000,1000"/>
<field name="ChannelType" values="PWM,PWM,PWM,PWM,PWM,PWM,PWM,PWM,PWM,PWM"/>
View gist:a4247064335036cc21ab
19:21 <purpleears> Where's fujin's 48 hour quiet?
19:21 <purpleears> Hypocrite
19:21 <icee> I gave him warning and he stopped
19:21 <icee> i've been asking you for the past couple days
19:21 <icee> you haven't
19:21 <icee> i don't really want to have a conversation with you like i do with
my 7 y/o when he's having a bad day.
19:22 <purpleears> He said I couldn't fly, called me a bunch of names, called me
a stupid fucking noob, said I could tune for shit
19:22 <purpleears> Where's his 48h quiet?
View config.xml
<?xml version='1.0' encoding='UTF-8'?>
<matrix-project plugin="matrix-project@1.6">
<actions/>
<description>dRonin Branch Builds</description>
<logRotator class="hudson.tasks.LogRotator">
<daysToKeep>120</daysToKeep>
<numToKeep>-1</numToKeep>
<artifactDaysToKeep>30</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
View gist:bc570bfd163a82aaeb5e
# first attempt at an uncrustify config file for dRonin
# run with uncrustify -c thisfile.cfg --replace filetodo.c
tok_split_gte=false
utf8_byte=false
utf8_force=false
indent_cmt_with_tabs=false
indent_align_string=false
indent_braces=false
indent_braces_no_func=false
View gist:2840d3657b52eecfc406
13:52 < icee> hey, so i'm sorry everyone
13:53 < icee> i've done or advocated for a few bad merges now
13:53 < icee> my last python commit contained a logfile read regression that
there's a pending PR for; I advocated for the fastheap thing that
causes resets on colibri; and there was stupidity in my
remove-revolution commit
13:54 < icee> i'm at least encouraged that it's been possible to shake them out
quickly and that i'm getting a feeling for the kinds of things that
typically go wrong
13:57 < icee> what i'm thinking is, a couple more weeks of being aggressive in
View gist:349937fca865b03af122
@echo off
rem
rem This file should be put into C:\Program Files\Git\cmd\ subdirectory
rem (or similar, depeding on where the msysGit package was installed)
rem to provide a shell prompt in the unix-like build environment on Windows.
rem
rem Currently supported on NT-class systems only (Windows XP and above).
rem
rem See also:
rem README.txt
You can’t perform that action at this time.