Control or error compensation of scanning position or velocity using stored control or compensation data, e.g. previously measured data