Skip to content

Instantly share code, notes, and snippets.

Kaelin Laundry WasabiFan

Block or report user

Report or block WasabiFan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 2019-07-10-22_43_13.log
This file has been truncated, but you can view the full file.
10/07 22:44:57,456 DEBUG [547996692496] (frame-archive.h:147) CallbackFinished,Depth,3060,DispatchedAt,1562823897432.103027
10/07 22:44:57,456 DEBUG [547996692496] (frame-archive.h:154) Frame Callback [Depth#3060] overdue. (Duration: 67.820068ms, FPS: 30, Max Duration: 32ms)
10/07 22:44:57,456 DEBUG [547996692496] (frame-archive.h:147) CallbackFinished,Color,3071,DispatchedAt,1562823897456.389893
10/07 22:44:57,456 DEBUG [547996692496] (frame-archive.h:154) Frame Callback [Color#3071] overdue. (Duration: 83.051025ms, FPS: 30, Max Duration: 32ms)
10/07 22:44:57,456 DEBUG [547996692496] (frame-archive.h:147) CallbackFinished,Depth,0,DispatchedAt,1562823897456.441895
10/07 22:44:57,456 DEBUG [547996692496] (frame-archive.h:154) Frame Callback [Depth#0] overdue. (Duration: 1562823897456.441895ms, FPS: 30, Max Duration: 32ms)
View pillow testbed.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
WasabiFan /
Last active Sep 28, 2016
A script to capture a screenshot from the framebuffer (using fbgrab) and recolor white pixels to look like the display on the LEGO MINDSTORMS EV3.
#!/usr/bin/env python3
# Import system utilities
import sys
from subprocess import call
# Import imaging library to resize and recolor the screenshot
from PIL import Image
# Choose the name for the screenshot to save. It defaults to "screenshot.png",
# but you can supply a custom name as a command-line argument.
WasabiFan / ev3dev-button-demo.js
Created Jul 12, 2016
Demo of parsing ev3dev button events from Linux input subsystem in JavaScript
View ev3dev-button-demo.js
var fs = require('fs');
var EV_KEY = 0x01;
var buttonEventFile = '/dev/input/by-path/platform-gpio-keys.0-event';
// Hard-coded button values for EV3
var buttonNames = {
103: 'up',
108: 'down',
105: 'left',
View blockly-ev3dev files.txt
robot@ev3dev:~/blockly$ tree
├── blockly_compressed.js
├── blocks_compressed.js
├── msg
│   └── js
│   └── en.js
├── python_compressed.js
└── server
├── index.html
WasabiFan / AltimeterFuncs.ino
Last active May 16, 2016
Control logic for aerial release wireless trigger.
View AltimeterFuncs.ino
// returns smoothed uncalibrated altitude
float getAltitude() {
if (!bmpConnected) {
return -1;
sensors_event_t event;
View gist:b3fe984a66a9819882fa
<...repetitious stuff omitted>
[mkdir] Created dir: /home/wasabi/sfxlib/build/empty
[mkdir] Created dir: /home/wasabi/sfxlib/build/generated-sources/ap-source-output
[javac] Compiling 80 source files to /home/wasabi/sfxlib/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] Note: control annotation found in dashfx.controls.ArrayLister with value 'Array View'
[javac] Note: control annotation found in dashfx.controls.BadSliderControl with value 'Raw Slider'
[javac] Note: control annotation found in dashfx.controls.CameraView with value 'Camera'
You can’t perform that action at this time.