A system for detecting distances using chaotic signals