congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AlphaFilteredYoFrameVector.getX
Code IndexAdd Tabnine to your IDE (free)

How to use
getX
method
in
us.ihmc.robotics.math.filters.AlphaFilteredYoFrameVector

Best Java code snippets using us.ihmc.robotics.math.filters.AlphaFilteredYoFrameVector.getX (Showing top 2 results out of 315)

origin: us.ihmc/ihmc-whole-body-controller

private void printFootSensorsOffset()
{
 java.text.NumberFormat doubleFormat = new java.text.DecimalFormat(" 0.00;-0.00");
 String offsetString = "";
 DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss");
 Calendar calendar = Calendar.getInstance();
 String timestamp = dateFormat.format(calendar.getTime());
 offsetString += "Copy the following in ValkyrieSensorInformation:\n";
 for (RobotSide robotSide : RobotSide.values)
 {
   String side = robotSide.getCamelCaseNameForStartOfExpression();
   offsetString += "      SpatialForceVector " + side + "FootForceSensorTareOffset_" + timestamp + " = new SpatialForceVector(null, new double[] {";
   offsetString += doubleFormat.format(footTorquesRawFiltered.get(robotSide).getX()) + ", ";
   offsetString += doubleFormat.format(footTorquesRawFiltered.get(robotSide).getY()) + ", ";
   offsetString += doubleFormat.format(footTorquesRawFiltered.get(robotSide).getZ()) + ", ";
   offsetString += doubleFormat.format(footForcesRawFiltered.get(robotSide).getX()) + ", ";
   offsetString += doubleFormat.format(footForcesRawFiltered.get(robotSide).getY()) + ", ";
   offsetString += doubleFormat.format(footForcesRawFiltered.get(robotSide).getZ()) + "});\n";
 }
 offsetString += "\n      footForceSensorTareOffsets = new SideDependentList<SpatialForceVector>(leftFootForceSensorTareOffset_" + timestamp
    + ", rightFootForceSensorTareOffset_" + timestamp + ");";
 System.out.println(offsetString);
}
origin: us.ihmc/IHMCWholeBodyController

private void printFootSensorsOffset()
{
 java.text.NumberFormat doubleFormat = new java.text.DecimalFormat(" 0.00;-0.00");
 String offsetString = "";
 DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss");
 Calendar calendar = Calendar.getInstance();
 String timestamp = dateFormat.format(calendar.getTime());
 offsetString += "Copy the following in ValkyrieSensorInformation:\n";
 for (RobotSide robotSide : RobotSide.values)
 {
   String side = robotSide.getCamelCaseNameForStartOfExpression();
   offsetString += "      SpatialForceVector " + side + "FootForceSensorTareOffset_" + timestamp + " = new SpatialForceVector(null, new double[] {";
   offsetString += doubleFormat.format(footTorquesRawFiltered.get(robotSide).getX()) + ", ";
   offsetString += doubleFormat.format(footTorquesRawFiltered.get(robotSide).getY()) + ", ";
   offsetString += doubleFormat.format(footTorquesRawFiltered.get(robotSide).getZ()) + ", ";
   offsetString += doubleFormat.format(footForcesRawFiltered.get(robotSide).getX()) + ", ";
   offsetString += doubleFormat.format(footForcesRawFiltered.get(robotSide).getY()) + ", ";
   offsetString += doubleFormat.format(footForcesRawFiltered.get(robotSide).getZ()) + "});\n";
 }
 offsetString += "\n      footForceSensorTareOffsets = new SideDependentList<SpatialForceVector>(leftFootForceSensorTareOffset_" + timestamp
    + ", rightFootForceSensorTareOffset_" + timestamp + ");";
 System.out.println(offsetString);
}
us.ihmc.robotics.math.filtersAlphaFilteredYoFrameVectorgetX

Popular methods of AlphaFilteredYoFrameVector

  • update
  • createAlphaFilteredYoFrameVector
  • <init>
  • checkReferenceFrameMatch
  • getFrameTuple
  • getFrameTupleIncludingFrame
  • getY
  • getZ
  • get
  • interpolate
  • reset
  • set
  • reset,
  • set,
  • setToZero

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JPanel (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top plugins for Android Studio
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