damiafuentes / DJITelloPy

DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!
MIT License
1.26k stars 493 forks source link

set_video_bitrate does not work #144

Closed maashon closed 2 years ago

maashon commented 2 years ago

I am trying to take image with tello. by default, the images are less than 1megapixel in resolution. I tried to use set_video_bitrate function but it does not work.

M4GNV5 commented 2 years ago

What do you mean by "it does not work"? What error message do you receive? Can you share the code you use for taking pictures? Is your tello running the latest firmware?

maashon commented 2 years ago

image

I use the function set_video_resolution(self.drone.RESOLUTION_720P) but it gives the following error and does not change the resolution:

raise Exception("Command '{}' was unsuccessful for {} tries. Latest response:\t'{}'" Exception: Command 'setresolution high' was unsuccessful for 4 tries. Latest response: 'unknown command: setresolution'

my tello is up to date(when I want to update the tello in the phone application, it says: latest version)

maashon commented 2 years ago

What do you mean by "it does not work"? What error message do you receive? Can you share the code you use for taking pictures? Is your tello running the latest firmware?

I use the function set_video_resolution(self.drone.RESOLUTION_720P) but it gives the following error and does not change the resolution:

raise Exception("Command '{}' was unsuccessful for {} tries. Latest response:\t'{}'" Exception: Command 'setresolution high' was unsuccessful for 4 tries. Latest response: 'unknown command: setresolution'

my tello is up to date(when I want to update the tello in the phone application, it says: latest version)

image

M4GNV5 commented 2 years ago

probably related/duplicate of #138 as this is also a SDK 3.0 command. Make sure you are using a firmware which supports the SDK 3.0!