Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw image quality and bandwidth #7

Open
diegomrt opened this issue Mar 16, 2019 · 5 comments
Open

Raw image quality and bandwidth #7

diegomrt opened this issue Mar 16, 2019 · 5 comments

Comments

@diegomrt
Copy link

Hi,

I'm getting an unusable image from the /tello/image_raw topic, it is 90% filled with green pixels. My laptop and the Tello drone are 50 cm away, and the WiFi link quality is perfect (70/70) with a Bit Rate of 54 Mb/s (this is the top value I get).

I guess the problem comes from the /tello/image_raw topic bandwith, that is around 62 MB/s (30 FPS). Is there any way of decreasing it?

I'm attaching a screenshot with the driver parameters and the image quality I get. Changing stream_h264_video to true or playing with the image quality parameter doesn't solve the problem.

Thanks in advance.

Video_problems

@craigcraigcraig
Copy link

+1 I'm seeing the same behavior. The video displayed in image_view is very slow, best way to describe is that it looks like it's moving in slow motion (in addition to the green noise).

@zhangk23
Copy link

I'm seeing similar problem except the noise is background color not green. Any idea how to resolve? Thanks a lot!

@diegomrt
Copy link
Author

Is there any update? This issue was posted more than 2 months ago.

@anqixu
Copy link
Owner

anqixu commented Jul 3, 2019

This seems to be due to out-of-order UDP packets, and how the original TelloPy driver handles them. It might also be caused by dropped packets, but doesn't seem to be an issue in your case. See if this improves things:

anqixu/TelloPy@6044cfe

P.S.: sorry for the tardy response. This is a hobby side-project, so it's hard for me to find time to work outside of my full-time employment.

@anqixu
Copy link
Owner

anqixu commented Jul 3, 2019

Oh and yes, you can decrease the video bitrate here:

https://github.com/anqixu/TelloPy/blob/develop-0.6.0/tellopy/_internal/tello.py#L288

I haven't figured out what the equivalent bitrates are, but pass a value of 1 for the lowest bitrate. values 6+ (or 0) seems to be the max bitrate, and it increases linearly in-between.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants