@lib.api_call
    def get_rotation(self):
        # Return difference between left and right velocities
        # Note: Mecannum wheels must be oriented as per http://goo.gl/B1KEUV
        v_left = self.get_motor("front_left") + \
            self.get_motor("back_left")
        v_right = self.get_motor("front_right") + \
            self.get_motor("back_right")
        rotation = int(round((v_right - v_left) / 4))
        self.logger.debug(
            "Rotation:  (left {}: right: {})".format(
                rotation,
                v_left,
                v_right))
        # TODO: Verify math; v/4 to take mean?
        return rotation
Getter for bot's current overall speed of rotation.
dataset/ETHPy150Open IEEERobotics/bot/bot/driver/mec_driver.py/MecDriver.get_rotation