Lighthouse + Swarm setup
Posted: Mon Mar 23, 2020 9:54 am
I have my Lighthouse setup and tested with the examples>swarm>hl-commander-swarm.py
Looking into the cflib>crazyflie>high_level_commander.py
I notice that there is a function called "def set_group_mask(self,groupmask=ALL_GROUPS)"
I was wondering how do i utalise this function? Suppose I only have 2 CF and would like them to:
1) Take off to 0.5m Together
2) CF1 hover, CF2 to increase height to 1m and hover
3) Both CF Perform the same size square(1m square)
4) CF1 to hover, CF2 to decrease height to 0.5m and hover
5) Landing together
I am planning to do more complicated task such as CF1 doing 1 flight pattern and CF 2 to do a differet flight pattern.
Looking into the cflib>crazyflie>high_level_commander.py
I notice that there is a function called "def set_group_mask(self,groupmask=ALL_GROUPS)"
I was wondering how do i utalise this function? Suppose I only have 2 CF and would like them to:
1) Take off to 0.5m Together
2) CF1 hover, CF2 to increase height to 1m and hover
3) Both CF Perform the same size square(1m square)
4) CF1 to hover, CF2 to decrease height to 0.5m and hover
5) Landing together
I am planning to do more complicated task such as CF1 doing 1 flight pattern and CF 2 to do a differet flight pattern.