Make the drone rise upwards.
175883
def move_up(self):
        """"""
        self.at(ardrone.at.pcmd, True, 0, 0, self.speed, 0)
584288
public Type upward(Type t, List<Type> vars) {
        return t.map(new TypeProjection(vars), true);
    }
771940
def move_down(self):
        """"""
        self.at(ardrone.at.pcmd, True, 0, 0, -self.speed, 0)
516303
def above(from_view, f={})
      _calculate_frame(f, from: from_view, relative_to: { x: :reset, y: :above })
    end
1355780
def _start_drone(self):
        

        with open(self.config_file, 'r') as config_file:
            self.config = json.load(config_file, object_hook=asciify)

        mode = None
        if self.config['general']['mode'] == '' or self.config['general']['mode'] is None:
            logger.info('Drone has not been configured, awaiting configuration from Beeswarm server.')
        elif self.config['general']['mode'] == 'honeypot':
            mode = Honeypot
        elif self.config['general']['mode'] == 'client':
            mode = Client

        if mode:
            self.drone = mode(self.work_dir, self.config)
            self.drone_greenlet = gevent.spawn(self.drone.start)
            self.drone_greenlet.link_exception(self.on_exception)
            logger.info('Drone configured and running. ({0})'.format(self.id))
495021
def up(self, n=1, interval=0, pre_dl=None, post_dl=None):
        
        self.delay(pre_dl)
        self.k.tap_key(self.k.up_key, n, interval)
        self.delay(post_dl)
295426
def to(location, code=falcon.HTTP_302):
    """"""
    raise falcon.http_status.HTTPStatus(code, {'location': location})
124831
function (response) {
            // the overlap vector
            var overlap = response.overlapV;

            // FIXME: Respond proportionally to object mass

            // Move out of the other object shape
            this.ancestor.pos.sub(overlap);

            // adjust velocity
            if (overlap.x !== 0) {
                this.vel.x = ~~(0.5 + this.vel.x - overlap.x) || 0;
                if (this.bounce > 0) {
                    this.vel.x *= -this.bounce;
                }
            }
            if (overlap.y !== 0) {
                this.vel.y = ~~(0.5 + this.vel.y - overlap.y) || 0;
                if (this.bounce > 0) {
                    this.vel.y *= -this.bounce;
                }

                // cancel the falling an jumping flags if necessary
                var dir = Math.sign(this.gravity.y) || 1;
                this.falling = overlap.y >= dir;
                this.jumping = overlap.y <= -dir;
            }
        }
159384
def accel_increase_height(self, *args):
        
        height = self.settings.general.get_int('window-height')
        self.settings.general.set_int('window-height', min(height + 2, 100))
        return True
841683
def _scroll_up(self, cli):
        "  "
        info = self.render_info

        if info.vertical_scroll > 0:
            # TODO: not entirely correct yet in case of line wrapping and long lines.
            if info.cursor_position.y >= info.window_height - 1 - info.configured_scroll_offsets.bottom:
                self.content.move_cursor_up(cli)

            self.vertical_scroll -= 1
365268
def move_up(self):
        
        old_index = self.current_index
        self.current_index -= 1
        self.__wrap_index()
        self.__handle_selections(old_index, self.current_index)
211955
def cmd_up(self, args):
        ''''''
        if len(args) == 0:
            adjust = 5.0
        else:
            adjust = float(args[0])
        old_trim = self.get_mav_param('TRIM_PITCH_CD', None)
        if old_trim is None:
            print("Existing trim value unknown!")
            return
        new_trim = int(old_trim + (adjust*100))
        if math.fabs(new_trim - old_trim) > 1000:
            print("Adjustment by %d too large (from %d to %d)" % (adjust*100, old_trim, new_trim))
            return
        print("Adjusting TRIM_PITCH_CD from %d to %d" % (old_trim, new_trim))
        self.param_set('TRIM_PITCH_CD', new_trim)
175114
function fly(cam, rotPad, movePad){
    var xRot = Qt.fromAxisAngle(V3_(1, 0, 0), rotPad.x);
    var yRot = Qt.fromAxisAngle(V3_(0, 1, 0), rotPad.y);
    var zRot = Qt.fromAxisAngle(V3_(0, 0, 1), rotPad.z);
    var camX = Qt.rotate(cam.rot, V3_(1, 0, 0));
    var camY = Qt.rotate(cam.rot, V3_(0, 1, 0));
    var camZ = Qt.rotate(cam.rot, V3_(0, 0, 1));
    return Camera(
      V3.add(V3.add(V3.add(
        cam.pos,
        V3.scale(movePad.x, camX)),
        V3.scale(movePad.y, camY)),
        V3.scale(movePad.z, camZ)),
      Qt.multiply(Qt.multiply(Qt.multiply(
        cam.rot,
        xRot), yRot), zRot));
  }
1368492
public void goUp() {
        mCurrentPath = getParent(mCurrentPath);
        mCheckedItems.clear();
        mCheckedVisibleViewHolders.clear();
        refresh(mCurrentPath);
    }
688834
def _rewind(self):
        ''''''
        self.messages = { 'MAV' : self }
        self.flightmode = "UNKNOWN"
        self.percent = 0
        if self.clock:
            self.clock.rewind_event()
1203798
def _move_to_top(self, pos):
        """"""
        if pos > 0:
            self.queue.rotate(-pos)
            item = self.queue.popleft()
            self.queue.rotate(pos)
            self.queue.appendleft(item)
146790
function (view, right, up) {
        quat.setAxes(this.array, view.array, right.array, up.array);
        this._dirty = true;
        return this;
    }