gpt4 book ai didi

us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry.update()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 14:00:40 26 4
gpt4 key购买 nike

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

YoGraphicsListRegistry.update介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

private void updateYoGraphics(YoGraphicsListRegistry yoGraphicsListRegistry)
{
 if (yoGraphicsListRegistry == null)
   return;
 List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
 for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
 {
   ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
   for (YoGraphic yoGraphic : yoGraphics)
    yoGraphic.update();
 }
 yoGraphicsListRegistry.update();
}

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

private void updateYoGraphics(YoGraphicsListRegistry yoGraphicsListRegistry)
{
 if (yoGraphicsListRegistry == null)
   return;
 List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
 for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
 {
   ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
   for (YoGraphic yoGraphic : yoGraphics)
    yoGraphic.update();
 }
 yoGraphicsListRegistry.update();
}

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

private void updateYoGraphics()
  {
   if (yoGraphicsListRegistry == null)
     return;

   List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
   for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
   {
     ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
     for (YoGraphic yoGraphic : yoGraphics)
      yoGraphic.update();
   }
   yoGraphicsListRegistry.update();
  }
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

private void updateYoGraphics()
  {
   if (yoGraphicsListRegistry == null)
     return;

   List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
   for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
   {
     ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
     for (YoGraphic yoGraphic : yoGraphics)
      yoGraphic.update();
   }
   yoGraphicsListRegistry.update();
  }
}

代码示例来源:origin: us.ihmc/simulation-construction-set-tools

@Override
public void updateYoGraphicsListRegistry()
{
 if(robotControlElement.getYoGraphicsListRegistry() != null)
 {
   if(registry!=null)
       registry.updateChangedValues();
   if (simulatedRobot != null)
   {
    simulatedRobot.getRootJoints().get(0).getTransformToWorld(transformToWorld);
    robotControlElement.getYoGraphicsListRegistry().setSimulationTransformToWorld(transformToWorld);
   }
   robotControlElement.getYoGraphicsListRegistry().update();
 }
}

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

private void doControl()
{
 updateRobotState();
 updateControlStatus();
 updateRequestedBehavior();
 callUpdatables();
 stateMachine.checkTransitionConditions();
 stateMachine.doAction();
 yoGraphicsListRegistry.update();
}

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

private void doControl()
{
 updateRobotState();
 updateControlStatus();
 updateRequestedBehavior();
 callUpdatables();
 stateMachine.doControlAndTransitions();
 //a behavior has finished or has aborted and has transitioned to STOP
 if (stateMachine.getCurrentBehaviorKey().equals(stopBehaviorKey) && currentBehaviorKey != null && !currentBehaviorKey.equals(stopBehaviorKey))
 {
   behaviorStatusPublisher.publish(HumanoidMessageTools.createBehaviorStatusPacket(CurrentBehaviorStatus.NO_BEHAVIOR_RUNNING));
 }
 currentBehaviorKey = stateMachine.getCurrentBehaviorKey();
 yoGraphicsListRegistry.update();
}

代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test

scs.addExtraJpanel(scrollPane, "Plotter Legend", false);
yoGraphicsListRegistry.update();
scs.addYoGraphicsListRegistry(yoGraphicsListRegistry, false);
yoGraphicsListRegistry.addArtifactListsToPlotter(simulationOverheadPlotter.getPlotter());

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