The video stream often freezes briefly, meaning that subsequent calls to ARDrone::getImage() will return the same image as before. I added ARDrone::willGetNewImage() to check whether we've received a new image since the last call to ARDrone::getImage(). This is useful in, e.g., computer vision, where it might be undesirable to process a frame that's identical to the one before it.
The video stream often freezes briefly, meaning that subsequent calls to
ARDrone::getImage()
will return the same image as before. I addedARDrone::willGetNewImage()
to check whether we've received a new image since the last call toARDrone::getImage()
. This is useful in, e.g., computer vision, where it might be undesirable to process a frame that's identical to the one before it.