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