A brand new algorithm could make robots safer by making them extra conscious of human inattentiveness.…