cl.nui
Class CLNUI2

java.lang.Object
  extended by cl.nui.CLNUI2

public class CLNUI2
extends java.lang.Object


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

Constructor Detail

CLNUI2

public CLNUI2()
Method Detail

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)