Skip to content

Instantly share code, notes, and snippets.

View geeksville's full-sized avatar
💭
make my crummy software slightly less crummy.

geeksville geeksville

💭
make my crummy software slightly less crummy.
  • Geeksville Industries
  • San Mateo, CA
View GitHub Profile
;K Line Test created by Sebastianv650
; kevinh change to run faster, to force a bigger/more ovious acceleration change
M107
M83 ; extruder relative mode
M104 S200 ; set extruder temp
M140 S75 ; set bed temp
M190 S75 ; wait for bed temp
M109 S200 ; wait for extruder temp
G28 W ; home all without mesh bed level

Keybase proof

I hereby claim:

  • I am geeksville on github.
  • I am geeksville (https://keybase.io/geeksville) on keybase.
  • I have a public key ASA5Pd_CWWPUN10cv3CLtGETQ7H5j8gb_qMcKoJUrKLkXQo

To claim this, I am signing this object:

Current profiling

for:

tools/mavlogdump.py ~/Downloads/arthur-3dr.tlog

Baseline:

name                                  ncall  tsub      ttot      tavg      
..vutil.py:301 mavlogfile.recv_match  26880  0.065494  2.816088  0.000105
..mavutil.py:281 mavlogfile.recv_msg 26880 0.189414 2.731705 0.000102
// ©2012 Viktor Klang
package akka.klang
import akka.dispatch.{ DispatcherPrerequisites, ExecutorServiceFactory, ExecutorServiceConfigurator }
import com.typesafe.config.Config
import java.util.concurrent.{ ExecutorService, AbstractExecutorService, ThreadFactory, TimeUnit }
import java.util.Collections
import javax.swing.SwingUtilities
@geeksville
geeksville / sik-beta.md
Last active December 28, 2015 22:49
SiK beta firmware beta test request

Beta test request for advanced SiK (3dr etc...) telemetry users

Dear APM friends,

We're interested in rolling out a new release of the SiK firmware, but since this firmware so key to safe vehicle operation we want to do a small beta of 'experienced' users/devs first. Would you mind downloading the firmware and installing it on your 3dr telemetry radios?

Steps to install this update

  1. Download the updater tool
  2. Download the beta test build (This will be release 1.8)
@geeksville
geeksville / gist:6214944
Last active December 20, 2015 23:48
Why is Scala cool? Lab prep pre-steps...

Please try and run these steps before the talk (if possible) - they will predownload a bunch of misc build dependancies. If you encounter problems with these instructions, feel free to email me. -kevin

Check that you have java (at least 1.6 or later)... ~/development/scalatalk$ javac -version

javac 1.7.0_21

Download some template tools that that makes it easy to install this sample code...

~/development/scalatalk$ curl https://raw.github.com/n8han/conscript/master/setup.sh | sh

@geeksville
geeksville / gist:5392531
Created April 16, 2013 00:53
current apm.pdef.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Dynamically generated list of documented parameters (generated by param_parse.py) -->
<paramfile>
<vehicles>
<parameters name="ArduPlane">
<param humanName="USB Console Baud Rate" name="ArduPlane:SERIAL0_BAUD" documentation="The baud rate used on the main uart" user="Standard">
<values>
<value code="1">1200</value>
<value code="2">2400</value>
<value code="4">4800</value>
@geeksville
geeksville / arduplane.pdef.xml
Created February 17, 2013 01:27
arduplane.pdef.xml - an example file for xml autoput of arduplane param_parse.py
<?xml version="1.0" encoding="utf-8"?>
<!-- Dynamically generated list of documented parameters (generated by param_parse.py) -->
<paramfile>
<vehicles>
<parameters name="ArduPlane">
<param humanName="Telemetry Baud Rate" name="ArduPlane:SERIAL0_BAUD" documentation="The baud rate used on the main uart">
<values>
<value code="1">1200</value>
<value code="2">2400</value>
<value code="4">4800</value>
@geeksville
geeksville / gist:1375618
Created November 18, 2011 04:35
codeval bug report...
Fails
http://codeeval.com/open_challenge_scores/submissions/?tid=30435
import scala.io._
val fname = args(0)
Source.fromFile(fname).foreach { c => print(c.toLower) }
System.exit(0)
Passes:
http://codeeval.com/open_challenge_scores/submissions/?tid=30436