To control multiple drones you need to get them on the same network. We used an ad-hoc network with statically assigned IP addresses. The adhoc.sh script will restart a drone's network on the ad-hoc network, but will not change the boot-up process, so that restarting a drone will put it back on the standard network.
Before starting, you should upload a copy of the adhoc.sh script to each drone. The script should be modified per drone to have a unique IP address.
- Select the drone's wifi network and telnet to 192.168.1.1
- Run the adhoc.sh script on the drone
- Select the adhoc network named in the adhoc.sh script (we used jimsdrone_ah).
- Select an unused static IP address (from network preferences on a Mac)
- Run the dual_rotation.rb program (using the IP addresses assigned to the drone).
That's it. Have fun.
-- Jim Weirich / Carin Meier