The principle of sensors commonly used in robots