Tabnine Logo
Pose3DBasics.set
Code IndexAdd Tabnine to your IDE (free)

How to use
set
method
in
us.ihmc.euclid.geometry.interfaces.Pose3DBasics

Best Java code snippets using us.ihmc.euclid.geometry.interfaces.Pose3DBasics.set (Showing top 9 results out of 315)

origin: us.ihmc/euclid-geometry

/**
* Sets this pose 3D to the {@code other} pose 3D.
*
* @param other the other pose 3D. Not modified.
*/
@Override
public void set(Pose3D other)
{
 Pose3DBasics.super.set(other);
}
origin: us.ihmc/euclid-shape

/**
* Packs the pose of this shape into the given {@code poseToPack}.
*
* @param poseToPack the pose in which the position and orientation of this shape are stored.
*           Modified.
*/
public final void getPose(Pose3DBasics poseToPack)
{
 poseToPack.set(shapePose);
}
origin: us.ihmc/euclid-frame

/**
* Sets this frame pose 3D to the {@code other} frame pose 3D.
*
* @param other the other frame pose 3D. Not modified.
* @throws ReferenceFrameMismatchException if {@code this} and {@code other} are not expressed in
*            the same reference frame.
*/
default void set(FramePose3DReadOnly other)
{
 checkReferenceFrameMatch(other);
 Pose3DBasics.super.set(other);
}
origin: us.ihmc/euclid-frame

/**
* Sets this frame pose 3D to the represent the same pose as the given {@code framePose2DReadOnly}.
*
* @param framePose2DReadOnly the other frame pose 2D. Not modified.
* @throws ReferenceFrameMismatchException if {@code this} and {@code framePose2DReadOnly} are not
*            expressed in the same reference frame.
*/
default void set(FramePose2DReadOnly framePose2DReadOnly)
{
 checkReferenceFrameMatch(framePose2DReadOnly);
 Pose3DBasics.super.set(framePose2DReadOnly);
}
origin: us.ihmc/euclid-frame

/**
* Sets both position and orientation.
*
* @param position the tuple with the new position coordinates. Not modified.
* @param orientation the new orientation. Not modified.
* @throws ReferenceFrameMismatchException if {@code this} and {@code position} are not expressed in
*            the same reference frame.
*/
default void set(FrameTuple3DReadOnly position, Orientation3DReadOnly orientation)
{
 checkReferenceFrameMatch(position);
 Pose3DBasics.super.set(position, orientation);
}
origin: us.ihmc/euclid-frame

/**
* Sets both position and orientation.
*
* @param position the tuple with the new position coordinates. Not modified.
* @param orientation the new orientation. Not modified.
* @throws ReferenceFrameMismatchException if {@code this} and {@code orientation} are not expressed
*            in the same reference frame.
*/
default void set(Tuple3DReadOnly position, FrameOrientation3DReadOnly orientation)
{
 checkReferenceFrameMatch(orientation);
 Pose3DBasics.super.set(position, orientation);
}
origin: us.ihmc/euclid-frame

/**
* Sets both position and orientation.
*
* @param position the tuple with the new position coordinates. Not modified.
* @param orientation the new orientation. Not modified.
* @throws ReferenceFrameMismatchException if {@code this}, {@code position}, and
*            {@code orientation} are not expressed in the same reference frame.
*/
default void set(FrameTuple3DReadOnly position, FrameOrientation3DReadOnly orientation)
{
 checkReferenceFrameMatch(position);
 checkReferenceFrameMatch(orientation);
 Pose3DBasics.super.set(position, orientation);
}
origin: us.ihmc/euclid-frame

/**
* Sets this pose 3D to be the same as the given one expressed in the reference frame of this.
* <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} and then transformed to be expressed in {@code this.getReferenceFrame()}.
* </p>
*
* @param other the other frame pose 3D to set this to. Not modified.
*/
default void setMatchingFrame(FramePose3DReadOnly other)
{
 Pose3DBasics.super.set(other);
 other.getReferenceFrame().transformFromThisToDesiredFrame(getReferenceFrame(), this);
}
origin: us.ihmc/ihmc-avatar-interfaces-test

private void getFloatingJointStateFromSCS()
{
  FloatingJoint scsJoint = (FloatingJoint) robot.getRootJoints().get(0);
  RigidBodyTransform jointTransform3D = scsJoint.getJointTransform3D();
  floatingJoint.getJointPose().set(jointTransform3D);
  floatingJoint.getFrameAfterJoint().update();
  FrameVector3D linearVelocity = new FrameVector3D();
  scsJoint.getVelocity(linearVelocity);
  linearVelocity.changeFrame(floatingJoint.getFrameAfterJoint());
  floatingJoint.getJointTwist().set(scsJoint.getAngularVelocityInBody(), linearVelocity);
}
us.ihmc.euclid.geometry.interfacesPose3DBasicsset

Javadoc

Sets all the components of this pose 3D.

WARNING: the Euler angles or yaw-pitch-roll representation is sensitive to gimbal lock and is sometimes undefined.

Popular methods of Pose3DBasics

  • getOrientation
  • getPosition
  • setPosition
    Sets the position to the given tuple.
  • setOrientationYawPitchRoll
    Sets the orientation part of this pose 3D with the given yaw, pitch, and roll angles. WARNING: the E
  • setOrientation
    Sets the orientation part of this pose 3D with the given orientation.
  • appendTranslation
    Rotates, then adds the given translation to this pose 3D. Use this method if the translation is expr
  • getZ
  • prependTranslation
    Adds the given translation to this pose 3D assuming it is expressed in the coordinates in which this
  • appendRotation
    Appends the given orientation to this pose 3D. Only the orientation part of this pose is affected by
  • applyTransform
    Transforms the position and orientation parts of this pose 3D by the given transform.
  • epsilonEquals
  • geometricallyEquals
  • epsilonEquals,
  • geometricallyEquals,
  • getX,
  • getY,
  • interpolate,
  • prependRotation,
  • setToZero

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now