Combining Programming by Demonstration with Path Optimization and Local Replanning to Facilitate the Execution of Assembly Tasks | IEEE Conference Publication | IEEE Xplore