dfki-ric / movement_primitives

Dynamical movement primitives (DMPs), probabilistic movement primitives (ProMPs), and spatially coupled bimanual DMPs for imitation learning.
https://dfki-ric.github.io/movement_primitives
Other
145 stars 39 forks source link

Is there a way to put multiple conditions with condition_position()? #21

Closed famora2 closed 1 year ago

famora2 commented 1 year ago

Hi,

is there a way to put multiple conditions such as pass position_mean1 at t=0 and position_mean2 at t=1?

Thank you.

AlexanderFabisch commented 1 year ago

Hi @famora2 ,

the function returns a new ProMP. Of course it should be possible to call the same function on this ProMP object. Maybe the variance will be quite small in the end. Let me know if it works for you or if you have any problems!

famora2 commented 1 year ago

Hi @AlexanderFabisch,

thank you for the tip. It worked easier than I thought ;)