Finding position of non stationary microcontrollers in 3d space

To find the position of an object in 3D space you need measurements of direction from at least 3, preferably more, independent sensors placed at known locations. The 3 measurements are then combined to produce the x, y and z positions of the object.

In view of the small distances involved GPS is not going to be of any use to you.