Tabnine Logo
InverseDynamicsJoint.getSuccessorAcceleration
Code IndexAdd Tabnine to your IDE (free)

How to use
getSuccessorAcceleration
method
in
us.ihmc.robotics.screwTheory.InverseDynamicsJoint

Best Java code snippets using us.ihmc.robotics.screwTheory.InverseDynamicsJoint.getSuccessorAcceleration (Showing top 1 results out of 315)

origin: us.ihmc/IHMCRoboticsToolkit

private void computeSuccessorAcceleration(InverseDynamicsJoint joint)
{
 RigidBody predecessor = joint.getPredecessor();
 RigidBody successor = joint.getSuccessor();
 ReferenceFrame successorFrame = successor.getBodyFixedFrame();
 joint.getPredecessorTwist(tempJointTwist);
 if (!doVelocityTerms)
   tempJointTwist.setToZero();
 if (useDesireds)
   joint.getDesiredSuccessorAcceleration(tempJointAcceleration);
 else
   joint.getSuccessorAcceleration(tempJointAcceleration);
 if (!doAccelerationTerms)
   tempJointAcceleration.setToZero();
 twistCalculator.getTwistOfBody(tempTwistFromWorld, predecessor);
 if (!doVelocityTerms)
   tempTwistFromWorld.setToZero();
 SpatialAccelerationVector successorAcceleration = accelerations.get(successor);
 successorAcceleration.set(accelerations.get(predecessor));
 successorAcceleration.changeFrame(successorFrame, tempJointTwist, tempTwistFromWorld);
 successorAcceleration.add(tempJointAcceleration);
}
us.ihmc.robotics.screwTheoryInverseDynamicsJointgetSuccessorAcceleration

Javadoc

Packs the SpatialAccelerationVector (the 3D angular and linear accelerations) of this joint's successor with respect to this joint's predecessor. The reference frames of the resulting SpatialAccelerationVector are as follows:
  • bodyFrame is successorFrame == successor.getBodyFixedFrame().
  • baseFrame is predecessorFrame == predecessor.getBodyFixedFrame().
  • expressedInFrame is successorFrame.

Popular methods of InverseDynamicsJoint

  • getFrameAfterJoint
  • getName
    Returns the reference to the name of this joint.
  • getSuccessor
    Returns the RigidBody that succeeds this joint. In other words, the RigidBody directly connected to
  • getPredecessor
    Returns the RigidBody that precedes this joint. In other words, the RigidBody directly connected to
  • getConfigurationMatrix
    Packs this joint's configuration into a column vector DenseMatrix64F. Here are a few examples: * Fo
  • getDegreesOfFreedom
    Returns the number of degrees of freedom that this joint has.
  • getFrameBeforeJoint
    Returns the the ReferenceFrame that is attached to the predecessor of this joint, namely the RigidBo
  • setConfiguration
    Sets the joint current configuration from the given column vector DenseMatrix64F. Here are a few exa
  • calculateJointDesiredChecksum
  • calculateJointStateChecksum
  • getConfigurationMatrixSize
    In most cases, this is the same as #getDegreesOfFreedom(). However, for SixDoFJoint and SphericalJoi
  • getDesiredAccelerationMatrix
    Packs this joint desired acceleration into a column vector DenseMatrix64F. Here are a few examples:
  • getConfigurationMatrixSize,
  • getDesiredAccelerationMatrix,
  • getDesiredSuccessorAcceleration,
  • getMotionSubspace,
  • getPredecessorTwist,
  • getSuccessorTwist,
  • getTauMatrix,
  • getVelocityMatrix,
  • setDesiredAcceleration

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Top Vim 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