Codota Logo
Quaternion.getYawPitchRoll
Code IndexAdd Codota to your IDE (free)

How to use
getYawPitchRoll
method
in
us.ihmc.euclid.tuple4D.Quaternion

Best Java code snippets using us.ihmc.euclid.tuple4D.Quaternion.getYawPitchRoll (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: us.ihmc/euclid-test

  @Test
  public void testSingularitiesYawPitchRoll() throws Exception
  {
   Quaternion quaternion = new Quaternion();
   quaternion.setYawPitchRoll(0.5 * Math.PI, 0.0, 1e-9 - 0.5 * Math.PI);
   double[] yawPitchRoll = new double[3];
   quaternion.getYawPitchRoll(yawPitchRoll);
  }
}
origin: us.ihmc/ihmc-robotics-toolkit-test

@ContinuousIntegrationTest(estimatedDuration = 0.0)
@Test(timeout = 30000)
public void testQuaternionStuff()
{
 Quaternion q = new Quaternion();
 int nTests = 100;
 for (int i = 0; i < nTests; i++)
 {
   double pi = Math.PI;
   double yaw = (random.nextDouble() - 0.5) * 2.0 * pi;
   double pitch = (random.nextDouble() - 0.5) * 0.5 * pi;
   double roll = (random.nextDouble() - 0.5) * 2.0 * pi;
   double[] yawPitchRoll = {yaw, pitch, roll};
   q.setYawPitchRoll(yaw, pitch, roll);
   double[] yawPitchRollBack = new double[3];
   q.getYawPitchRoll(yawPitchRollBack);
   double epsilon = 1e-8;
   localAssertArrayEquals(yawPitchRoll, yawPitchRollBack, epsilon);
 }
}
us.ihmc.euclid.tuple4DQuaterniongetYawPitchRoll

Popular methods of Quaternion

  • <init>
  • set
  • getS
  • getX
  • getY
  • getZ
  • multiply
  • setYawPitchRoll
  • getYaw
  • applyTransform
  • epsilonEquals
  • transform
  • epsilonEquals,
  • transform,
  • appendRollRotation,
  • equals,
  • get,
  • interpolate,
  • multiplyConjugateOther,
  • normalize,
  • setRotationVector,
  • appendPitchRotation

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now