text: #!/usr/bin/env python
  
  import numpy as np
  from pycrazyswarm import *
  
  Z = 1.0
  
  if __name__ == "__main__":
      swarm = Crazyswarm()
      timeHelper = swarm.timeHelper
      allcfs = swarm.allcfs
  
      allcfs.takeoff(targetHeight=Z, duration=1.0+Z)
      timeHelper.sleep(1.5+Z)
      for cf in allcfs.crazyflies:
          pos = np.array(cf.initialPosition) + np.array([0, 0, Z])
          cf.goTo(pos, 0, 1.0)
  
      timeHelper.sleep(1.0)
  
      # broadcasted relative goTo
      allcfs.goTo(np.array([0.5,0.0,0.0]), 0, 2.0)
      timeHelper.sleep(2.0)
  
      allcfs.land(targetHeight=0.02, duration=1.0+Z)
      timeHelper.sleep(1.0+Z)
  