Robots are going to do many things for us in the future. As this video shows, they can get good at sword fighting as well. This sword-fighting robot uses high-speed vision to detect the moment the human starts to move. It predicts the possible trajectories of the sword of the human player and generates the appropriate response.
The robot predicts movements using a least-squares method and judges the kinds of attacks coming its way. Pretty smart, isn’t it?