with FlyTello(my_tellos) as fly:
fly.get_wifi()
fly.takeoff()
fly.pause(5)
fly.land()
I received this error :
TelloEduSwarmSearch-master "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/venv/bin/pyth
on" "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/textesolo.py"
[Tello Search]Looking for 1 Tello(s)
[Tello Search]Looking for 1 Tello(s)
[Tello Search]Looking for 1 Tello(s)
[Tello Search]Looking for 1 Tello(s)
[Tello Search]Looking for 1 Tello(s)
[Tello Search]Looking for 1 Tello(s)
Traceback (most recent call last):
File "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/textesolo.py", line 7, in
with FlyTello(my_tellos) as fly:
File "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/fly_tello.py", line 30, in init
self.tello_mgr.init_tellos(sn_list=tello_sn_list, get_status=get_status, first_ip=first_ip, last_ip=last_ip)
File "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/comms_manager.py", line 83, in init_tellos
self.control_socket.sendto('command'.encode(), (ip, self.control_port))
OSError: [Errno 65] No route to host
Hello,
I do have a problem, I'm connected to internet with my computer and sometimes, I don't know why, I can't connect the drones to my wifi.
The drones are in ap mode and perfectly connect on my network. But then when I try to launch a basic code :
from fly_tello import FlyTello # Import FlyTello
my_tellos = list() my_tellos.append('0TQZK8TED030S0') # 3
with FlyTello(my_tellos) as fly: fly.get_wifi() fly.takeoff() fly.pause(5) fly.land()
I received this error :
TelloEduSwarmSearch-master "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/venv/bin/pyth on" "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/textesolo.py" [Tello Search]Looking for 1 Tello(s) [Tello Search]Looking for 1 Tello(s) [Tello Search]Looking for 1 Tello(s) [Tello Search]Looking for 1 Tello(s) [Tello Search]Looking for 1 Tello(s) [Tello Search]Looking for 1 Tello(s) Traceback (most recent call last): File "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/textesolo.py", line 7, in
with FlyTello(my_tellos) as fly:
File "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/fly_tello.py", line 30, in init
self.tello_mgr.init_tellos(sn_list=tello_sn_list, get_status=get_status, first_ip=first_ip, last_ip=last_ip)
File "/Users/mmm24/Desktop/PROJETS/EN COURS/HELLO WORLD /MATIERES/Technique/Drone/Jeu /TelloEduSwarmSearch-master/comms_manager.py", line 83, in init_tellos
self.control_socket.sendto('command'.encode(), (ip, self.control_port))
OSError: [Errno 65] No route to host
Can you help me ?
thank you, Maxime