Difference between revisions of "Multiple Parrot Drones as Swarm via WiFi Router"

From PaparazziUAV
Jump to navigation Jump to search
(Created page with "!Multiple Parrot Drones as Swarm via WiFi Router !About If you are eager to try and fly multiple Bebop or Discos at the same time and communicate to eachother.")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
!Multiple Parrot Drones as Swarm via WiFi Router
=Multiple Parrot Drones as Swarm via WiFi Router=


!About
=About=


If you are eager to try and fly multiple Bebop or Discos at the same time and communicate to eachother.
If you are eager to try and fly multiple Bebop or Discos at the same time and communicate to each-other, this is the page to read hot  to get that to work
 
=What your need=
 
* 2x Bebop
* 1x Router
* Your Fieldlaptop
 
=Network=
 
First all your Bebops need to be configured. Repeat for all your Bebops
 
There is a configuration to make. Here are some examples as a start:
 
<code>
cd ~/paparazzi/sw/tools/parrot
 
./bebop.py configure_network YOURROUTERSSID managed dhcp
 
./bebop.py wifikey none none
 
</code>
 
or if you have WPA2 and  fixed IP's and do not have set the MAC of your Bebop in your DHCP for a static lease. IP is an example, your router could be on a different subnet.
Ofcourse change the YOURROUTERSSID and YOURKEY to the SSID of your router end the password of your network.
 
<code>
cd ~/paparazzi/sw/tools/parrot
 
./bebop.py configure_network YOURROUTERSSID managed 192.168.1.44
 
./bebop.py wifikey wpa2 YOURKEY
 
</code>
 
=IVY Bus=
 
~/paparazzi/sw/ground_segment/tmtc/link -udp -udp_broadcast
 
=Airframe=
 
To be able to cross-communicate some changes to the Bebop airframe need to be made:
 
 
In paparazzi center make 4x a airframe config, you can uses same airframe file for all since AC_ID make the differcder
add to your airframe:
 
  <configure name="HOST" value="192.168.1.$(AC_ID)"/>
  <configure name="MODEM_HOST" value="192.168.1.255"/>
  <configure name="MODEM_BROADCAST" value="TRUE"/>
 
=Tips=
 
* To make things manageable, one could also resort to local name resolving where the last part name of the device is the  aircraft ID.
* Or set the last part of a static IP number to the Aircraft ID of your airframes
 
=TIPS=
 
Press and hold the Powerbutton for 10seconds in a row until the light turns red, that is a factory reset.

Revision as of 08:02, 25 September 2020

Multiple Parrot Drones as Swarm via WiFi Router

About

If you are eager to try and fly multiple Bebop or Discos at the same time and communicate to each-other, this is the page to read hot to get that to work

What your need

  • 2x Bebop
  • 1x Router
  • Your Fieldlaptop

Network

First all your Bebops need to be configured. Repeat for all your Bebops

There is a configuration to make. Here are some examples as a start:

cd ~/paparazzi/sw/tools/parrot

./bebop.py configure_network YOURROUTERSSID managed dhcp

./bebop.py wifikey none none

or if you have WPA2 and fixed IP's and do not have set the MAC of your Bebop in your DHCP for a static lease. IP is an example, your router could be on a different subnet. Ofcourse change the YOURROUTERSSID and YOURKEY to the SSID of your router end the password of your network.

cd ~/paparazzi/sw/tools/parrot

./bebop.py configure_network YOURROUTERSSID managed 192.168.1.44

./bebop.py wifikey wpa2 YOURKEY

IVY Bus

~/paparazzi/sw/ground_segment/tmtc/link -udp -udp_broadcast

Airframe

To be able to cross-communicate some changes to the Bebop airframe need to be made:


In paparazzi center make 4x a airframe config, you can uses same airframe file for all since AC_ID make the differcder add to your airframe:

 <configure name="HOST" value="192.168.1.$(AC_ID)"/>
 <configure name="MODEM_HOST" value="192.168.1.255"/>
 <configure name="MODEM_BROADCAST" value="TRUE"/>

Tips

  • To make things manageable, one could also resort to local name resolving where the last part name of the device is the aircraft ID.
  • Or set the last part of a static IP number to the Aircraft ID of your airframes

TIPS

Press and hold the Powerbutton for 10seconds in a row until the light turns red, that is a factory reset.