Examining the legibility of humanoid robot arm movements in a pointing task