Online optimal motion generation with guaranteed safety in shared workspace | IEEE Conference Publication | IEEE Xplore