Robot whitch follow a line and stop back up of barrier