Skip to content

Instantly share code, notes, and snippets.

View madhephaestus's full-sized avatar

Kevin Harrington madhephaestus

View GitHub Profile
@madhephaestus
madhephaestus / RBE 200x Foam.groovy
Last active August 13, 2019 13:48 — forked from zseker/RBE 200x Foam.groovy
Adding new file from BowlerStudio
double z =70;
CSG breadboard = new Cube(85,// X dimention
55,// Y dimention
z// Z dimention
).toCSG().toXMin().toYMin().toZMin()
CSG cableBox = new Cube(190,// X dimention
@madhephaestus
madhephaestus / AdversarialMediumKat.xml
Last active August 8, 2019 04:00
AdversarialMediumKat copy of MediumKat
<root>
<mobilebase>
<cadEngine>
<git>https://gist.github.com/77c3a47f3a56f06454e5b96814ebe1e7.git</git>
<file>MediumCad.groovy</file>
</cadEngine>
<driveEngine>
<git>https://gist.github.com/77c3a47f3a56f06454e5b96814ebe1e7.git</git>
<file>walking.groovy</file>
</driveEngine>
@madhephaestus
madhephaestus / .gitignore
Last active January 19, 2021 18:07
walkingGroupCycleSeperation.groovy
/.project
/.classpath
/.cproject
/cache/
/*.class
@madhephaestus
madhephaestus / poseJustOneLimb.groovy
Created June 30, 2019 21:26
poseJustOneLimb.groovy
//Your code here
@madhephaestus
madhephaestus / poseCycleForOneLimb.groovy
Last active June 30, 2019 23:50
poseCycleForOneLimb.groovy
import Jama.Matrix;
def base;
//Check if the device already exists in the device Manager
if(args==null){
base=DeviceManager.getSpecificDevice( "MediumKat",{ScriptingEngine.gitScriptRun( "https://github.com/OperationSmallKat/SmallKat_V2.git", "loadRobot.groovy", [ "https://github.com/OperationSmallKat/greycat.git", "MediumKat.xml","GameController_22"] )})
}else
base=args.get(0)
HashMap<DHParameterKinematics,TransformNR > getTipLocations(def base){
def legs = base.getLegs()
@madhephaestus
madhephaestus / OneLimbMoveWithoutBody.groovy
Last active June 30, 2019 17:46
OneLimbMoveWithoutBody.groovy
import Jama.Matrix;
def base;
//Check if the device already exists in the device Manager
if(args==null){
base=DeviceManager.getSpecificDevice( "MediumKat",{
return ScriptingEngine.gitScriptRun( "https://github.com/OperationSmallKat/SmallKat_V2.git",
"loadRobot.groovy",
[ "https://github.com/OperationSmallKat/greycat.git",
"MediumKat.xml",
@madhephaestus
madhephaestus / MoveJustOnceLimbToPoseBody.groovy
Last active June 30, 2019 23:50
MoveJustOnceLimbToPoseBody.groovy
def base;
//Check if the device already exists in the device Manager
if(args==null){
base=DeviceManager.getSpecificDevice( "MediumKat",{ScriptingEngine.gitScriptRun( "https://github.com/OperationSmallKat/SmallKat_V2.git", "loadRobot.groovy", [ "https://github.com/OperationSmallKat/greycat.git", "MediumKat.xml","GameController_22"] )})
}else
base=args.get(0)
HashMap<DHParameterKinematics,TransformNR > getTipLocations(def base){
def legs = base.getLegs()
def tipList = new HashMap<DHParameterKinematics,TransformNR >()
@madhephaestus
madhephaestus / .gitignore
Last active January 19, 2021 21:50
poseAroundAPoint.groovy
/.project
/.classpath
/.cproject
/cache/
/*.class
@madhephaestus
madhephaestus / poseBaseSimpleGist.groovy
Last active June 30, 2019 23:51
poseBaseSimpleGist.groovy
def base;
//Check if the device already exists in the device Manager
if(args==null){
base=DeviceManager.getSpecificDevice( "MediumKat",{ScriptingEngine.gitScriptRun( "https://github.com/OperationSmallKat/SmallKat_V2.git", "loadRobot.groovy", [ "https://github.com/OperationSmallKat/greycat.git", "MediumKat.xml","GameController_22"] )})
}else
base=args.get(0)
HashMap<DHParameterKinematics,TransformNR > getTipLocations(def base){
def legs = base.getLegs()
def tipList = new HashMap<DHParameterKinematics,TransformNR >()
@madhephaestus
madhephaestus / gistGetTipLocations.groovy
Last active November 10, 2019 23:38
gistGetTipLocations.groovy
def base;
//Check if the device already exists in the device Manager
if(args==null){
base=DeviceManager.getSpecificDevice( "MediumKat",{ScriptingEngine.gitScriptRun( "https://github.com/OperationSmallKat/SmallKat_V2.git", "loadRobot.groovy", [ "https://github.com/OperationSmallKat/greycat.git", "MediumKat.xml","GameController_22"] )})
}else
base=args.get(0)
HashMap<DHParameterKinematics,TransformNR > getTipLocations(def base){
def legs = base.getLegs()