Skip to content

Instantly share code, notes, and snippets.

@javatechs
javatechs / .gitignore
Created November 30, 2020 22:46 — forked from madhephaestus/.gitignore
Bowler Studio Game Controllers
/.classpath
/.project
@javatechs
javatechs / WalkTest.groovy
Created November 30, 2020 21:56 — forked from madhephaestus/WalkTest.groovy
Walk a Mobile base around
import org.apache.commons.io.IOUtils;
import com.neuronrobotics.bowlerstudio.physics.*;
import com.neuronrobotics.bowlerstudio.threed.*;
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",
@javatechs
javatechs / camera.groovy
Created February 16, 2020 19:49 — forked from madhephaestus/camera.groovy
BowlerStudio Cameras
import java.awt.image.BufferedImage;
String name = "imageProvider"
AbstractImageProvider camera0=null;
if(DeviceManager.getSpecificDevice(AbstractImageProvider.class, name)==null){
//BowlerStudio.speak("Connecting to camera 0.");
camera0 = new OpenCVImageProvider(0);// grab the first camera
DeviceManager.addConnection(camera0,name);
/**
//Static File Image provider
FileChooser fileChooser = new FileChooser();
@javatechs
javatechs / LoadLauncher.groovy
Last active December 11, 2019 05:12
Loads launcher client
@GrabResolver(name='nr', root='https://oss.sonatype.org/content/repositories/staging/')
@Grab(group='com.neuronrobotics', module='SimplePacketComsJava', version='0.12.0')
import edu.wpi.SimplePacketComs.*;
import edu.wpi.SimplePacketComs.phy.*;
import com.neuronrobotics.sdk.addons.kinematics.imu.*;
import edu.wpi.SimplePacketComs.BytePacketType;
import edu.wpi.SimplePacketComs.FloatPacketType;
import edu.wpi.SimplePacketComs.*;
@javatechs
javatechs / LoadGameController.groovy
Last active January 7, 2020 08:05 — forked from madhephaestus/LoadGameController.groovy
Adding new file from BowlerStudio
@GrabResolver(name='nr', root='https://oss.sonatype.org/content/repositories/staging/')
@Grab(group='com.neuronrobotics', module='SimplePacketComsJava', version='0.12.0')
import edu.wpi.SimplePacketComs.*;
import edu.wpi.SimplePacketComs.phy.*;
import com.neuronrobotics.sdk.addons.kinematics.imu.*;
import edu.wpi.SimplePacketComs.BytePacketType;
import edu.wpi.SimplePacketComs.FloatPacketType;
import edu.wpi.SimplePacketComs.*;