mginesi / dmp_pp

Implementation of DMP in Python 3.5
52 stars 12 forks source link

in demos/demo_rescaling.py ; #2

Open ssvision opened 1 year ago

ssvision commented 1 year ago

While setting up the tracking vectors as seen in the screenshot ; in lines 101 and 104 i believe there is a typo which should be :

ddx_track_classical = np.append(ddx_track_classical, [0.0 * dmp_classical.x_0], axis = 0)

ddx_track_rescaling = np.append(ddx_track_rescaling, [0.0 * dmp_rescaling.x_0], axis = 0)

Screenshot from 2023-03-13 16-19-07

mginesi commented 1 year ago

the demo works on my machine. Did you edited it using new trajectories?