本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.attachPlaybackListener()
方法的一些代码示例,展示了SimulationConstructionSet.attachPlaybackListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.attachPlaybackListener()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:attachPlaybackListener
暂无
代码示例来源:origin: us.ihmc/acsell
public static void createDashboard(final SimulationConstructionSet scs, YoVariableHolder registry)
{
StepprDashboard stepprDashboard = new StepprDashboard(registry);
scs.addExtraJpanel(stepprDashboard, "Dashboard", true);
scs.attachPlaybackListener(stepprDashboard);
JButton showDashboard = new JButton("Show dashboard");
showDashboard.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent e)
{
scs.getStandardSimulationGUI().selectPanel("Dashboard");
}
});
scs.addButton(showDashboard);
}
代码示例来源:origin: us.ihmc/acsell
public static void createDashboard(final SimulationConstructionSet scs, YoVariableRegistry registry)
{
final WandererDashboard wandererDashboard = new WandererDashboard(registry);
scs.addExtraJpanel(wandererDashboard, "Dashboard", true);
scs.attachPlaybackListener(wandererDashboard);
final WandererExpoFrame wandererExpoFrame = new WandererExpoFrame(registry,false);
wandererExpoFrame.setVisible(true);
scs.attachPlaybackListener(wandererExpoFrame);
JButton showDashboard = new JButton("Show dashboard");
showDashboard.addActionListener(new ActionListener()
{
@Override
public void actionPerformed(ActionEvent e)
{
scs.getStandardSimulationGUI().selectPanel("Dashboard");
}
});
scs.addButton(showDashboard);
}
代码示例来源:origin: us.ihmc/RobotDataCommunication
scs.attachPlaybackListener(players);
scs.attachSimulationRewoundListener(players);
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
scs.attachPlaybackListener(createYoGraphicsUpdater(yoGraphicsListRegistry));
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
scs.attachPlaybackListener(players);
scs.attachSimulationRewoundListener(players);
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
scs.attachPlaybackListener(createYoGraphicsUpdater(yoGraphicsListRegistry));
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();
simulationOverheadPlotterFactory.setShowOnStart(showOverheadView);
scs.attachPlaybackListener(players);
scs.attachSimulationRewoundListener(players);
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
scs.setGroundVisible(false);
scs.attachExitActionListener(this);
scs.attachPlaybackListener(createYoGraphicsUpdater());
scs.setRunName(yoVariableClient.getServerName());
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
scs.setGroundVisible(false);
scs.attachExitActionListener(this);
scs.attachPlaybackListener(createYoGraphicsUpdater());
scs.setRunName(yoVariableClientInterface.getServerName());
代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge
simulationConstructionSet.attachPlaybackListener(playbackListener);
代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces
simulationConstructionSet.attachPlaybackListener(playbackListener);
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
scs.attachPlaybackListener(simulationOverheadPlotter);
JPanel simulationOverheadPlotterJPanel = simulationOverheadPlotter.getJPanel();
String plotterName = "Plotter";
代码示例来源:origin: us.ihmc/simulation-construction-set-test
ToggleKeyPointModeCommandListener toggleKeyPointModeCommandListener = createToggleKeyPointModeCommandListener();
scs.attachPlayCycleListener(playCycleListener);
scs.attachPlaybackListener(playbackListener);
scs.addSimulateDoneListener(simulationDoneListener);
scs.setSimulateDoneCriterion(simulationDoneCriterion);
内容来源于网络,如有侵权,请联系作者删除!