Class Sensor

  • Direct Known Subclasses:
    Camera, FTSensor, Scanner, TactileArray

    public class Sensor
    extends java.lang.Object
    a generel hardware sensor interface. The sensor should interface
    to a statefull instance of either a real world sensor or a simulated
    sensor. The sensor interface acts as a realistic handle to controlling
    some specific instance of a sensor.
    • Constructor Detail

      • Sensor

        public Sensor​(long cPtr,
                      boolean cMemoryOwn)
    • Method Detail

      • getCPtr

        public static long getCPtr​(Sensor obj)
      • delete

        public void delete()
      • getName

        public java.lang.String getName()
        returns the name of this sensor
        Returns:
        name of sensor
      • getDescription

        public java.lang.String getDescription()
        returns a description of this sensor
        Returns:
        reference to this sensors description
      • getSensorModel

        public SensorModelPtr getSensorModel()
        The frame to which the sensor is attached.

        The frame can be NULL.
      • setSensorModel

        public void setSensorModel​(SensorModelPtr smodel)
        Sets the frame to which the sensor should be attached

        Parameters:
        smodel -
      • getPropertyMap

        public PropertyMap getPropertyMap()
        gets the propertymap of this sensor