Class HiTechnicGyro

    • Constructor Detail

      • HiTechnicGyro

        public HiTechnicGyro​(AnalogPort port)
        Supports the SampleProvider interface.
        The sensor measures the angular velocity in degrees per second. A positive rate indicates a counterclockwise rotation. A negative rate indicates a clockwise rotation.
        Parameters:
        port - the Analog port
      • HiTechnicGyro

        public HiTechnicGyro​(Port port)
        Supports the SampleProvider interface.
        The sensor measures the angular velocity in degrees per second. A positive rate indicates a counterclockwise rotation. A negative rate indicates a clockwise rotation.
        Parameters:
        port - the Sensor port
    • Method Detail

      • init

        protected void init()
      • getRateMode

        public SensorMode getRateMode()
        HiTechnic Gyro sensor, Rate mode
        The Rate mode measures the angular speed of the sensor over three axes

        Size and content of the sample
        The sample contains one element giving the angular speed (in degrees/second) of the sensor over its vertical axis (Z-axis).