- Joined
- Mar 10, 2022
- Messages
- 13
- Reaction score
- 1
TL;DR I'm getting the "did not receive a state packet" with DJITelloPy on a Chromebook.
Long version:
I found this thread but it only indicated a problem with Chromebooks at the end, not a solution:
I'm having trouble with the newer Chromebooks with Crostini built in, they run containers under lxd
I get the "did not receive a state packet from the tello" when the library is listening on port 8890 for the state info from the drone.
DJITelloPy works fine for me under pure Linux (and on Python 3.9 and 3.10!), but on the Chromebook there's an issue related to how IPs are assigned and routed.
If I have this right, because the Linux container is on its own IP address, not routable to the outside world, another computer trying to connect to the container IP will always fail.
There is port forwarding but it doesn't get around the fact that the drone is trying to connect to the interal IP of the container.
There's a post somewhere that talks about downgrading Python to 3.8, I have tried 3.7 and 3.8 from source and they still have this error.
So my bottom line question, I think the easiest way to fix this would be if I had access to the ChromeOS routing tables and I'd add a route to the internal IP through the external IP.
Chromebook 4+
running Bullseye under lxd/Crostini
Python 3.9.2 (have tried 3.8.x and 3.7.x from source)
Tello EDU drone
Also looked at:
Long version:
I found this thread but it only indicated a problem with Chromebooks at the end, not a solution:
Programming on Chromebook
Hi everyone. I have Tello for a while and I have done extensive Scratch programming with tello on my windows laptop. Also used Droneblocks on my Ipad. I demoed the scratch programming tello in my kids school and now they wanted me to run a coding club in the school. Challenge is that they have...
tellopilots.com
I'm having trouble with the newer Chromebooks with Crostini built in, they run containers under lxd
I get the "did not receive a state packet from the tello" when the library is listening on port 8890 for the state info from the drone.
DJITelloPy works fine for me under pure Linux (and on Python 3.9 and 3.10!), but on the Chromebook there's an issue related to how IPs are assigned and routed.
If I have this right, because the Linux container is on its own IP address, not routable to the outside world, another computer trying to connect to the container IP will always fail.
There is port forwarding but it doesn't get around the fact that the drone is trying to connect to the interal IP of the container.
There's a post somewhere that talks about downgrading Python to 3.8, I have tried 3.7 and 3.8 from source and they still have this error.
So my bottom line question, I think the easiest way to fix this would be if I had access to the ChromeOS routing tables and I'd add a route to the internal IP through the external IP.
Chromebook 4+
running Bullseye under lxd/Crostini
Python 3.9.2 (have tried 3.8.x and 3.7.x from source)
Tello EDU drone
Also looked at:
Chromebook connection issues
I am using Dell Chromebooks with Tellos in a class I have. Part of the Chromebooks won't run the code once they are connected to the drones. Is there a fix I am missing? It doesn't seem to matter which type pf book it is (we have an older set and a newer set). Thanks
tellopilots.com
Last edited: