Ejemplo n.º 1
0
 def land(self, targetHeight, duration, groupMask = 0):
     if self._isGroup(groupMask):
         firm.plan_land(self.planner,
             self._vposition(), self.yaw(), targetHeight, duration, self.time())
Ejemplo n.º 2
0
 def land(self, targetHeight, duration, groupMask=0):
     if self._isGroup(groupMask):
         self.mode = Crazyflie.MODE_HIGH_POLY
         firm.plan_land(self.planner, self.state.pos, self.state.yaw,
                        targetHeight, duration, self.time())