Tello-Python icon indicating copy to clipboard operation
Tello-Python copied to clipboard

Tello_video not working in Ubuntu 20.04

Open pczekalski opened this issue 5 years ago • 8 comments
trafficstars

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

pczekalski avatar May 31 '20 16:05 pczekalski

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

Dear Developer,

This question you can contact RYZE Tello's technical support: [email protected]

Warm Regards, DJI Developer Support

dji-dev avatar Jun 01 '20 03:06 dji-dev

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

snakehaihai avatar Sep 21 '20 09:09 snakehaihai

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! 👊

pi0projects avatar Jul 26 '21 06:07 pi0projects

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

snakehaihai avatar Jul 28 '21 04:07 snakehaihai

thanks! i will check it out

pi0projects avatar Jul 29 '21 06:07 pi0projects

thanks! i will check it out

@pi0projects finally you solved this issue ?

dicisoft avatar Dec 30 '21 21:12 dicisoft

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

allrobot avatar Mar 25 '22 11:03 allrobot

Hi,

Not at all. Just switched to other drones with PX4 stack.

Regards,

P.

On Fri, 25 Mar 2022 at 12:08, all sky @.***> wrote:

@pi0projects https://github.com/pi0projects @pczekalski https://github.com/pczekalski Hello, how are you solving it?

— Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Tello-Python/issues/69#issuecomment-1078912836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFVAVRRTRUXWOEHAZSZP3B3VBWNDNANCNFSM4NPHNUGA . You are receiving this because you were mentioned.Message ID: @.***>

pczekalski avatar Mar 25 '22 17:03 pczekalski