Hello, i'm trying to take picture from the tello at maximum quality. Buť i don't know exactly how to do it. Can you help me? I think this could be good start, but i don't know to receive the picture. Any help would be appreciated.
Code:
def takePicture(self,switch_mode=0,set_ev,jpeg_quality):
#mode = 0 -picture mode
#mode = 1 -video mode
#set_ev = from -9 to 9
#jpeg_quality = i don't know possible values
self._sendCmd(0x68, self.TELLO_CMD_SWITCH_PICTURE_VIDEO, bytearray([switch_mode]))
self._sendCmd(0x68, self.TELLO_CMD_SET_EV, bytearray([set_ev]))
self._sendCmd(0x68, self.TELLO_CMD_SET_JPEG_QUALITY, bytearray([jpeg_quality]))
self._sendCmd(0x68, self.TELLO_CMD_TAKE_PICTURE, bytearray([]))
#here somehow receive the picture