Skip to content

Instantly share code, notes, and snippets.

import java.awt.image.BufferedImage;
import com.neuronrobotics.imageprovider.Detection;
import java.util.List;
import javax.imageio.ImageIO;
import java.net.*;
import java.io.BufferedReader;
import org.apache.commons.io.IOUtils;
import com.google.gson.*;
double happyThreshold = 0.9
@keshuaixu
keshuaixu / Elephant.xml
Created January 24, 2016 15:21 — forked from madhephaestus/Elephant.xml
Elephant Script
<root>
<mobilebase>
<driveType>walking</driveType>
<cadEngine>
<gist>bcb4760a449190206170</gist>
<file>ThreeDPrintCad.groovy</file>
</cadEngine>
<driveEngine>
<gist>aef13d65093951d13235</gist>
@keshuaixu
keshuaixu / CarlTheRobot.xml
Created January 24, 2016 15:21
Carl The Hexapod
<root>
<mobilebase>
<driveType>walking</driveType>
<cadEngine>
<gist>bcb4760a449190206170</gist>
<file>ThreeDPrintCad.groovy</file>
</cadEngine>
<driveEngine>
<gist>bcb4760a449190206170</gist>
@keshuaixu
keshuaixu / Elephant_copy.xml
Created January 24, 2016 15:21
Elephant_copy copy of Elephant
<root>
<mobilebase>
<driveType>walking</driveType>
<cadEngine>
<gist>365f3e09803ea0703112</gist>
<file>ThreeDPrintCad.groovy</file>
</cadEngine>
<driveEngine>
<gist>406243097dc742dec467</gist>
@keshuaixu
keshuaixu / BallSocketChainKinematics.groovy
Last active February 3, 2016 23:16 — forked from madhephaestus/BallSocketChainKinematics.groovy
NegativeFeedbackRobot copy of TrobotArmGroup
import com.neuronrobotics.bowlerstudio.creature.ICadGenerator;
import com.neuronrobotics.bowlerstudio.creature.CreatureLab;
import org.apache.commons.io.IOUtils;
import com.neuronrobotics.bowlerstudio.vitamins.*;
// Load the .CSG from the disk and cache it in memory
double spindalRadius = 16;
double housingDiameter=3.7
double ballJointPinSize=8;
@keshuaixu
keshuaixu / SmartMouse2016BoardIssues.md
Last active March 27, 2016 16:20
SmartMouse2016BoardIssues

Problems

OLED DC-GND. Remember to change comm config OLED

Buzzer not suppoerted

Power modules are hot. Too less power is drawn.

Go switch backlight does not look awesome

@keshuaixu
keshuaixu / CollabLabAmateurRadioDirectory
Last active March 29, 2016 22:53
CollabLab amateur radio directory
Nick KC1BQU
Jeff KM4SCS
Greg KC1EZL
Richard KC1AMO
Cosine KC1FGN
Ed KG7MYL
Alex Lemmon KC3FTD
@keshuaixu
keshuaixu / index_convert.md
Last active November 15, 2017 02:37
Converting between point coordinates and grid array indices

From /map coordinates to grid array indices:

gridx = int((pose.position.x - offsetX - (.5 * resolution)) / resolution)
gridy = int((pose.position.y - offsetY - (.5 * resolution)) / resolution)

From grid array indices to /map coordinates:

@keshuaixu
keshuaixu / rbe3001unbrick.md
Created February 1, 2017 16:05
Unbrick RBE3001 ATMega644p with incorrect fuse using STK500
@keshuaixu
keshuaixu / gist:ffc692bd77a3e7bb2b0e968d8b7e2958
Created April 6, 2017 17:09
create sudo account on rbe desktops
a