Collaborative robot zero moment control for direct teaching based on self-measured gravity and friction. (14th November 2018)