Пример #1
0
    def setMinRate(self, minRate: float) -> None:
        """Set the minimum rate of the device before the hardware reports it
        stopped.

        :param minRate: The minimum rate. The units are in distance per
            second as scaled by the value from :func:`setDistancePerPulse`.
        """
        hal.setEncoderMinRate(self.encoder, minRate)
Пример #2
0
    def setMinRate(self, minRate: float) -> None:
        """Set the minimum rate of the device before the hardware reports it
        stopped.

        :param minRate: The minimum rate. The units are in distance per
            second as scaled by the value from :func:`setDistancePerPulse`.
        """
        hal.setEncoderMinRate(self.encoder, minRate)