Mapping, motor calibration, ubisense positioning, avoidance by infrared