Implementation of getHeadingToLandmark() function in O.S.M.Controller