本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance.Chocolate()
方法的一些代码示例,展示了YoAppearance.Chocolate()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoAppearance.Chocolate()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.appearance.YoAppearance
类名称: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());
内容来源于网络,如有侵权,请联系作者删除!