With moving system parts that need to automatically work together, the positioning of parts or work pieces with millimeter accuracy is of great importance. For this purpose, sensors with various operating principles are provided: laser distance measurement devices that measure against a reflector, bar code positioning systems whose red light laser determines position and speed relative to a bar code tape, sensors for optical guidance using edge detection as well as solutions for camera-based compartment fine positioning.