gpt4 book ai didi

us.ihmc.robotics.math.trajectories.YoParabolicTrajectoryGenerator.getReferenceFrame()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 07:13:31 25 4
gpt4 key购买 nike

本文整理了Java中us.ihmc.robotics.math.trajectories.YoParabolicTrajectoryGenerator.getReferenceFrame()方法的一些代码示例,展示了YoParabolicTrajectoryGenerator.getReferenceFrame()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoParabolicTrajectoryGenerator.getReferenceFrame()方法的具体详情如下:
包路径:us.ihmc.robotics.math.trajectories.YoParabolicTrajectoryGenerator
类名称:YoParabolicTrajectoryGenerator
方法名:getReferenceFrame

YoParabolicTrajectoryGenerator.getReferenceFrame介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit

public ReferenceFrame getReferenceFrame()
{
 return parabolicTrajectoryGenerator.getReferenceFrame();
}

代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit

public ReferenceFrame getReferenceFrame()
{
 return parabolicTrajectoryGenerator.getReferenceFrame();
}

代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit

public ReferenceFrame getReferenceFrame()
{
 return parabolicTrajectoryGenerator.getReferenceFrame();
}

代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit

public ReferenceFrame getReferenceFrame()
{
 return parabolicTrajectoryGenerator.getReferenceFrame();
}

代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit

public void initialize()
{
 timeIntoStep.set(0.0);
 this.stepTime.set(stepTimeProvider.getValue());
 if (stepTime.getDoubleValue() < 1e-10)
 {
   stepTime.set(1e-10);
 }
 minimumJerkTrajectory.setParams(0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, stepTime.getDoubleValue());
 double middleOfTrajectoryParameter = 0.5;
 FramePoint3D initialPosition = new FramePoint3D(ReferenceFrame.getWorldFrame());
 initialPositionProvider.getPosition(initialPosition);
 FramePoint3D finalPosition = new FramePoint3D(ReferenceFrame.getWorldFrame());
 finalPositionProvider.getPosition(finalPosition);
 initialPosition.changeFrame(parabolicTrajectoryGenerator.getReferenceFrame());
 finalPosition.changeFrame(parabolicTrajectoryGenerator.getReferenceFrame());
 double maxAnkleHeight = Math.max(initialPosition.getZ(), finalPosition.getZ());
 double apexHeight = maxAnkleHeight + groundClearance.getDoubleValue();
 parabolicTrajectoryGenerator.initialize(initialPosition, finalPosition, apexHeight, middleOfTrajectoryParameter);
}

代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit

public void initialize()
{
 timeIntoStep.set(0.0);
 this.stepTime.set(stepTimeProvider.getValue());
 if (stepTime.getDoubleValue() < 1e-10)
 {
   stepTime.set(1e-10);
 }
 minimumJerkTrajectory.setParams(0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, stepTime.getDoubleValue());
 double middleOfTrajectoryParameter = 0.5;
 FramePoint initialPosition = new FramePoint(ReferenceFrame.getWorldFrame());
 initialPositionProvider.getPosition(initialPosition);
 FramePoint finalPosition = new FramePoint(ReferenceFrame.getWorldFrame());
 finalPositionProvider.getPosition(finalPosition);
 initialPosition.changeFrame(parabolicTrajectoryGenerator.getReferenceFrame());
 finalPosition.changeFrame(parabolicTrajectoryGenerator.getReferenceFrame());
 double maxAnkleHeight = Math.max(initialPosition.getZ(), finalPosition.getZ());
 double apexHeight = maxAnkleHeight + groundClearance.getDoubleValue();
 parabolicTrajectoryGenerator.initialize(initialPosition, finalPosition, apexHeight, middleOfTrajectoryParameter);
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com