Class SensorConfig

All Implemented Interfaces:
Cloneable

public class SensorConfig extends ModuleConfig

Configuration options for sensors/actuators

Since:
Nov 5, 2010
  • Field Details

    • sensorML

      @DisplayInfo(label="SensorML URL", desc="URL of SensorML file providing the base description of the sensor") public String sensorML
    • lastUpdated

      @DisplayInfo(desc="Time at which the SensorML description was last updated") public Date lastUpdated
  • Constructor Details

    • SensorConfig

      public SensorConfig()
  • Method Details

    • getSensorDescriptionURL

      public String getSensorDescriptionURL()
      Gets the URL of the SensorML template.
      If the sensorML field is not a URL, it is interpreted as a relative path relative to the config class.
      Returns:
      URL of template SensorML description
    • getLocation

      public PositionConfig.LLALocation getLocation()
      This method must be overriden to give access to static sensor location provided in specific sensor configuration
      Returns:
      null in the default implementation
    • getOrientation

      public PositionConfig.EulerOrientation getOrientation()
      This method must be overriden to give access to static sensor orientation provided in specific sensor configuration
      Returns:
      null in the default implementation