congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Vector3D32.getY
Code IndexAdd Tabnine to your IDE (free)

How to use
getY
method
in
us.ihmc.euclid.tuple3D.Vector3D32

Best Java code snippets using us.ihmc.euclid.tuple3D.Vector3D32.getY (Showing top 5 results out of 315)

origin: us.ihmc/robot-environment-awareness

private void writeHeaderFile(File header, PlanarRegionSegmentationMessage[] segmentationData) throws IOException
{
 FileWriter fileWriter = new FileWriter(header);
 for (PlanarRegionSegmentationMessage message : segmentationData)
 {
   Point3D32 origin = message.getOrigin();
   Vector3D32 normal = message.getNormal();
   fileWriter.write("regionId: ");
   fileWriter.write(Integer.toString(message.getRegionId()));
   fileWriter.write(", origin: ");
   fileWriter.write(origin.getX() + ", " + origin.getY() + ", " + origin.getZ());
   fileWriter.write(", normal: ");
   fileWriter.write(normal.getX() + ", " + normal.getY() + ", " + normal.getZ());
   fileWriter.write("\n");
 }
 fileWriter.close();
}
origin: us.ihmc/ihmc-graphics-description

if (Math.abs(lineDirection.getZ()) < 1.0 - 1.0e-7)
  yaw = (float) Math.atan2(lineDirection.getY(), lineDirection.getX());
  double xyLength = Math.sqrt(lineDirection.getX() * lineDirection.getX() + lineDirection.getY() * lineDirection.getY());
  pitch = (float) Math.atan2(xyLength, lineDirection.getZ());
origin: us.ihmc/ihmc-graphics-description

public void rotate(Matrix3DReadOnly rotationMatrix)
{
  for (Point3D32 vertex : vertices)
  {
   double x = rotationMatrix.getM00() * vertex.getX() + rotationMatrix.getM01() * vertex.getY();
   double y = rotationMatrix.getM10() * vertex.getX() + rotationMatrix.getM11() * vertex.getY();
   double z = rotationMatrix.getM20() * vertex.getX() + rotationMatrix.getM21() * vertex.getY();
   vertex.set(x, y, z);
  }
  for (Vector3D32 normal : normals)
  {
   double x = rotationMatrix.getM00() * normal.getX() + rotationMatrix.getM01() * normal.getY();
   double y = rotationMatrix.getM10() * normal.getX() + rotationMatrix.getM11() * normal.getY();
   double z = rotationMatrix.getM20() * normal.getX() + rotationMatrix.getM21() * normal.getY();
   normal.set(x, y, z);
  }
}
origin: us.ihmc/robot-environment-awareness

Point3D32 boxCenter = newMessage.getCenter();
MeshDataHolder boxMeshDataHolder = MeshDataGenerator.Cube(boxSize.getX(), boxSize.getY(), boxSize.getZ(), true);
boxMeshDataHolder = MeshDataHolder.rotate(boxMeshDataHolder, boxOrientation);
boxMeshDataHolder = MeshDataHolder.translate(boxMeshDataHolder, boxCenter);
origin: us.ihmc/ihmc-avatar-interfaces

@Override
public void receivedPacket(RobotConfigurationData packet)
{
 latestRobotConfigurationData = packet;
 FloatingJointBasics rootJoint = fullRobotModel.getRootJoint();
 TFloatArrayList newJointAngles = packet.getJointAngles();
 TFloatArrayList newJointVelocities = packet.getJointAngles();
 TFloatArrayList newJointTorques = packet.getJointTorques();
 OneDoFJointBasics[] oneDoFJoints = fullRobotModel.getOneDoFJoints();
 for (int i = 0; i < newJointAngles.size(); i++)
 {
   oneDoFJoints[i].setQ(newJointAngles.get(i));
   oneDoFJoints[i].setQd(newJointVelocities.get(i));
   oneDoFJoints[i].setTau(newJointTorques.get(i));
 }
 pelvisTranslationFromRobotConfigurationData.set(packet.getRootTranslation());
 pelvisOrientationFromRobotConfigurationData.set(packet.getRootOrientation());
 rootJoint.getJointPose().setPosition(pelvisTranslationFromRobotConfigurationData.getX(), pelvisTranslationFromRobotConfigurationData.getY(), pelvisTranslationFromRobotConfigurationData.getZ());
 rootJoint.getJointPose().getOrientation().setQuaternion(pelvisOrientationFromRobotConfigurationData.getX(), pelvisOrientationFromRobotConfigurationData.getY(), pelvisOrientationFromRobotConfigurationData.getZ(), pelvisOrientationFromRobotConfigurationData.getS());
 
 computeDriftTransform();
 rootJoint.getPredecessor().updateFramesRecursively();
 yoVariableServer.update(System.currentTimeMillis());
}
us.ihmc.euclid.tuple3DVector3D32getY

Popular methods of Vector3D32

  • <init>
  • getX32
  • getY32
  • getZ32
  • getX
  • getZ
  • normalize
  • setX
  • setY
  • setZ
  • set
  • add
  • set,
  • add,
  • applyInverseTransform,
  • applyTransform,
  • containsNaN,
  • cross,
  • epsilonEquals,
  • geometricallyEquals,
  • hashCode

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now