Class TimeOfFlightJNI


  • public class TimeOfFlightJNI
    extends java.lang.Object
    • Constructor Detail

      • TimeOfFlightJNI

        public TimeOfFlightJNI()
    • Method Detail

      • forceLoad

        public static void forceLoad()
                              throws java.io.IOException
        Force load the library.
        Throws:
        java.io.IOException - unable to load libPlayingWithFusionDriver.so
      • create

        public static long create​(int sensorID)
      • destroy

        public static void destroy​(long handle)
      • identifySensor

        public static void identifySensor​(long handle)
      • getFirmwareVersion

        public static long getFirmwareVersion​(long handle)
      • getSerialNumber

        public static long getSerialNumber​(long handle)
      • isRangeValid

        public static boolean isRangeValid​(long handle)
      • getRange

        public static double getRange​(long handle)
      • getRangeSigma

        public static double getRangeSigma​(long handle)
      • getAmbientLightLevel

        public static double getAmbientLightLevel​(long handle)
      • getStatus

        public static int getStatus​(long handle)
      • getRangingMode

        public static int getRangingMode​(long handle)
      • getSampleTime

        public static double getSampleTime​(long handle)
      • setRangingMode

        public static void setRangingMode​(long handle,
                                          int mode,
                                          double sampleTime)
      • setRangeOfInterest

        public static void setRangeOfInterest​(long handle,
                                              int topLeftX,
                                              int topLeftY,
                                              int bottomRightX,
                                              int bottomRightY)