- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameYawPitchRoll.getYaw()
方法的一些代码示例,展示了YoFrameYawPitchRoll.getYaw()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameYawPitchRoll.getYaw()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFrameYawPitchRoll
类名称:YoFrameYawPitchRoll
方法名:getYaw
暂无
代码示例来源:origin: us.ihmc/ihmc-yovariables
public YoDouble getYoYaw()
{
return getOrientation().getYaw();
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public double getYaw()
{
return getOrientation().getYaw().getDoubleValue();
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public void add(YoFrameYawPitchRoll orientation)
{
yaw.add(orientation.getYaw());
pitch.add(orientation.getPitch());
roll.add(orientation.getRoll());
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void update(YoFrameYawPitchRoll yoFrameVectorUnfiltered)
{
checkReferenceFrameMatch(yoFrameVectorUnfiltered);
update(yoFrameVectorUnfiltered.getYaw().getDoubleValue(), yoFrameVectorUnfiltered.getPitch().getDoubleValue(),
yoFrameVectorUnfiltered.getRoll().getDoubleValue());
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
FramePose2D endPose = new FramePose2D(worldFrame);
endPose.setPosition(new FramePoint2D(worldFrame, targetLocation.getX(), targetLocation.getY()));
endPose.setOrientation(new FrameOrientation2D(worldFrame, targetOrientation.getYaw().getDoubleValue()));
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
protected void computeRotationTranslation(AffineTransform transform3D)
{
transform3D.setIdentity();
transform3D.setScale(scale * radii.getX(), scale * radii.getY(), scale * radii.getZ());
transform3D.setRotationYawPitchRoll(yawPitchRoll.getYaw().getValue(), yawPitchRoll.getPitch().getValue(), yawPitchRoll.getRoll().getValue());
transform3D.setTranslation(position);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
protected void computeRotationTranslation(AffineTransform transform3D)
{
transform3D.setIdentity();
double globalScale = 1.0;
if (globalScaleProvider != null)
{
globalScale = globalScaleProvider.getValue();
}
transform3D.setScale(scale * globalScale);
if (isUsingYawPitchRoll())
transform3D.setRotationYawPitchRoll(yawPitchRoll.getYaw().getValue(), yawPitchRoll.getPitch().getValue(), yawPitchRoll.getRoll().getValue());
else
transform3D.setRotation(quaternion);
transform3D.setTranslation(position);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoVariable<?>[] getVariables()
{
YoVariable<?>[] vars = new YoVariable[isUsingYawPitchRoll() ? 6 : 7];
int i = 0;
vars[i++] = yoFramePoint.getYoX();
vars[i++] = yoFramePoint.getYoY();
vars[i++] = yoFramePoint.getYoZ();
if (isUsingYawPitchRoll())
{
vars[i++] = yoFrameYawPitchRoll.getYaw();
vars[i++] = yoFrameYawPitchRoll.getPitch();
vars[i++] = yoFrameYawPitchRoll.getRoll();
}
else
{
vars[i++] = yoFrameQuaternion.getYoQx();
vars[i++] = yoFrameQuaternion.getYoQy();
vars[i++] = yoFrameQuaternion.getYoQz();
vars[i++] = yoFrameQuaternion.getYoQs();
}
return vars;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public YoDouble[] getVariables()
{
YoDouble[] vars = new YoDouble[isUsingYawPitchRoll() ? 6 : 7];
int i = 0;
vars[i++] = position.getYoX();
vars[i++] = position.getYoY();
vars[i++] = position.getYoZ();
if (isUsingYawPitchRoll())
{
vars[i++] = yawPitchRoll.getYaw();
vars[i++] = yawPitchRoll.getPitch();
vars[i++] = yawPitchRoll.getRoll();
}
else
{
vars[i++] = quaternion.getYoQx();
vars[i++] = quaternion.getYoQy();
vars[i++] = quaternion.getYoQz();
vars[i++] = quaternion.getYoQs();
}
return vars;
}
代码示例来源:origin: us.ihmc/ihmc-footstep-planning
@Override
public double calculateCost(FramePose3D stanceFoot, FramePose3D swingStartFoot, FramePose3D idealFootstep, FramePose3D candidateFootstep, double percentageOfFoothold)
{
double cost = footstepBaseCost.getDoubleValue();
setXYVectorFromPoseToPoseNormalize(forwardCostVector, swingStartFoot, idealFootstep);
setXYVectorFromPoseToPoseNormalize(backwardCostVector, idealFootstep, swingStartFoot);
inwardCostVector.set(forwardCostVector.getY(), -forwardCostVector.getX());
outwardCostVector.set(-forwardCostVector.getY(), forwardCostVector.getX());
upwardCostVector.set(0.0, 0.0, 1.0);
downwardVector.set(0.0, 0.0, -1.0);
setVectorFromPoseToPose(idealToCandidateVector, idealFootstep, candidateFootstep);
setOrientationFromPoseToPose(idealToCandidateOrientation, idealFootstep, candidateFootstep);
double downwardPenalizationWeightConsideringStancePitch = downwardCostScalar.getDoubleValue();
if (stanceFoot.getPitch() < 0)
{
downwardPenalizationWeightConsideringStancePitch += -stanceFoot.getPitch() * stancePitchDownwardCostScalar.getDoubleValue();
}
cost += penalizeCandidateFootstep(forwardCostVector, forwardCostScalar.getDoubleValue());
cost += penalizeCandidateFootstep(backwardCostVector, backwardCostScalar.getDoubleValue());
cost += penalizeCandidateFootstep(inwardCostVector, inwardCostScalar.getDoubleValue());
cost += penalizeCandidateFootstep(outwardCostVector, outwardCostScalar.getDoubleValue());
cost += penalizeCandidateFootstep(upwardCostVector, upwardCostScalar.getDoubleValue());
cost += penalizeCandidateFootstep(downwardVector, downwardPenalizationWeightConsideringStancePitch);
cost += angularCostScalar.getDoubleValue() * Math.abs(idealToCandidateOrientation.getYaw().getDoubleValue());
cost += angularCostScalar.getDoubleValue() * Math.abs(idealToCandidateOrientation.getPitch().getDoubleValue());
cost += angularCostScalar.getDoubleValue() * Math.abs(idealToCandidateOrientation.getRoll().getDoubleValue());
cost += (1.0 - percentageOfFoothold) * negativeFootholdLinearCostScalar.getDoubleValue();
return cost;
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
sliderBoard.setSlider(sliderChannel++, yoFramePose.getPosition().getYoZ(), footPosition.getZ() - zRange / 2.0, footPosition.getZ() + zRange / 2.0);
sliderBoard.setSlider(sliderChannel++, yoFramePose.getOrientation().getYaw(), -Math.PI, Math.PI);
sliderBoard.setSlider(sliderChannel++, yoFramePose.getOrientation().getPitch(), -Math.PI, Math.PI);
sliderBoard.setSlider(sliderChannel++, yoFramePose.getOrientation().getRoll(), -Math.PI, Math.PI);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
sliderBoard.setSlider(sliderChannel++, yoFramePose.getPosition().getYoZ(), handPosition.getZ() - zRange / 2.0, handPosition.getZ() + zRange / 2.0);
sliderBoard.setSlider(sliderChannel++, yoFramePose.getOrientation().getYaw(), -Math.PI, Math.PI);
sliderBoard.setSlider(sliderChannel++, yoFramePose.getOrientation().getPitch(), -Math.PI, Math.PI);
sliderBoard.setSlider(sliderChannel++, yoFramePose.getOrientation().getRoll(), -Math.PI, Math.PI);
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getValueString()方法的一些代码示例,展示了YoVariable.getValueSt
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.setValueFromLongBits()方法的一些代码示例,展示了YoVariable.setV
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getDescription()方法的一些代码示例,展示了YoVariable.getDescrip
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getFullNameWithNameSpace()方法的一些代码示例,展示了YoVariable.
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getManualScalingMin()方法的一些代码示例,展示了YoVariable.getMa
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getValueAsLongBits()方法的一些代码示例,展示了YoVariable.getVal
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getYoVariableType()方法的一些代码示例,展示了YoVariable.getYoVa
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getManualScalingMax()方法的一些代码示例,展示了YoVariable.getMa
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getYoVariableRegistry()方法的一些代码示例,展示了YoVariable.get
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.isParameter()方法的一些代码示例,展示了YoVariable.isParameter()
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getParameter()方法的一些代码示例,展示了YoVariable.getParameter
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.setValueFromDouble()方法的一些代码示例,展示了YoVariable.setVal
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getValueAsDouble()方法的一些代码示例,展示了YoVariable.getValue
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getName()方法的一些代码示例,展示了YoVariable.getName()的具体用法。这些
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.addVariableChangedListener()方法的一些代码示例,展示了YoVariabl
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable类的一些代码示例,展示了YoVariable类的具体用法。这些代码示例主要来源于Github/Stac
本文整理了Java中us.ihmc.yoVariables.variable.YoLong类的一些代码示例,展示了YoLong类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D类的一些代码示例,展示了YoFrameVector3D类的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.yoVariables.variable.YoEnum类的一些代码示例,展示了YoEnum类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D类的一些代码示例,展示了YoFramePoint3D类的具体用法。这些代码示例主要来源于Git
我是一名优秀的程序员,十分优秀!