The working principles of the electronic theodolite