def confirmConnection(self):
    print('Waiting for connection: ', end='')
    home = self.getHomeGeoPoint()
    while (((home.latitude == 0) and (home.longitude == 0) and (home.altitude == 0)) or math.isnan(home.latitude) or math.isnan(home.longitude) or math.isnan(home.altitude)):
        time.sleep(1)
        home = self.getHomeGeoPoint()
        print('X', end='')
    print('')
def confirmConnection(self):
    print('Waiting for connection: ', end=)
    home = self.getHomeGeoPoint()
    while (((home.latitude == 0) and (home.longitude == 0) and (home.altitude == 0)) or math.isnan(home.latitude) or math.isnan(home.longitude) or math.isnan(home.altitude)):
        time.sleep(1)
        home = self.getHomeGeoPoint()
        print('X', end=)
    print()