Last active
April 15, 2017 02:03
-
-
Save daraosn/4989625 to your computer and use it in GitHub Desktop.
Hack to connect multiple Parrot AR Drone 2.0 and create a swarm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Hack to connect multiple Parrot AR Drones. | |
############################################# | |
## Instructions: | |
## 1. Connect to your AR Drone wifi network. | |
## 2. Open your terminal and do 'telnet 192.168.1.1' | |
## 3. Copy the script and replace DRONE_ID with the desired ID number (between 3-255). | |
## 4. Paste and run the script for every drone on the swarm. | |
DRONE_ID=200 | |
sed -i "s/PROBE=1/PROBE=${DRONE_ID}/" /bin/wifi_setup.sh | |
sed -i "s/ssid_single_player.*/ssid_single_player = drone_swarm/" /data/config.ini | |
sed -i "s/wifi_mode.*/wifi_mode = 1/" /data/config.ini | |
/bin/wifi_setup.sh & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear sir,
I have used your code but unfortunately i assigned the value 300 to DRONE_ID. Then I reseted the drone manually. Although the older wifi SSID appears (ardrone2_002131), i cant connect my computer to that wifi. Do you have any idea of how could i solve that problem. Thanks for your time!