Posts

Showing posts from July, 2021

Probabilistic Movement Primitives Part 4: Conditioning

Image
The modulation of via-points, final positions, and velocities is carried out using conditioning so that MP can adapt to new situations. In order to condition the MP to reach a certain state y at any time point t, a desired observation xt=[yt,Σy] is added to the model. Applying Bayes theorem, (1)p(w|xt)N(yt|Ψtw,Σy)p(w) where state vector yt defines the desired position and velocity at a time t and Σy defines the accuracy of the desired observation. The conditional distribution p(w|xt) is Gaussian for a Gaussian trajectory distribution, whose mean and variance are given by, (2)μw[new]=μw+L(ytΨtTμw),Σw[new]=ΣwLΨtTΣw, where L=ΣwΨt(Σy+ΨtTΣwΨt)1. Let's code via_points = [(0.2, .02),...