Determine position of two cameras by using a common reference grid