cl.nui
Class CLNUI2
java.lang.Object
cl.nui.CLNUI2
public class CLNUI2
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLNUI2
public CLNUI2()
CreateNUIMotor
public static com.sun.jna.Pointer CreateNUIMotor()
DestroyNUIMotor
public static boolean DestroyNUIMotor(com.sun.jna.Pointer mot)
CreateNUICamera
public static com.sun.jna.Pointer CreateNUICamera()
DestroyNUICamera
public static boolean DestroyNUICamera(com.sun.jna.Pointer cam)
loadLibrary
public static void loadLibrary(java.lang.String libraryPath)
- Load library with custom path
- Parameters:
libraryPath
-
isLibraryLoaded
public static boolean isLibraryLoaded()
getSerial
public java.lang.String getSerial()
createMotor
public boolean createMotor()
stopMotor
public boolean stopMotor()
setMotorLed
public boolean setMotorLed(int index)
createCamera
public boolean createCamera()
startCamera
public boolean startCamera()
stopCamera
public boolean stopCamera()
getColorArray
public int[] getColorArray(int timeOut)
getColorData
public java.nio.IntBuffer getColorData(int timeOut)
getDepthArray
public int[] getDepthArray(int timeOut)
getDepthData
public java.nio.IntBuffer getDepthData(int timeOut)