Tabnine Logo
FrameVector.getVector
Code IndexAdd Tabnine to your IDE (free)

How to use
getVector
method
in
us.ihmc.robotics.geometry.FrameVector

Best Java code snippets using us.ihmc.robotics.geometry.FrameVector.getVector (Showing top 20 results out of 315)

origin: us.ihmc/IHMCRoboticsToolkit

@Override
public void setVector(VectorInterface vectorInterface)
{
 vectorInterface.getVector(this.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void cross(FrameVector vector1, FrameVector vector2)
{
 getFrameTuple().cross(vector1.getVector(), vector2.getVector());
 getYoValuesFromFrameTuple();
}
origin: us.ihmc/IHMCRoboticsToolkit

/**
* Packs a version of the linear velocity, rotated to the base frame.
*/
public void getBodyOriginLinearPartInBaseFrame(FrameVector linearVelocityAtBodyOriginToPack)
{
 linearVelocityAtBodyOriginToPack.setToZero(baseFrame);
 getBodyOriginLinearPartInBaseFrame(linearVelocityAtBodyOriginToPack.getVector());
}
origin: us.ihmc/SensorProcessing

public void correctState(DenseMatrix64F correction)
{
 MatrixTools.extractTuple3dFromEJMLVector(centerOfMassPositionDelta.getVector(), correction, 0);
 updateCenterOfMassPosition(centerOfMassPositionDelta);
}
origin: us.ihmc/CommonWalkingControlModules

public void convertToTwist(FrameVector linearVelocityOfOrigin, FrameVector angularVelocity, RigidBody base, Twist twistToPack)
{
 angularVelocity.changeFrame(endEffectorFrame);
 linearVelocityOfOrigin.changeFrame(endEffectorFrame);
 twistToPack.set(endEffectorFrame, base.getBodyFixedFrame(), endEffectorFrame, linearVelocityOfOrigin.getVector(), angularVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void setAngularVelocity(FrameVector angularVelocity)
{
 checkReferenceFrameMatch(angularVelocity);
 geometryObject.setAngularVelocity(angularVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void getLinearVelocity(FrameVector linearVelocityToPack)
{
 checkReferenceFrameMatch(linearVelocityToPack);
 geometryObject.getLinearVelocity(linearVelocityToPack.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void getLinearVelocity(FrameVector linearVelocityToPack)
{
 checkReferenceFrameMatch(linearVelocityToPack);
 geometryObject.getLinearVelocity(linearVelocityToPack.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void getLinearVelocityIncludingFrame(FrameVector linearVelocityToPack)
{
 linearVelocityToPack.setToZero(getReferenceFrame());
 geometryObject.getLinearVelocity(linearVelocityToPack.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

/**
* Sets the linear velocity part of the spatial motion vector
*/
public void setLinearPart(FrameVector newLinearVelocity)
{
 expressedInFrame.checkReferenceFrameMatch(newLinearVelocity.getReferenceFrame());
 linearPart.set(newLinearVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void setIncludingFrame(FramePoint position, FrameOrientation orientation, FrameVector linearVelocity, FrameVector angularVelocity)
{
 position.checkReferenceFrameMatch(orientation);
 position.checkReferenceFrameMatch(linearVelocity);
 position.checkReferenceFrameMatch(angularVelocity);
 setToZero(position.getReferenceFrame());
 geometryObject.set(position.getPoint(), orientation.getQuaternion(), linearVelocity.getVector(), angularVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void setIncludingFrame(double time, FramePoint position, FrameOrientation orientation, FrameVector linearVelocity, FrameVector angularVelocity)
{
 position.checkReferenceFrameMatch(orientation);
 position.checkReferenceFrameMatch(linearVelocity);
 position.checkReferenceFrameMatch(angularVelocity);
 setToZero(position.getReferenceFrame());
 geometryObject.set(time, position.getPoint(), orientation.getQuaternion(), linearVelocity.getVector(), angularVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void set(double time, FrameOrientation orientation, FrameVector angularVelocity)
{
 checkReferenceFrameMatch(orientation);
 checkReferenceFrameMatch(angularVelocity);
 geometryObject.set(time, orientation.getQuaternion(), angularVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void set(FrameOrientation orientation, FrameVector angularVelocity)
{
 checkReferenceFrameMatch(orientation);
 checkReferenceFrameMatch(angularVelocity);
 geometryObject.set(orientation.getQuaternion(), angularVelocity.getVector());
}
origin: us.ihmc/SensorProcessing

private void computeRootJointAcceleration(FloatingInverseDynamicsJoint rootJoint, SpatialAccelerationVector rootJointAcceleration, FrameVector rootJointAngularAcceleration,
    FrameVector rootJointLinearAcceleration)
{
 rootJointAngularAcceleration.checkReferenceFrameMatch(rootJoint.getFrameAfterJoint());
 rootJointLinearAcceleration.checkReferenceFrameMatch(rootJoint.getFrameAfterJoint());
 rootJointAcceleration.set(rootJoint.getFrameAfterJoint(), rootJoint.getFrameBeforeJoint(), rootJoint.getFrameAfterJoint(),
              rootJointLinearAcceleration.getVector(), rootJointAngularAcceleration.getVector());
}
origin: us.ihmc/CommonWalkingControlModules

public void setAngularVelocity(ReferenceFrame bodyFrame, ReferenceFrame baseFrame, FrameVector desiredAngularVelocity)
{
 spatialVelocity.setToZero(bodyFrame, baseFrame, desiredAngularVelocity.getReferenceFrame());
 spatialVelocity.setAngularPart(desiredAngularVelocity.getVector());
 setSelectionMatrixForAngularControl();
}
origin: us.ihmc/IHMCRoboticsToolkit

public void set(FramePoint position, FrameVector linearVelocity)
{
 checkReferenceFrameMatch(position);
 checkReferenceFrameMatch(linearVelocity);
 geometryObject.set(position.getPoint(), linearVelocity.getVector());
}
origin: us.ihmc/IHMCRoboticsToolkit

public void setIncludingFrame(FrameOrientation orientation, FrameVector angularVelocity)
{
 orientation.checkReferenceFrameMatch(angularVelocity);
 setToZero(orientation.getReferenceFrame());
 geometryObject.set(orientation.getQuaternion(), angularVelocity.getVector());
}
origin: us.ihmc/CommonWalkingControlModules

private void computeNormalContactVectorRotation(Matrix3d normalContactVectorRotationMatrixToPack)
{
 yoPlaneContactState.getContactNormalFrameVector(contactNormalVector);
 contactNormalVector.changeFrame(planeFrame);
 contactNormalVector.normalize();
 GeometryTools.getAxisAngleFromZUpToVector(contactNormalVector.getVector(), normalContactVectorRotation);
 normalContactVectorRotationMatrixToPack.set(normalContactVectorRotation);
}
origin: us.ihmc/IHMCRoboticsToolkit

public void setIncludingFrame(double time, FramePoint position, FrameVector linearVelocity)
{
 position.checkReferenceFrameMatch(linearVelocity);
 setToZero(position.getReferenceFrame());
 geometryObject.set(time, position.getPoint(), linearVelocity.getVector());
}
us.ihmc.robotics.geometryFrameVectorgetVector

Javadoc

Retrieves the vector inside this FrameVector

Popular methods of FrameVector

  • <init>
    FrameVector A normal vector associated with a specific reference frame.
  • setIncludingFrame
  • set
  • setToZero
  • changeFrame
  • cross
  • sub
  • add
  • get
  • getReferenceFrame
  • getY
  • dot
  • getY,
  • dot,
  • getX,
  • getZ,
  • length,
  • scale,
  • checkReferenceFrameMatch,
  • getVectorCopy,
  • normalize

Popular in Java

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
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