本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.setParameterRootPath()
方法的一些代码示例,展示了SimulationConstructionSet.setParameterRootPath()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.setParameterRootPath()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:setParameterRootPath
暂无
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
simulationOverheadPlotterFactory.createOverheadPlotter();
scs.getRootRegistry().addChild(parser.getRootRegistry());
scs.setParameterRootPath(parser.getRootRegistry());
scs.setGroundVisible(false);
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
this.registry.addChild(yoVariableRegistry);
this.registry.addChild(yoVariableClientInterface.getDebugRegistry());
scs.setParameterRootPath(yoVariableRegistry);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
private void initializeSimulationConstructionSet()
{
simulationConstructionSet.setParameterRootPath(threadedRobotController.getYoVariableRegistry());
humanoidFloatingRootJointRobot.setDynamicIntegrationMethod(scsInitialSetup.get().getDynamicIntegrationMethod());
scsInitialSetup.get().initializeSimulation(simulationConstructionSet);
if (guiInitialSetup.get().isGuiShown())
{
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = simulationConstructionSet.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(guiInitialSetup.get().isShowOverheadView());
simulationOverheadPlotterFactory.setVariableNameToTrack("centerOfMass");
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(controllerThread.getYoGraphicsListRegistry());
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(stateEstimationThread.getYoGraphicsListRegistry());
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(actualCMPComputer.getYoGraphicsListRegistry());
simulationOverheadPlotterFactory.createOverheadPlotter();
guiInitialSetup.get().initializeGUI(simulationConstructionSet, humanoidFloatingRootJointRobot, robotModel.get());
}
if (commonAvatarEnvironment.get() != null && commonAvatarEnvironment.get().getTerrainObject3D() != null)
{
simulationConstructionSet.addStaticLinkGraphics(commonAvatarEnvironment.get().getTerrainObject3D().getLinkGraphics());
}
scsInitialSetup.get().initializeRobot(humanoidFloatingRootJointRobot, robotModel.get(), null);
robotInitialSetup.get().initializeRobot(humanoidFloatingRootJointRobot, robotModel.get().getJointMap());
humanoidFloatingRootJointRobot.update();
}
内容来源于网络,如有侵权,请联系作者删除!