Optimized Energy-Aware Wireless System for Identification of the Relative Positioning of Articulated Systems in the Free Space