Skip to content

Commit

Permalink
Merge pull request #505 from bitcraze/Aris/Clarify_Channel_In_Swarm_E…
Browse files Browse the repository at this point in the history
…xamples

Aris/Clarify_Same_Channel_In_Swarm_Examples
  • Loading branch information
ArisMorgens authored Jan 17, 2025
2 parents dfd989c + 6ed0286 commit 94f3a2c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/swarm/hl-commander-swarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def run_shared_sequence(scf):
'radio://0/30/2M/E7E7E7E711',
'radio://0/30/2M/E7E7E7E712',
# Add more URIs if you want more copters in the swarm
# URIs in a swarm using the same radio must also be on the same channel
}

if __name__ == '__main__':
Expand Down
1 change: 1 addition & 0 deletions examples/swarm/swarmSequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
from cflib.crazyflie.swarm import Swarm

# Change uris and sequences according to your setup
# URIs in a swarm using the same radio must also be on the same channel
URI1 = 'radio://0/70/2M/E7E7E7E701'
URI2 = 'radio://0/70/2M/E7E7E7E702'
URI3 = 'radio://0/70/2M/E7E7E7E703'
Expand Down
1 change: 1 addition & 0 deletions examples/swarm/swarmSequenceCircle.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
from cflib.crazyflie.swarm import Swarm

# Change uris according to your setup
# URIs in a swarm using the same radio must also be on the same channel
URI0 = 'radio://0/70/2M/E7E7E7E7E7'
URI1 = 'radio://0/110/2M/E7E7E7E702'
URI2 = 'radio://0/94/2M/E7E7E7E7E7'
Expand Down
1 change: 1 addition & 0 deletions examples/swarm/synchronizedSequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
'radio://0/10/2M/E7E7E7E702', # cf_id 1, startup position [ 0, 0]
'radio://0/10/2M/E7E7E7E703', # cf_id 3, startup position [0.5, 0.5]
# Add more URIs if you want more copters in the swarm
# URIs in a swarm using the same radio must also be on the same channel
]

sequence = [
Expand Down

0 comments on commit 94f3a2c

Please sign in to comment.