gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-17 10:08:40 24 4
gpt4 key购买 nike

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

YoAppearance.Chartreuse介绍

暂无

代码示例

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

private QuadTreeTestHelper testOnAStaircase(Point3D center, Vector3D normal, double halfWidth, double resolution, double stairSeparation, double oneStairLandingHeight, boolean visualize)
  {
   normal.normalize();

   BoundingBox2D boundingBox = new BoundingBox2D(center.getX() - halfWidth, center.getY() - halfWidth, center.getX() + halfWidth, center.getY() + halfWidth);
   Plane3D plane3d = new Plane3D(center, normal);
   ArrayList<Point3D> points = generatePointsForStairs(plane3d, halfWidth, resolution, stairSeparation, oneStairLandingHeight);

//      Collections.shuffle(points);
   
   int pointsPerBallUpdate = 1;
   QuadTreeTestHelper testHelper = testOnAListOfPoints(points, pointsPerBallUpdate, boundingBox, resolution, visualize);
   
   if (visualize)
   {
     testHelper.drawPoints(points, resolution/2.0, YoAppearance.Blue());

     ArrayList<Point3D> allPointsInQuadTree = testHelper.getAllPointsInQuadTree();
     testHelper. drawPoints(allPointsInQuadTree, resolution*0.6, YoAppearance.Chartreuse());
   }

//      testHelper. drawPointsWithinAreaInSCS(pointsPerBallUpdate, YoAppearance.Chartreuse());
//      testHelper.drawHeightOfOriginalPointsInPurple(points, pointsPerBallUpdate);
//      testHelper.drawHeightMap(boundingBox, resolution);
   
   return testHelper;
  }

代码示例来源:origin: us.ihmc/ihmc-sensor-processing-test

staticLinkGraphics.addCube(cubeSize, cubeSize, cubeSize, YoAppearance.Chartreuse());
scs.addStaticLinkGraphics(staticLinkGraphics);

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

pointSFViz = new YoGraphicPosition("pointSF", "", registry, pointSize, YoAppearance.Chartreuse());
pointD0Viz = new YoGraphicPosition("pointD0", "", registry, pointSize, YoAppearance.BlueViolet());
pointDFViz = new YoGraphicPosition("pointDF", "", registry, pointSize, YoAppearance.Azure());
pointSFMinViz = new YoGraphicPosition("pointSFMin", "", registry, 0.8 * pointSize, YoAppearance.Chartreuse());
pointD0MinViz = new YoGraphicPosition("pointD0Min", "", registry, 0.8 * pointSize, YoAppearance.BlueViolet());
pointDFMinViz = new YoGraphicPosition("pointDFMin", "", registry, 0.8 * pointSize, YoAppearance.Azure());
pointSFMaxViz = new YoGraphicPosition("pointSFMax", "", registry, 0.9 * pointSize, YoAppearance.Chartreuse());
pointD0MaxViz = new YoGraphicPosition("pointD0Max", "", registry, 0.9 * pointSize, YoAppearance.BlueViolet());
pointDFMaxViz = new YoGraphicPosition("pointDFMax", "", registry, 0.9 * pointSize, YoAppearance.Azure());

代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test

polygonSnapperVisualizer.addPlanarRegionsList(planarRegionsList, YoAppearance.Gold(), YoAppearance.Purple(), YoAppearance.Brown(), YoAppearance.Blue(), YoAppearance.Chartreuse());

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

final YoGraphicVector currentVelocityViz = new YoGraphicVector(namePrefix + "CurrentVelocity",
   currentPosition.buildUpdatedYoFramePointForVisualizationOnly(), currentVelocity.buildUpdatedYoFrameVectorForVisualizationOnly(), 0.2,
   YoAppearance.Chartreuse());
final YoGraphicPosition finalPositionViz = new YoGraphicPosition(namePrefix + "FinalPosition", finalPosition, 0.02, YoAppearance.Red());
final YoGraphicVector currentAngularVelocityViz = new YoGraphicVector(namePrefix + "CurrentAngularVelocity",

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