Feedforward motion control: From batch-to-batch learning to online parameter estimation