Tell the right hand to follow the left hand
972286
def follow_hand(poppy, delta):
    """"""
    right_arm_position = poppy.l_arm_chain.end_effector + delta
    poppy.r_arm_chain.goto(right_arm_position, 0.5, wait=True)
694232
def right(self, speed=1):
        
        self.left_motor.forward(speed)
        self.right_motor.backward(speed)
45678
def turn_left(relative_angle):
    
    assert int(relative_angle) == relative_angle, "turn_left() only accepts integers, but you gave it " + str(relative_angle)

    _make_cnc_request("move.left./" + str(relative_angle))
    state['turtle'].left(relative_angle)
885063
def move_right(self, keep_anchor=False, nb_chars=1):
        
        text_cursor = self._editor.textCursor()
        text_cursor.movePosition(
            text_cursor.Right, text_cursor.KeepAnchor if keep_anchor else
            text_cursor.MoveAnchor, nb_chars)
        self._editor.setTextCursor(text_cursor)
428913
function(action) {
            // if the action is a direction
            if(RL.Util.DIRECTIONS_4.indexOf(action) !== -1){
                var offsetCoord = RL.Util.getOffsetCoordsFromDirection(action),
                    moveToX = this.x + offsetCoord.x,
                    moveToY = this.y + offsetCoord.y;
                return this.move(moveToX, moveToY);
            }

            if(action === 'wait'){
                this.wait();
                return true;
            }

            return false;
        }
680085
public void composeLeftLeftInv(IntBitRelation left, IntBitRelation right) {
        int i, a, b;
        IntBitSet li, ri;

        for (i = 0; i < line.length; i++) {
            li = left.line[i];
            ri = right.line[i];
            if (li != null && ri != null) {
                for (a = li.first(); a != -1; a = li.next(a)) {
                    for (b = ri.first(); b != -1; b = ri.next(b)) {
                        add(b, a);
                    }
                }
            }
        }
    }
1127251
function(evt) {
        evt.preventDefault();
        evt.stopPropagation();
        if (debug) { timedLog("secondFinger"); }
        if (evt.touches.length < 2) {
          return;
        }
        // we need to rebind finger 1, because it may have moved!
        transform.x1 = evt.touches[0].pageX;
        transform.y1 = evt.touches[0].pageY;
        transform.x2 = evt.touches[1].pageX;
        transform.y2 = evt.touches[1].pageY;

        var x1 = transform.x1,
          y1 = transform.y1,
          x2 = transform.x2,
          y2 = transform.y2,
          dx = x2 - x1,
          dy = y2 - y1,
          d = Math.sqrt(dx*dx + dy*dy),
          a = Math.atan2(dy,dx);

        transform.distance = d;
        transform.angle = a;
      }
882565
def left_to_right(self):
        """"""
        self._entry_mode |= Command.MODE_INCREMENT
        self.command(self._entry_mode)
826070
def right_stop(self):
        """"""
        self.board.digital_write(R_CTRL_1, 0)
        self.board.digital_write(R_CTRL_2, 0)
        self.board.analog_write(PWM_R, 0)
34166
def set_left_to_right(self):
        """"""
        self.displaymode |= LCD_ENTRYLEFT
        self.write8(LCD_ENTRYMODESET | self.displaymode)
234251
async def right(self):
        """"""
        await self._send_commands(
            self._move('Down', 0, 50, 100),
            self._move('Move', 1, 55, 100),
            self._move('Move', 3, 60, 100),
            self._move('Move', 4, 65, 100),
            self._move('Move', 5, 70, 100),
            self._move('Move', 6, 75, 100),
            self._move('Up', 7, 75, 100))
24057
function left() {
        var parentRole = getParentRole();

        if (parentRole == "tablist") {
          moveFocus(-1, getFocusElements(focusedElement.parentNode));
        } else if (focusedControl.parent().submenu) {
          cancel();
        } else {
          moveFocus(-1);
        }
      }
68341
public final void acceptBoth(Consumer<? super L> left, Consumer<? super R> right, L defaultLeft, R defaultRight) {
		left.accept(isLeft() ? getLeft() : defaultLeft);
		right.accept(isRight() ? getRight() : defaultRight);
	}
1140876
function moveFingers(e) {
    // We'll use this if the second is locked with the first.
    var changeX = e.clientX - fingers[0].x || 0;
    var changeY = e.clientY - fingers[0].y || 0;

    // The first finger just follows the mouse.
    fingers[0].move(e.clientX, e.clientY);

    // TODO: Determine modifier keys independent of mouse movement.

    if (e.altKey) {
      // Reset the center.
      if (!centerX && !centerY) {
        centerX = innerWidth / 2;
        centerY = innerHeight / 2;
      }

      // Lock the center with the first finger.
      if (e.shiftKey) {
        centerX += changeX;
        centerY += changeY;
      }

      var secondX = centerX + (centerX - e.clientX);
      var secondY = centerY + (centerY - e.clientY);

      fingers[1].move(secondX, secondY);
    } else {
      // Disengage the second finger.
      fingers[1].move(NaN, NaN);

      // Reset the center next time the alt key is held.
      centerX = NaN;
      centerY = NaN;
    }
  }
919044
public ItemTransformComponent firstPerson(Matrix4f left, Matrix4f right)
	{
		this.firstPersonLeftHand = left;
		this.firstPersonRightHand = right;
		return this;
	}
772018
def forward(self, speed=1):
        
        self.left_motor.forward(speed)
        self.right_motor.forward(speed)
146953
def onRightUp(self, event=None):
        
        if event is None:
            return
        self.cursor_mode_action('rightup', event=event)
        self.ForwardEvent(event=event.guiEvent)