In order to get multi-drone to work, we need a fixed local client port for each connected tello to avoid port clashing. In the existing repository, this wasn't possible as the client port was set the same as the server port.
There is a new parameter port_command_client which is the client port
In sdk 3.0 (and possibly undocumented in sdk 2.0) there is a new command port <state port> <cam stream port> which allows the user to change the streaming port. This will allow the streaming of both state and camera stream to different ports on the local machine. I add the setPort function to tello
Since it also takes the camera stream port, I changed the format of the camera url back to ip and port, and call setPort again if camera is enabled
I have verified that changing the state port and the camera port works on the tello EDU in ap mode over the wifi network.
I have managed to fly with two tellos, although I'm having trouble with the teleop panel and one or both drones going into emergency mode on their own.
EDIT: Just tried with mission_swarm.py and it seems to be working semi-smoothly now!
Hi guys,
In order to get multi-drone to work, we need a fixed local client port for each connected tello to avoid port clashing. In the existing repository, this wasn't possible as the client port was set the same as the server port.
port_command_client
which is the client portport <state port> <cam stream port>
which allows the user to change the streaming port. This will allow the streaming of both state and camera stream to different ports on the local machine. I add the setPort function to telloI have verified that changing the state port and the camera port works on the tello EDU in ap mode over the wifi network.
I have managed to fly with two tellos, although I'm having trouble with the teleop panel and one or both drones going into emergency mode on their own.
EDIT: Just tried with mission_swarm.py and it seems to be working semi-smoothly now!