What are these beams sticking out of the Su-17's nose? As visible in the image above, there are these 2 beams sticking out of the Su-17's nose. One is longer and one is shorter.
What are the purpose of these beams and exactly what do they do?
conical nose reminded of its predecessor as much as the MiG-21, and ended with two long poles, one of which contained the very classic Pitot tube and the second a fire control calculator.


Source :https://www.avionslegendaires.net/avion-militaire/sukhoi-su-17-20-22-fitter/


  Two protuberances extended the nose: a Pitot tube and above all a pole supplying measurements to an ASP-5ND fire control system


Source:https://aviationsmilitaires.net/v3/kb/aircraft/show/2208/sukhoi-su-17-otan-fitter