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
//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") | |
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
import eu.mihosoft.vrl.v3d.CSG | |
import eu.mihosoft.vrl.v3d.Cube | |
import eu.mihosoft.vrl.v3d.Extrude | |
import eu.mihosoft.vrl.v3d.Polygon | |
import eu.mihosoft.vrl.v3d.Slice | |
import eu.mihosoft.vrl.v3d.Transform | |
def base = new Cube(20).toCSG() | |
.difference(new Cube(5,10,20).toCSG()) | |
.difference(new Cube(10,5,20).toCSG()) |
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
/serialTest.class | |
/.classpath | |
/.project |
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
/.project | |
/.classpath | |
/.cproject | |
/cache/ | |
/*.class |
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
// https://mvnrepository.com/artifact/net.java.dev.jna/jna | |
@Grapes( | |
@Grab(group='net.java.dev.jna', module='jna', version='4.2.2') | |
) | |
println "test" | |
return null |
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
import eu.mihosoft.vrl.v3d.* | |
Cube( 40.0,// X dimention | |
60.0,// Y dimention | |
80.0// Z dimention | |
).toCSG() |
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
import com.neuronrobotics.bowlerstudio.BowlerKernel | |
BowlerKernel.speak("You can write scripts in Kotlin") |
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
//Your code here |
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
import java.util.ArrayList; | |
import com.neuronrobotics.sdk.addons.kinematics.DHChain; | |
import com.neuronrobotics.sdk.addons.kinematics.DHLink; | |
import com.neuronrobotics.sdk.addons.kinematics.DhInverseSolver; | |
import com.neuronrobotics.sdk.addons.kinematics.math.TransformNR; | |
import com.neuronrobotics.sdk.common.Log; | |
import Jama.Matrix; | |
return new DhInverseSolver() { |
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
/.classpath | |
/JavaFXUIAdversary.class | |
/.project | |
/JavaFXUIAdversary$_run_closure1.class |