This file contains 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
return new Toroid(10, 20, 20, 16).toCSG() |
This file contains 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
/.settings | |
/.project | |
/.classpath | |
/.cproject | |
/cache/ | |
/*.class |
This file contains 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
/.settings | |
/.project | |
/.classpath | |
/.cproject | |
/cache/ | |
/*.class |
This file contains 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
//Your code here | |
println "Hello world" |
This file contains 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
/.project | |
/.classpath | |
/cache/ | |
/*.class/.project | |
/.classpath | |
/.cproject | |
/cache/ | |
/*.class |
This file contains 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
/.classpath | |
/.project | |
**.class |
This file contains 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
//Your code here | |
def base=DeviceManager.getSpecificDevice( "Standard6dof",{ | |
ScriptingEngine.gitScriptRun( | |
"https://github.com/madhephaestus/6dofServoArm.git", "6dofServoArm.xml", | |
null | |
) | |
} | |
) | |
def limb = base.getAllDHChains().get(0) |
This file contains 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
//Your code here |
This file contains 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
@Grab(group='org.hid4java', module='hid4java', version='0.5.0') | |
import org.hid4java.HidDevice; | |
import org.hid4java.HidManager; | |
import org.hid4java.HidServices; | |
public int getPid() { | |
//return 0xffff804d; // arduino zero RawHID | |
//return 0xffff8033 // pybadge | |
return 0x486; // teensy | |
} |
This file contains 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
//ScriptingEngine.gitScriptRun("https://github.com/CommonWealthRobotics/DeviceProviders.git","loadAll.groovy", null); | |
def robot = DeviceManager.getSpecificDevice( "HephaestusArmV2",{ | |
return MobileBaseLoader.fromGit( | |
"https://github.com/Hephaestus-Arm/HephaestusArm2.git", | |
"hephaestus.xml" | |
) | |
}) | |
def dev = DeviceManager.getSpecificDevice( "hephaestus-16c00486") | |
NewerOlder