Skip to content

Instantly share code, notes, and snippets.

@daraosn
Last active April 15, 2017 02:03

Revisions

  1. daraosn revised this gist Feb 19, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion drone_swarm.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    ## 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.
    ## 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
  2. daraosn created this gist Feb 19, 2013.
    13 changes: 13 additions & 0 deletions drone_swarm.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ## 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.
    ## 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 &