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

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

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

origin: us.ihmc/IHMCHumanoidRobotics

private void getConfigurationDataFromJoints(InverseDynamicsJoint[] joints)
{
 for (int i = 0; i < joints.length; i++)
 {
   InverseDynamicsJoint joint = joints[i];
   DenseMatrix64F jointConfiguration = jointConfigurations[i];
   if (jointConfiguration == null)
   {
    jointConfiguration = new DenseMatrix64F(joint.getConfigurationMatrixSize(), 1);
    jointConfigurations[i] = jointConfiguration;
   }
   joint.getConfigurationMatrix(jointConfiguration, 0);
 }
}
origin: us.ihmc/IHMCRoboticsToolkit

public static void getJointPositions(InverseDynamicsJoint[] joints, DenseMatrix64F jointPositionsToPack)
{
 int rowStart = 0;
 for (InverseDynamicsJoint joint : joints)
 {
   joint.getConfigurationMatrix(jointPositionsToPack, rowStart);
   rowStart += joint.getDegreesOfFreedom();
   if (joint instanceof SixDoFJoint || joint instanceof SphericalJoint)
    rowStart++; // Because of stupid quaternions
 }
}
us.ihmc.robotics.screwTheoryInverseDynamicsJointgetConfigurationMatrix

Javadoc

Packs this joint's configuration into a column vector DenseMatrix64F. Here are a few examples:
  • For a RevoluteJoint, the actual joint angle is stored at the rowStartth row.
  • For a SphericalJoint, the actual joint configuration is a quaternion and is stored from the rowStartth row to the ( rowStart + 4)th row.

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
  • 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:
  • getDesiredSuccessorAcceleration
    Packs the SpatialAccelerationVector (the 3D angular and linear accelerations) of this joint's succes
  • getDesiredAccelerationMatrix,
  • getDesiredSuccessorAcceleration,
  • getMotionSubspace,
  • getPredecessorTwist,
  • getSuccessorAcceleration,
  • 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
  • Best IntelliJ 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