Tabnine Logo
Footstep.getZ
Code IndexAdd Tabnine to your IDE (free)

How to use
getZ
method
in
us.ihmc.humanoidRobotics.footstep.Footstep

Best Java code snippets using us.ihmc.humanoidRobotics.footstep.Footstep.getZ (Showing top 5 results out of 315)

origin: us.ihmc/ihmc-simulation-toolkit-test

private void assertAllStepsLevelAndZeroHeight(String message, ArrayList<Footstep> footSteps, double zToAnkle)
{
 double eps = 1e-15;
 for (Footstep footstep : footSteps)
 {
   assertEquals(message + " foot should be level and zero height.", 0.0, footstep.getZ(), eps);
 }
}
origin: us.ihmc/IHMCHumanoidRobotics

@Override
public Footstep generateSnappedFootstep(double soleX, double soleY, double yaw, RigidBody foot, ReferenceFrame soleFrame, RobotSide robotSide,
    HeightMapWithPoints heightMap)
    throws InsufficientDataException
{
 FramePose2d footPose2d = new FramePose2d(ReferenceFrame.getWorldFrame(), new Point2d(soleX, soleY), yaw);
 Footstep footstep = generateFootstepUsingHeightMap(footPose2d, foot, soleFrame, robotSide, heightMap);
 double z = footstep.getZ();
 if (Double.isInfinite(z) || Double.isNaN(z))
 {
   System.out.println("Houston, we have a problem in the SimpleFootstepSnapper");
 }
 return footstep;
}
origin: us.ihmc/ihmc-humanoid-robotics

@Override
public Footstep generateSnappedFootstep(double soleX, double soleY, double yaw, RigidBodyBasics foot, ReferenceFrame soleFrame, RobotSide robotSide,
    HeightMapWithPoints heightMap)
    throws InsufficientDataException
{
 FramePose2D footPose2d = new FramePose2D(ReferenceFrame.getWorldFrame(), new Point2D(soleX, soleY), yaw);
 Footstep footstep = generateFootstepUsingHeightMap(footPose2d, foot, soleFrame, robotSide, heightMap);
 double z = footstep.getZ();
 if (Double.isInfinite(z) || Double.isNaN(z))
 {
   System.out.println("Houston, we have a problem in the SimpleFootstepSnapper");
 }
 return footstep;
}
origin: us.ihmc/IHMCHumanoidBehaviors

public void set(ArrayList<Footstep> footsteps, double swingTime, double transferTime)
{
 FootstepDataListMessage footstepDataList = new FootstepDataListMessage(swingTime,transferTime);
 for (int i = 0; i < footsteps.size(); i++)
 {
   Footstep footstep = footsteps.get(i);
   Point3d location = new Point3d(footstep.getX(), footstep.getY(), footstep.getZ());
   Quat4d orientation = new Quat4d();
   footstep.getOrientation(orientation);
   RobotSide footstepSide = footstep.getRobotSide();
   FootstepDataMessage footstepData = new FootstepDataMessage(footstepSide, location, orientation);
   footstepDataList.add(footstepData);
 }
 set(footstepDataList);
}
origin: us.ihmc/ihmc-common-walking-control-modules-test

 transferToFootstep.setZ(transferToFootstep.getZ() + RandomNumbers.nextDouble(random, 0.0, maxZChange));
previousFootstep = transferToFootstep;
us.ihmc.humanoidRobotics.footstepFootstepgetZ

Popular methods of Footstep

  • getRobotSide
  • <init>
  • getPose
  • getSoleReferenceFrame
  • getPredictedContactPoints
  • getPosition
  • getSolePose
  • setSwingHeight
  • setTrajectoryType
  • setZ
  • getFootstepPose
  • getFootstepType
  • getFootstepPose,
  • getFootstepType,
  • getSwingHeight,
  • getTrajectoryType,
  • setPose,
  • getBody,
  • getCustomPositionWaypoints,
  • getOrientation,
  • getOrientationInWorldFrame

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • CodeWhisperer alternatives
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