You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Dennis, I am currently following ur steps provided on youtube to create drone swarming for the TelloEdu drones.
I have drones connected to an external router as access point and the respective addresses are 192.168.0.101 and 102. However I was trying to enable the opencv module to display video streaming capabilities for one drone first before moving on to another. But it just wouldnt show any stream or response.
Hi, we looked into this in the past and kept running into dead ends. From my understanding it's not possible when Tello is in "station" mode. This post talks about it some more:
Hi Dennis, I am currently following ur steps provided on youtube to create drone swarming for the TelloEdu drones.
I have drones connected to an external router as access point and the respective addresses are 192.168.0.101 and 102. However I was trying to enable the opencv module to display video streaming capabilities for one drone first before moving on to another. But it just wouldnt show any stream or response.
`import cv2
#telloVideo = cv2.VideoCapture("udp://@0.0.0.0:11111)" #
#telloVideo = cv2.VideoCapture("udp://@192.168.0.101:8889")
wait for frame
ret = False
scale down
scale = 3
while(True):
# Capture frame-by-framestreamon
ret, frame = telloVideo.read()
if(ret):
# Our operations on the frame come here
height , width , layers = frame.shape
new_h=int(height/scale)
new_w=int(width/scale)
resize = cv2.resize(frame, (new_w, new_h)) # <- resize for improved performance
# Display the resulting frame
cv2.imshow('Tello',resize)
When everything done, release the capture
telloVideo.release()
cv2.destroyAllWindows()`
The text was updated successfully, but these errors were encountered: