I seem to misunderstand something crucial regarding finding the force vector in the process of DMPs: The way I understand it, I should come up with a dataset of trajectories $\{y_i\}_{i=1}^n$, and calculate a set of "True-labels" that are the forces associated with those trajectories: $\{f_i | f_i=\ddot y_i - \alpha_y(\beta_y(g-y_i)-\dot y_i)\}_{i=1}^n$. Next, I can minimize the squared differences between the approximation $\hat{f_i}$ (which is a linear combination of Gaussians) and $f_i$.
If this is all correct, why do I even need the approximation $\hat{f}$? don't I always have the values of the real force $f$, as I can always calculate it given the equation of motion? In other words, If I want to follow a trajectory $y$, then I need to apply the force $f(y)$, which is given by an $O(1)$ computation
Perhaps my error revolves around the idea that $\hat{f}$ is some generalization of all the different $f_i$'s? as in that $\hat{f}$ contains the information of all forces that are possible. If that is the case - I think for example of a robotic bird. A robotic bird does not have a set of common trajectories - in some cases, it may go in circles, and in other cases, it may go straight up. In that case, how can the DMP process generalize the force to account for all possible movements of the bird? I find it hard to believe that a linear representation of the forces of the wing could contain all that information
Thank you for your answers!