Class HiTechnicEOPD

    • Constructor Detail

      • HiTechnicEOPD

        public HiTechnicEOPD​(AnalogPort port)
        Parameters:
        port - NXT sensor port 1-4
      • HiTechnicEOPD

        public HiTechnicEOPD​(Port port)
        Parameters:
        port - NXT sensor port 1-4
    • Method Detail

      • init

        protected void init()
      • getLongDistanceMode

        public SensorMode getLongDistanceMode()
        HiTechnic EOPD sensor, Long distance mode
        Measures the relative distance to a surface.

        Size and content of the sample
        The sample contains one element containing the relative distance to a surface in the range of 0 to 1. Where 0 corresponds to the minimum of the measurement range and 1 corresponds to the maximum of the measyurement range. The measurement range depends on the color and reflectivity of the measured surface. The measurement is more or less linear to the distance for a given surface.

      • getShortDistanceMode

        public SensorMode getShortDistanceMode()
        HiTechnic EOPD sensor, Short distance mode
        Measures the relative distance to a surface. This mode is suited for white objects at short distance.

        Size and content of the sample
        The sample contains one element containing the relative distance to a surface in the range of 0 to 1. Where 0 corresponds to the minimum of the measurement range and 1 corresponds to the maximum of the measyurement range. The measurement range depends on the color and reflectivity of the measured surface. The measurement is more or less linear to the distance for a given surface.