本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.createSimulationOverheadPlotterFactory()
方法的一些代码示例,展示了SimulationConstructionSet.createSimulationOverheadPlotterFactory()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.createSimulationOverheadPlotterFactory()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:createSimulationOverheadPlotterFactory
暂无
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
scs.addYoGraphicsListRegistry(yoGraphicsListRegistry, false);
scs.attachPlaybackListener(createYoGraphicsUpdater(yoGraphicsListRegistry));
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
scs.addYoGraphicsListRegistry(yoGraphicsListRegistry, false);
scs.attachPlaybackListener(createYoGraphicsUpdater(yoGraphicsListRegistry));
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
private void startSCS()
{
scs.addYoVariableRegistry(registry);
scs.addYoGraphicsListRegistry(graphicsListRegistry);
scs.setPlaybackRealTimeRate(0.025);
Graphics3DObject linkGraphics = new Graphics3DObject();
linkGraphics.addCoordinateSystem(0.3);
scs.addStaticLinkGraphics(linkGraphics);
scs.setCameraFix(0.0, 0.0, 0.5);
scs.setCameraPosition(-0.5, 0.0, 1.0);
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(graphicsListRegistry);
simulationOverheadPlotterFactory.createOverheadPlotter();
scs.startOnAThread();
}
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
parameters.setCreateGUI(true);
SimulationConstructionSet scs = new SimulationConstructionSet(robot);
SimulationOverheadPlotterFactory plotterFactory = scs.createSimulationOverheadPlotterFactory();
plotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
plotterFactory.createOverheadPlotter();
代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces
private void initializeSimulationConstructionSet()
{
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.getDynamicGraphicObjectsListRegistry());
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(stateEstimationThread.getDynamicGraphicObjectsListRegistry());
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();
}
代码示例来源: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();
}
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
scs.setCameraDolly(useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get(), false);
scs.setCameraDollyOffsets(4.0, 4.0, 1.0);
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setVariableNameToTrack("centerOfMass");
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
simulationOverheadPlotterFactory.addYoGraphicsListRegistries(yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setVariableNameToTrack("centroidGraphic");
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
内容来源于网络,如有侵权,请联系作者删除!