def mergeOtherGridInfo(self, otherGrid):

        # find two common markers
        commonKeys = []
        for key in self.markers.keys():
            if otherGrid.markerExists(key):
                commonKeys.append(key)

        if len(commonKeys) < 2:
            print "I can not find two common markers, merge failed!"
            return

        # for now we just use the first two common markers found
        thisGridAnchor1Row = self.getMarkerRow(commonKeys[0])
        thisGridAnchor1Col = self.getMarkerCol(commonKeys[0])
        thisGridAnchor2Row = self.getMarkerRow(commonKeys[1])
        thisGridAnchor2Col = self.getMarkerCol(commonKeys[1])
        otherGridAnchor1Row = otherGrid.getMarkerRow(commonKeys[0])
        otherGridAnchor1Col = otherGrid.getMarkerCol(commonKeys[0])
        otherGridAnchor2Row = otherGrid.getMarkerRow(commonKeys[1])
        otherGridAnchor2Col = otherGrid.getMarkerCol(commonKeys[1])

        return OccupancyGrid.mergeOtherGridInfo(
            self,
            otherGrid,
            thisGridAnchor1Row=thisGridAnchor1Row,
            thisGridAnchor1Col=thisGridAnchor1Col,
            thisGridAnchor2Row=thisGridAnchor2Row,
            thisGridAnchor2Col=thisGridAnchor2Col,
            otherGridAnchor1Row=otherGridAnchor1Row,
            otherGridAnchor1Col=otherGridAnchor1Col,
            otherGridAnchor2Row=otherGridAnchor2Row,
            otherGridAnchor2Col=otherGridAnchor2Col,
        )