included generalization to pickup task; todo: learn dmp constants