Knowledge acquisition through introspection in Human-Robot Cooperation