Position reference ffw for compensation speed reference and speed error