Concepts
See how the launcher turns sound into a map.
Three ideas behind the map
Time of flight
5,800 µs ÷ 58 ≈ 100 cm
Sound travels to the object and back. The sketch converts that round-trip time to distance and accepts readings from 2 to 300 cm.
Median filtering
80, 82, 240 cm → 82 cm
The middle of three valid readings keeps one unusually high or low reading from skewing the result.
Polar coordinates
Angle + distance = one point
Angle sets the direction on the scope. Distance sets how far the dot sits from the centre.
Try it after your first scan
Scan a flat target, then tilt it without moving it closer or farther away. Does the echo still appear on the map?