We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d7b1e commit 4a1cfffCopy full SHA for 4a1cfff
libardrone/ar2video.py
@@ -34,16 +34,14 @@
34
35
class ARVideo2(object):
36
def __init__(self, drone, debug=False):
37
- self.h264 = h264decoder.H264Decoder(self, drone.image_shape)
38
- self.paveparser = paveparser.PaVEParser(self.h264)
39
- self.latest_image = None
+ h264 = h264decoder.H264Decoder(self, drone.image_shape)
+ self.paveparser = paveparser.PaVEParser(h264)
40
self._drone = drone
41
42
"""
43
Called by the H264 decoder when there's an image ready
44
45
def image_ready(self, image):
46
- self.latest_image = image
47
self._drone.set_image(image)
48
49
def write(self, data):
0 commit comments