Non-contact obstruction sensing prevents collision with vacuum cleaning robot on textile machine