Robot task planning and trajectory learning based on programming by demonstration | IEEE Conference Publication | IEEE Xplore