Position reference ffw for speed error compensation