public void setInitialConditions(FramePoint3DReadOnly initialPosition) { this.initialPosition.setMatchingFrame(initialPosition); }
public void setFinalConditions(FramePoint3DReadOnly finalPosition, FrameVector3DReadOnly finalVelocity) { this.finalPosition.setMatchingFrame(finalPosition); this.finalVelocity.setMatchingFrame(finalVelocity); }
public void setInitialConditions(FramePoint3D initialPosition, FrameVector3D initialVelocity) { this.initialPosition.setMatchingFrame(initialPosition); this.initialVelocity.setMatchingFrame(initialVelocity); }
@Override public void notifyOfVariableChange(YoVariable<?> v) { localFramePoint.setIncludingFrame(YoFramePointInMultipleFrames.this); point.setMatchingFrame(localFramePoint); } });
public void setFinalConditions(FramePoint3D finalPosition, FrameVector3D finalVelocity) { this.finalPosition.setMatchingFrame(finalPosition); this.finalVelocity.setMatchingFrame(finalVelocity); }
public void setMatchingFrame(FramePoint3DReadOnly framePoint, FrameQuaternionReadOnly frameOrientation) { position.setMatchingFrame(framePoint); orientation.setMatchingFrame(frameOrientation); }
/** * Sets this frame pose to {@code other}. * <p> * If the arguments are expressed in the frame as {@code this}, then this method is equivalent to * {@link #set(FrameTuple3DReadOnly, FrameQuaternionReadOnly)}. * </p> * <p> * If the arguments are expressed in a different frame than {@code this}, then {@code this} is * set to {@code position} and {@code orientation} once transformed to be expressed in * {@code this.getReferenceFrame()}. * </p> * * @param position the frame point used to set this position to. Not modified. * @param orientation the frame quaternion to set this orientation to. Not modified. */ public void setMatchingFrame(FramePoint3DReadOnly position, FrameQuaternionReadOnly orientation) { this.position.setMatchingFrame(position); this.orientation.setMatchingFrame(orientation); }
public void setMatchingFrame(FramePose3DReadOnly framePose) { position.setMatchingFrame(framePose.getPosition()); orientation.setMatchingFrame(framePose.getOrientation()); }
public void setPose(FramePose3D pose) { this.position.setMatchingFrame(pose.getPosition()); this.orientation.setMatchingFrame(pose.getOrientation()); } }
public void setDesiredHandPose(RobotSide robotSide, FramePoint3D desiredHandPosition, FrameQuaternion desiredHandOrientation) { yoDesiredHandPositions.get(robotSide).setMatchingFrame(desiredHandPosition); yoDesiredHandOrientations.get(robotSide).setMatchingFrame(desiredHandOrientation); }
public void setDesiredPelvisHeight(FramePoint3D pointContainingDesiredHeight) { yoDesiredPelvisPosition.setMatchingFrame(pointContainingDesiredHeight); pelvisSelectionMatrix.clearLinearSelection(); pelvisSelectionMatrix.selectLinearZ(true); pelvisSelectionMatrix.setSelectionFrame(worldFrame); }
/** * Sets this frame pose to {@code other}. * <p> * If {@code other} is expressed in the frame as {@code this}, then this method is equivalent to * {@link #set(FramePose3DReadOnly)}. * </p> * <p> * If {@code other} is expressed in a different frame than {@code this}, then {@code this} is set * to {@code other} once transformed to be expressed in {@code this.getReferenceFrame()}. * </p> * * @param other the other frame pose to set this to. Not modified. */ public void setMatchingFrame(FramePose3DReadOnly other) { position.setMatchingFrame(other.getPosition()); orientation.setMatchingFrame(other.getOrientation()); }