Example #1
0
 def takeoff(self, targetHeight, duration, groupMask = 0):
     if self._isGroup(groupMask):
         firm.plan_takeoff(self.planner,
             self._vposition(), self.yaw(), targetHeight, duration, self.time())
Example #2
0
 def takeoff(self, targetHeight, duration, groupMask=0):
     if self._isGroup(groupMask):
         self.mode = Crazyflie.MODE_HIGH_POLY
         firm.plan_takeoff(self.planner, self.state.pos, self.state.yaw,
                           targetHeight, duration, self.time())