Skip to content

Commit 94f3a2c

Browse files
authored
Merge pull request #505 from bitcraze/Aris/Clarify_Channel_In_Swarm_Examples
Aris/Clarify_Same_Channel_In_Swarm_Examples
2 parents dfd989c + 6ed0286 commit 94f3a2c

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

examples/swarm/hl-commander-swarm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def run_shared_sequence(scf):
8282
'radio://0/30/2M/E7E7E7E711',
8383
'radio://0/30/2M/E7E7E7E712',
8484
# Add more URIs if you want more copters in the swarm
85+
# URIs in a swarm using the same radio must also be on the same channel
8586
}
8687

8788
if __name__ == '__main__':

examples/swarm/swarmSequence.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
from cflib.crazyflie.swarm import Swarm
5353

5454
# Change uris and sequences according to your setup
55+
# URIs in a swarm using the same radio must also be on the same channel
5556
URI1 = 'radio://0/70/2M/E7E7E7E701'
5657
URI2 = 'radio://0/70/2M/E7E7E7E702'
5758
URI3 = 'radio://0/70/2M/E7E7E7E703'

examples/swarm/swarmSequenceCircle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
from cflib.crazyflie.swarm import Swarm
4545

4646
# Change uris according to your setup
47+
# URIs in a swarm using the same radio must also be on the same channel
4748
URI0 = 'radio://0/70/2M/E7E7E7E7E7'
4849
URI1 = 'radio://0/110/2M/E7E7E7E702'
4950
URI2 = 'radio://0/94/2M/E7E7E7E7E7'

examples/swarm/synchronizedSequence.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
'radio://0/10/2M/E7E7E7E702', # cf_id 1, startup position [ 0, 0]
6060
'radio://0/10/2M/E7E7E7E703', # cf_id 3, startup position [0.5, 0.5]
6161
# Add more URIs if you want more copters in the swarm
62+
# URIs in a swarm using the same radio must also be on the same channel
6263
]
6364

6465
sequence = [

0 commit comments

Comments
 (0)