Please select Into the mobile phone version | Continue to access the computer ver.
Dji Tello EDU | Swarm with Video
622 2 3-8 11:39
Uploading and Loding Picture ...(0/1)
o(^-^)o
99mike199
lvl.1
Slovakia
Offline

[color=rgb(162, 154, 142) !important][color=rgb(183, 177, 168) !important][size=1.61538]I'm new into this and i want to control 2 Tello EDUs in swarm. I tried couple of things that worked for one not in swarm but crashed in swarm (i think I did something in bad way) and I can't figure out Video Stream in swarm. I would be thankful for help with it.


I am using DJITelloPy library from GitHub(https://github.com/damiafuentes/DJITelloPy). Controlling for one drone I did from this YouTube tutorial(https://youtu.be/LmEcyQnfpDA?t=2194). I also tried control in example of DJITelloPy but also doesn't work.


from
djitellopy
import TelloSwarm
import cv2  swarm = TelloSwarm.fromIps([   
       "10.0.0.125",   
       "10.0.0.126" ])
swarm.connect()
for tello in swarm:      
     print(tello.get_battery())
swarm.streamon()
while True:     
img = {}     
for tello in swarm:
         img = tello.get_frame_read().frame
         for i in img:
         img = cv2.resize(img, (360, 240))
         cv2.imshow("Image", img)
         cv2.waitKey(1)
This should just connect to them on the network (by their IPs) and run Image capture. I don't think it is the right way. Can someone help me? I'm running out of ideas.

3-8 11:39
Use props
DAFlys
Captain
Flight distance : 1283110 ft
United Kingdom
Online

Hi! You might be better off posting your question in the 'Developer' section of this forum.   https://forum.dji.com/forum-139-1.html?from=developer
3-9 00:50
Use props
RYZE
Super Moderator

South Africa
Offline

Dear customer,
Did you program by python? We are sorry that questions about SDK doesn't support online service, please describe your question and send to sdk@ryzerobotics.com for consulting, our engineers will reply you as soon as possible, please wait patiently.
Thanks in advance for your support!


3-9 23:22
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules