def updatepoints(self, now):
        ''' Move items from self.queue to self.points when their time has come.
        '''
        while len(self.queue):
            if self.queue[0].time > now:
                break            
            wp = heapq.heappop(self.queue)
            self.points[wp.nodenum] = wp
dataset/ETHPy150Open coreemu/core/daemon/core/mobility.py/WayPointMobility.updatepoints/original