Hello,
The following code snippet works (i.e. no error message):
but the succeeding statement is frozen with no response:
The tello_address should be correct per the following output from Ubuntu ifconfig:
Can confirm that the WiFi session with the drone is active. My understanding of communications (i.e. socket) is primitive. I understand that there are packages to mask these things for my own benefit. However, I would like to learn from this simple mistake of mine. How can I ensure that sendto/recvfrom exchange will work for the most simple case? Thanks.
Regards.
P.S. I'm a total newbie with respect Tello with just a little bit of UDP knowledge that has become rusty.
The following code snippet works (i.e. no error message):
message='command'
tello_address = ('192.168.10.2', 8889)
sock.sendto(message.encode(), tello_address)
but the succeeding statement is frozen with no response:
response, ip_address = sock.recvfrom(128)
The tello_address should be correct per the following output from Ubuntu ifconfig:
wlx9cefd5fa9797: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
[B]inet 192.168.10.2[/B] netmask 255.255.255.0 broadcast 192.168.10.255
Can confirm that the WiFi session with the drone is active. My understanding of communications (i.e. socket) is primitive. I understand that there are packages to mask these things for my own benefit. However, I would like to learn from this simple mistake of mine. How can I ensure that sendto/recvfrom exchange will work for the most simple case? Thanks.
Regards.
P.S. I'm a total newbie with respect Tello with just a little bit of UDP knowledge that has become rusty.