Three-dimensional relative localization and synchronized movement with wireless ranging