Sense-and-avoid system