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

Tello_video not working in Ubuntu 20.04 #69

Open
pczekalski opened this issue May 31, 2020 · 8 comments
Open

Tello_video not working in Ubuntu 20.04 #69

pczekalski opened this issue May 31, 2020 · 8 comments

Comments

@pczekalski
Copy link

I'm trying to run TelloVideo under Ubuntu 20.04 LTS with no success.

While importing libh264decoder (compilation went OK, just some warnings), I got:

Exception has occurred: ImportError
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined symbol: _Py_tracemalloc_config
  File "/home/pczekalski/Documents/Repos/Tello-Python/Tello_Video/tello.py", line 5, in <module>
    import libh264decoder

The python version is 2.7.18.rc1

Also note, Ubuntu 20.04 no longer supports pip on python2 - you need to refer to it as pip2 in the installation script.

Regards,

Piotr

@dji-dev
Copy link

dji-dev commented Jun 1, 2020

Agent comment from Ho.Yan in Zendesk ticket #35260:

Dear Developer,

This question you can contact RYZE Tello's technical support:
support.cn@ryzerobotics.com

Warm Regards,
DJI Developer Support

@snakehaihai
Copy link

I'm trying to run TelloVideo under Ubuntu 20.04 LTS with no success.

While importing libh264decoder (compilation went OK, just some warnings), I got:

Exception has occurred: ImportError
/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined symbol: _Py_tracemalloc_config
  File "/home/pczekalski/Documents/Repos/Tello-Python/Tello_Video/tello.py", line 5, in <module>
    import libh264decoder

The python version is 2.7.18.rc1

Also note, Ubuntu 20.04 no longer supports pip on python2 - you need to refer to it as pip2 in the installation script.

Regards,

Piotr

manually link the import. by calling import sys above. then sys.path.insert(0, PATHTOYOURH264)
then import libh264decoder. this worked for me

@pi0projects
Copy link

pi0projects commented Jul 26, 2021

hey @snakehaihai, could you kindly share your script on how you made it work. I am new to programming. I also am running ubuntu 20.04

thank you! 👊

@snakehaihai
Copy link

hey @snakehaihai, could you kindly share your script on how you made it work. I am new to programming. I also am running ubuntu 20.04

thank you!

I end up giving up this code.

To get the video up, just use udp packet sender tools to send.

to real-time subscribe the video. just use the ffplay tools to see. or using ffmepg to capture to OpenCV

You may follow up my post here to get things up https://stackoverflow.com/questions/67796536/iptables-routing-packets-with-a-raspberry-pi-to-a-tello-drone/67809682#67809682

@pi0projects
Copy link

thanks! i will check it out

@dicisoft
Copy link

thanks! i will check it out

@pi0projects finally you solved this issue ?

@allrobot
Copy link

@pi0projects @pczekalski
Hello, how are you solving it?

@pczekalski
Copy link
Author

pczekalski commented Mar 25, 2022 via email

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

6 participants