robots recognise pain and self-repair