gpt4 book ai didi

us.ihmc.robotics.math.frames.YoFrameVector2d.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 22:04:49 28 4
gpt4 key购买 nike

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

YoFrameVector2d.<init>介绍

暂无

代码示例

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

public ManualDesiredVelocityControlModule(ReferenceFrame referenceFrame, YoVariableRegistry parentRegistry)
{
 desiredVelocity = new YoFrameVector2d("desiredVelocity", "", referenceFrame, registry);
 parentRegistry.addChild(registry);
}

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

private YoArtifactOval(String name, DoubleYoVariable centerX, DoubleYoVariable centerY, DoubleYoVariable radiusX, DoubleYoVariable radiusY, Color color)
{
 this(name, new YoFramePoint2d(centerX, centerY, ReferenceFrame.getWorldFrame()),
       new YoFrameVector2d(radiusX, radiusY, ReferenceFrame.getWorldFrame()), color);
}

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

public BipedalStepAdjustmentCostCalculator(YoVariableRegistry parentRegistry, YoGraphicsListRegistry graphicsRegistry)
{
 String prefix = "StepAdjustment";
 forwardCostVector = new YoFrameVector2d(prefix + "ForwardCostVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 backwardCostVector = new YoFrameVector2d(prefix + "BackwardCostVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 inwardCostVector = new YoFrameVector2d(prefix + "InwardCostVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 outwardCostVector = new YoFrameVector2d(prefix + "OutwardCostVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 upwardCostVector = new YoFrameVector(prefix + "UpwardCostVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 downwardVector = new YoFrameVector(prefix + "DownwardCostVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 forwardCostScalar = new DoubleYoVariable(prefix + "ForwardCostScalar", parentRegistry);
 backwardCostScalar = new DoubleYoVariable(prefix + "BackwardCostScalar", parentRegistry);
 inwardCostScalar = new DoubleYoVariable(prefix + "InwardCostScalar", parentRegistry);
 outwardCostScalar = new DoubleYoVariable(prefix + "OutwardCostScalar", parentRegistry);
 upwardCostScalar = new DoubleYoVariable(prefix + "UpwardCostScalar", parentRegistry);
 downwardCostScalar = new DoubleYoVariable(prefix + "DownwardCostScalar", parentRegistry);
 stancePitchDownwardCostScalar = new DoubleYoVariable(prefix + "StancePitchDownwardCostScalar", parentRegistry);
 angularCostScalar = new DoubleYoVariable(prefix + "AngularCostScalar", parentRegistry);
 negativeFootholdLinearCostScalar = new DoubleYoVariable(prefix + "NegativeFootholdLinearCostScalar", parentRegistry);
 footstepBaseCost = new DoubleYoVariable(prefix + "FootstepBaseCost", parentRegistry);
 idealToCandidateVector = new YoFrameVector(prefix + "IdealToCandidateVector", ReferenceFrame.getWorldFrame(), parentRegistry);
 idealToCandidateOrientation = new YoFrameOrientation(prefix + "IdealToCandidateOrientation", ReferenceFrame.getWorldFrame(), parentRegistry);
 tempFrameVectorForDot = new FrameVector();
 setDefaultValues();
}

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

public RotationVerificator(String namePrefix,
   ContactablePlaneBody foot,
   ExplorationParameters explorationParameters,
   YoVariableRegistry parentRegistry)
{
 soleFrame = foot.getSoleFrame();
 registry = new YoVariableRegistry(namePrefix + name);
 parentRegistry.addChild(registry);
 yoCopError = new YoFrameVector2d(namePrefix + "CopError", "", soleFrame, registry);
 perpendicularCopError = new DoubleYoVariable(namePrefix + "PerpendicularCopError", registry);
 perpendicluarCopErrorThreshold = explorationParameters.getPerpendicluarCopErrorThreshold();
 perpendicularCopErrorAboveThreshold = new BooleanYoVariable(namePrefix + "PerpendicularCopErrorAboveThreshold", registry);
 angleBetweenCopErrorAndLine = new DoubleYoVariable(namePrefix + "AngleBetweenCopErrorAndLine", registry);
 angleThreshold = explorationParameters.getCopAllowedAreaOpeningAngle();
 angleOkay = new BooleanYoVariable(namePrefix + "AngleOkay", registry);
 desiredCopOnCorrectSide = new BooleanYoVariable(namePrefix + "DesiredCopOnCorrectSide", registry);
}

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

public ICPOptimizationSolutionHandler(ICPOptimizationParameters icpOptimizationParameters, FootstepRecursionMultiplierCalculator footstepRecursionMultiplierCalculator,
   boolean visualize, YoVariableRegistry registry, YoGraphicsListRegistry yoGraphicsListRegistry)
{
 this.footstepRecursionMultiplierCalculator = footstepRecursionMultiplierCalculator;
 actualEndOfStateICP = new YoFramePoint2d("actualEndOfStateICP", worldFrame, registry);
 controllerReferenceICP = new YoFramePoint2d("controllerReferenceICP", worldFrame, registry);
 controllerReferenceICPVelocity = new YoFrameVector2d("controllerReferenceICPVelocity", worldFrame, registry);
 controllerReferenceCMP = new YoFramePoint2d("controllerReferenceCMP", worldFrame, registry);
 nominalEndOfStateICP = new YoFramePoint2d("nominalEndOfStateICP", worldFrame, registry);
 nominalReferenceICP = new YoFramePoint2d("nominalReferenceICP", worldFrame, registry);
 nominalReferenceICPVelocity = new YoFrameVector2d("nominalReferenceICPVelocity", worldFrame, registry);
 nominalReferenceCMP = new YoFramePoint2d("nominalReferenceCMP", worldFrame, registry);
 controllerCostToGo = new DoubleYoVariable("costToGo", registry);
 controllerFootstepCostToGo = new DoubleYoVariable("footstepCostToGo", registry);
 controllerFootstepRegularizationCostToGo = new DoubleYoVariable("footstepRegularizationCostToGo", registry);
 controllerFeedbackCostToGo = new DoubleYoVariable("feedbackCostToGo", registry);
 controllerFeedbackRegularizationCostToGo = new DoubleYoVariable("feedbackRegularizationCostToGo", registry);
 controllerDynamicRelaxationCostToGo = new DoubleYoVariable("dynamicRelaxationCostToGo", registry);
 footstepDeadband = new DoubleYoVariable("footstepDeadband", registry);
 footstepSolutionResolution = new DoubleYoVariable("footstepSolutionResolution", registry);
 useDiscontinuousDeadband = new BooleanYoVariable("useDiscontinuousDeadband", registry);
 footstepWasAdjusted = new BooleanYoVariable("footstepWasAdjusted", registry);
 footstepDeadband.set(icpOptimizationParameters.getAdjustmentDeadband());
 footstepSolutionResolution.set(icpOptimizationParameters.getFootstepSolutionResolution());
 useDiscontinuousDeadband.set(icpOptimizationParameters.useDiscontinuousDeadband());
 //if (yoGraphicsListRegistry != null)
 //   setupVisualizers(yoGraphicsListRegistry, visualize);
}

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

YoFrameVector2d entryCMPUserOffset = new YoFrameVector2d(namePrefix + sidePrefix + "EntryCMPConstantOffsets", null, registry);
entryCMPUserOffsets.put(robotSide, entryCMPUserOffset);
YoFrameVector2d exitCMPUserOffset = new YoFrameVector2d(namePrefix + sidePrefix + "ExitCMPConstantOffsets", null, registry);
exitCMPUserOffsets.put(robotSide, exitCMPUserOffset);
supportFootPolygonsInSoleZUpFrame.put(robotSide, bipedSupportPolygons.getFootPolygonInSoleZUpFrame(robotSide));

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

new YoFrameVector2d(robotSide.getCamelCaseNameForStartOfExpression() + "FootCoPError", feet.get(robotSide).getSoleFrame(), registry));

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

copCommandWeightVector = new YoFrameVector2d(footName + "CopCommandWeight", null, registry);
copCommandWeightVector.set(copCommandWeight.getDoubleValue(), copCommandWeight.getDoubleValue());

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

areCurrentCoPIndicesValid = new BooleanYoVariable(namePrefix + "IsCurrentCoPIndicesValid", registry);
cellSize = new YoFrameVector2d(namePrefix + "CellSize", soleFrame, registry);
cellArea = new DoubleYoVariable(namePrefix + "CellArea", registry);

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

doPelvisAndChestYaw.set(true);
pelvisShiftScaleFactor = new YoFrameVector2d("DiagnosticPelvisShiftScaleFactor", null, registry);
pelvisShiftScaleFactor.set(0.4, 0.7);

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