Projecting light on floor to delimit danger zone around robot