@lib.api_call
    def rotate(self, rate):
        """
        Pass (angular) rate as -100 to +100
        (positive is counterclockwise).
        """
        # NOTE(Vijay): to be tested
        # Validate params
        self.logger.debug("Rotating with angular rate: {}".format(rate))
        try:
            assert OmniDriver.min_angular_rate <= rate <= \
                OmniDriver.max_angular_rate
        except __HOLE__:
            raise AssertionError("Angular rate is out of bounds")

        self.set_motor("north", -rate)
        self.set_motor("south", rate)
        self.set_motor("west", -rate)
        self.set_motor("east", rate)
dataset/ETHPy150Open IEEERobotics/bot/bot/driver/omni_driver.py/OmniDriver.rotate