Tabnine Logo
us.ihmc.humanoidRobotics.footstep
Code IndexAdd Tabnine to your IDE (free)

How to use us.ihmc.humanoidRobotics.footstep

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

origin: us.ihmc/ihmc-humanoid-robotics

  public static FootstepTiming[] createTimings(int numberOfTimings)
  {
   FootstepTiming[] timings = new FootstepTiming[numberOfTimings];
   for (int i = 0; i < numberOfTimings; i++)
   {
     timings[i] = new FootstepTiming();
   }
   return timings;
  }
}
origin: us.ihmc/IHMCHumanoidRobotics

public Footstep(RigidBody endEffector, RobotSide robotSide, ReferenceFrame soleFrame, PoseReferenceFrame poseReferenceFrame, boolean trustHeight,
        List<Point2d> predictedContactPoints)
{
 this(createAutomaticID(endEffector), endEffector, robotSide, soleFrame, poseReferenceFrame, trustHeight, predictedContactPoints, TrajectoryType.DEFAULT,
    0.0);
}
origin: us.ihmc/ihmc-humanoid-robotics

public static Footstep[] createFootsteps(int numberOfSteps)
{
 Footstep[] footsteps = new Footstep[numberOfSteps];
 for (int i = 0; i < numberOfSteps; i++)
 {
   footsteps[i] = new Footstep();
 }
 return footsteps;
}
origin: us.ihmc/ihmc-simulation-toolkit-test

private void assertStepSide(String message, Footstep footstep, RobotSide expectedSide)
{
 if (expectedSide != null)
   assertTrue(message + " first step should be " + expectedSide, expectedSide == footstep.getRobotSide());
}
origin: us.ihmc/IHMCHumanoidRobotics

  public void visualizeFootstep(Footstep footstep, ContactablePlaneBody bipedFoot)
  {
   RobotSide robotSide = footstep.getRobotSide();
   int index = indices.get(robotSide);

   SingleFootstepVisualizer singleFootstepVisualizer = singleFootstepVisualizers.get(robotSide).get(index);

   singleFootstepVisualizer.visualizeFootstep(footstep, bipedFoot);
   index++;

   if (index >= singleFootstepVisualizers.get(robotSide).size())
   {
     index = 0;
   }

   indices.set(robotSide, index);
  }
}
origin: us.ihmc/ihmc-simulation-toolkit-test

private void testAPoint(boolean assertPositionConditions, boolean assertPointConditions) throws InsufficientDataException
{
  FootSpoof footSpoof = new FootSpoof("footSpoof");
  testAPoint(assertPositionConditions, assertPointConditions, footSpoof);
}
origin: us.ihmc/IHMCHumanoidRobotics

public FootstepTiming(double swingTime, double transferTime)
{
 setTimings(swingTime, transferTime);
}
origin: us.ihmc/ihmc-humanoid-robotics

public void setPositionChangeOnlyXY(FramePoint2DReadOnly position2d)
{
 position2d.checkReferenceFrameMatch(footstepPose);
 setX(position2d.getX());
 setY(position2d.getY());
}
origin: us.ihmc/CommonWalkingControlModules

public void setCurrentDesiredFootstep(Footstep currentDesiredFootstep)
{
 this.currentDesiredFootstep.setPose(currentDesiredFootstep);
}
origin: us.ihmc/ihmc-humanoid-robotics

public static FramePoint3D getCenterOfFootstep(Footstep footstep)
{
 return getCenterOfFootstep(footstep, RobotSide.LEFT, 0.0, 0.0);
}
origin: us.ihmc/IHMCSimulationToolkit

public void visualizeInitialFootsteps(SideDependentList<? extends ContactablePlaneBody> bipedFeet, SideDependentList<Footstep> initialFeet)
{
 bagOfSingleFootstepVisualizers.visualizeFootstep(initialFeet.get(RobotSide.LEFT), bipedFeet.get(RobotSide.LEFT));
 bagOfSingleFootstepVisualizers.visualizeFootstep(initialFeet.get(RobotSide.RIGHT), bipedFeet.get(RobotSide.RIGHT));
}
origin: us.ihmc/DarpaRoboticsChallenge

private boolean betterThanType(Footstep.FootstepType type, Footstep.FootstepType typeToCompareAgainst)
{
 return type.ordinal() <= typeToCompareAgainst.ordinal();
}
origin: us.ihmc/CommonWalkingControlModules

public boolean isNextFootstepFor(RobotSide swingSide)
{
 if (!hasUpcomingFootsteps())
   return false;
 else
   return peek(0).getRobotSide() == swingSide;
}
origin: us.ihmc/ihmc-humanoid-behaviors

public FootstepTask(FullHumanoidRobotModel fullRobotModel, RobotSide robotSide, FootstepListBehavior footstepListBehavior, FramePose3D footPose)
{
 super(footstepListBehavior);
 footsteps.add(new Footstep(robotSide, footPose));
 this.footstepListBehavior = footstepListBehavior;
}
origin: us.ihmc/ihmc-humanoid-robotics

public FootstepTiming(double swingTime, double touchdownTime, double transferTime)
{
 setTimings(swingTime, touchdownTime, transferTime);
}
origin: us.ihmc/IHMCHumanoidRobotics

public static FramePoint getCenterOfFootstep(Footstep footstep)
{
 return getCenterOfFootstep(footstep, RobotSide.LEFT, 0.0, 0.0);
}
origin: us.ihmc/IHMCHumanoidRobotics

public Footstep(RigidBody endEffector, RobotSide robotSide, ReferenceFrame soleFrame, PoseReferenceFrame poseReferenceFrame)
{
 this(createAutomaticID(endEffector), endEffector, robotSide, soleFrame, poseReferenceFrame, true);
}
origin: us.ihmc/ihmc-humanoid-robotics

public static Footstep generateStandingFootstep(RobotSide side, RigidBodyBasics foot, ReferenceFrame soleFrame)
{
 FramePose3D footFramePose = new FramePose3D(soleFrame);
 footFramePose.changeFrame(worldFrame);
 boolean trustHeight = false;
 Footstep footstep = new Footstep(side, footFramePose, trustHeight);
 return footstep;
}
origin: us.ihmc/ihmc-humanoid-robotics

public FootstepTiming(double swingTime, double transferTime)
{
 setTimings(swingTime, transferTime);
}
origin: us.ihmc/IHMCHumanoidRobotics

public Footstep(RigidBody endEffector, RobotSide robotSide, ReferenceFrame soleFrame, PoseReferenceFrame poseReferenceFrame, boolean trustHeight)
{
 this(createAutomaticID(endEffector), endEffector, robotSide, soleFrame, poseReferenceFrame, trustHeight);
}
us.ihmc.humanoidRobotics.footstep

Most used classes

  • Footstep
  • FootSpoof
    USE ONLY FOR TEST!
  • SimplePathParameters
  • TurningThenStraightFootstepGenerator
  • ConvexHullFootstepSnapper
    Created by agrabertilton on 1/14/15.
  • TurnStraightTurnFootstepGenerator,
  • FootstepTiming,
  • TurnInPlaceFootstepGenerator,
  • BasicFootstepMask,
  • SimpleFootstepSnapper,
  • FootstepUtils,
  • AbstractFootstepGenerator,
  • FootstepOverheadPath,
  • TranslationFootstepGenerator,
  • TurnTranslateTurnFootstepGenerator,
  • TwoSegmentFootstepGenerator,
  • StraightLineOverheadPath,
  • TurnStraightTurnOverheadPath,
  • TurnThenStraightOverheadPath
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