code: def takeoff(self, absolute_height_m, duration_s, group_mask=ALL_GROUPS):
          
          self._send_packet(struct.pack('<BBff',
                                        self.COMMAND_TAKEOFF,
                                        group_mask,
                                        absolute_height_m,
                                        duration_s))
docs: vertical takeoff from current x-y position to given height
  
          :param absolute_height_m: absolut (m)
          :param duration_s: time it should take until target height is
                             reached (s)
          :param group_mask: mask for which CFs this should apply to