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 | |
/.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
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", |
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.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(); |
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
@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.*; |
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
@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.*; |