Adaptive control of feed or cutting velocity