This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/OpenRobertaParent/pom.xml b/OpenRobertaParent/pom.xml | |
index 14724d7..79f862e 100644 | |
--- a/OpenRobertaParent/pom.xml | |
+++ b/OpenRobertaParent/pom.xml | |
@@ -144,6 +144,11 @@ | |
<version>${jetty.version}</version> | |
</dependency> | |
<dependency> | |
+ <groupId>org.eclipse.jetty</groupId> | |
+ <artifactId>jetty-servlets</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lv2info http://drobilla.net/plugins/fomp/mvchpf1 | |
http://drobilla.net/plugins/fomp/mvchpf1 | |
Name: Moog High-Pass Filter 1 | |
Class: Highpass | |
Author: David Robillard | |
Author Email: mailto:[email protected] | |
Has latency: no | |
Bundle: file:///usr/lib/lv2/fomp.lv2/ | |
Binary: file:///usr/lib/lv2/fomp.lv2/mvchpf24.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /sys/class/lego-port/port5/outB:lego-ev3-l-motor/tacho-motor/motor0 | |
echo "100" >speed_sp | |
echo "run-forever" > command | |
# about 100 | |
cat speed | |
101 | |
# no effect | |
echo "200" >speed_sp | |
# now it changes | |
echo "run-forever" > command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 96b680ac7127c741f49983f59755dfdc0a6df824 Mon Sep 17 00:00:00 2001 | |
From: Stefan Sauer <[email protected]> | |
Date: Fri, 12 Feb 2016 13:54:44 +0100 | |
Subject: [PATCH] Disconnect the previous robot when switching between ev3 and | |
sim. | |
Otherwise the robot stays connected and if it tries to reconnect we get an | |
exception thrown. | |
Fixes #43 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if test -z "$1" -o -z "$2"; then | |
echo "Usage $0 <input> <output>" | |
exit 1 | |
fi | |
in="$1" | |
out="$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
['INPUT_1', | |
'INPUT_2', | |
'INPUT_3', | |
'INPUT_4', | |
'INPUT_AUTO', | |
'Image', | |
'ImageDraw', | |
'LCD', | |
'OUTPUT_A', | |
'OUTPUT_AUTO', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
['ColorSensor', | |
'DcMotor', | |
'Device', | |
'GyroSensor', | |
'I2cSensor', | |
'InfraredSensor', | |
'LargeMotor', | |
'Led', | |
'Led_all_off', | |
'Led_amber_on', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "SparkIntervalTimer/SparkIntervalTimer.h" | |
// connect a 8Ohm speaker with a 220Ohm resistor to pin DAC and GND | |
const int audio = DAC1; | |
// internal LED to signal activity | |
const int led = D7; | |
// button to trigger playback | |
const int btn = D0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# bricklaunch.sh <program> | |
# - open a new vt and switch to it | |
# - give 'user' ownership of the vt | |
# - run the given programm on the new vt as 'user' | |
# | |
# TODO: | |
# - tell caller which tty was activated | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# log backtraces + gsource ids to debug those pesky | |
# 'Source ID <num> was not found when attempting to remove it | |
# see: https://git.gnome.org/browse/glib/tree/glib/gmain.c#n1158 | |
python | |
class MyFinishBreakpoint (gdb.FinishBreakpoint): | |
def stop (self): | |
gdb.execute("bt"); | |
print "signal: %s" % self.return_value | |
return False # don't want to stop |