gpt4 book ai didi

us.ihmc.graphicsDescription.appearance.YoAppearance.Chocolate()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 09:58:40 25 4
gpt4 key购买 nike

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

YoAppearance.Chocolate介绍

暂无

代码示例

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

private void setupVisualizers(YoGraphicsListRegistry yoGraphicsListRegistry)
{
 YoGraphicsList yoGraphicsList = new YoGraphicsList(getClass().getSimpleName());
 ArtifactList artifactList = new ArtifactList(getClass().getSimpleName());
 referenceCMPsCalculator.createVisualizerForConstantCMPs(yoGraphicsList, artifactList);
 for (int i = 0; i < numberFootstepsToConsider.getIntegerValue() - 1; i++)
 {
   YoGraphicPosition icpEarlyCornerPointsViz = new YoGraphicPosition("EntryCornerPoints" + i,
      entryCornerPoints.get(i).buildUpdatedYoFramePointForVisualizationOnly(), ICP_CORNER_POINT_SIZE, YoAppearance.Blue(), GraphicType.SOLID_BALL);
   yoGraphicsList.add(icpEarlyCornerPointsViz);
   artifactList.add(icpEarlyCornerPointsViz.createArtifact());
   YoGraphicPosition lateCornerPointsViz = new YoGraphicPosition("ExitCornerPoints" + i,
      exitCornerPoints.get(i).buildUpdatedYoFramePointForVisualizationOnly(), ICP_CORNER_POINT_SIZE, YoAppearance.Blue(), GraphicType.BALL);
   yoGraphicsList.add(lateCornerPointsViz);
   artifactList.add(lateCornerPointsViz.createArtifact());
 }
 YoGraphicPosition singleSupportInitialICPViz = new YoGraphicPosition("singleSupportInitialICP",
    singleSupportInitialICP.buildUpdatedYoFramePointForVisualizationOnly(), 0.004, YoAppearance.Chocolate(), GraphicType.SOLID_BALL);
 yoGraphicsList.add(singleSupportInitialICPViz);
 artifactList.add(singleSupportInitialICPViz.createArtifact());
 YoGraphicPosition singleSupportFinalICPViz = new YoGraphicPosition("singleSupportFinalICP",
    singleSupportFinalICP.buildUpdatedYoFramePointForVisualizationOnly(), 0.004, YoAppearance.Chocolate(), GraphicType.BALL);
 yoGraphicsList.add(singleSupportFinalICPViz);
 artifactList.add(singleSupportFinalICPViz.createArtifact());
 icpSingleSupportTrajectoryGenerator.createVisualizers(yoGraphicsList, artifactList);
 artifactList.setVisible(VISUALIZE);
 yoGraphicsList.setVisible(VISUALIZE);
 yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
 yoGraphicsListRegistry.registerArtifactList(artifactList);
}

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

leftFootstepGoalViz = new YoGraphicPolygon("leftFootstepGoalViz", leftFootstepGoal, "leftFootstepGoalPose", "", registry, 1.0, YoAppearance.Chocolate());
rightFootstepGoalViz = new YoGraphicPolygon("rightFootstepGoalViz", rightFootstepGoal, "rightFootstepGoalPose", "", registry, 1.0, YoAppearance.Chocolate());
leftFootstepToExpandViz = new YoGraphicPolygon("leftFootstepToExpandViz", leftFootstepUnderConsideration, "leftFootstepToExpandPose", "", registry, 1.0, YoAppearance.Yellow());
rightFootstepToExpandViz = new YoGraphicPolygon("rightFootstepToExpandViz", rightFootstepUnderConsideration, "rightFootstepToExpandPose", "", registry, 1.0, YoAppearance.Yellow());

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