Fixed rotation logic for armbot