本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.simulateOneRecordStepNow()
方法的一些代码示例,展示了SimulationConstructionSet.simulateOneRecordStepNow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.simulateOneRecordStepNow()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:simulateOneRecordStepNow
暂无
代码示例来源:origin: us.ihmc/simulation-construction-set-test
private void callSCSMethodSimulateOneRecordStepNow(SimulationConstructionSet scs)
{
try
{
scs.simulateOneRecordStepNow();
}
catch (UnreasonableAccelerationException e)
{
e.printStackTrace();
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
@ContinuousIntegrationTest(estimatedDuration = 9.2)
@Test(timeout = 520000)
public void testCanRewindAndGoForward() throws UnreasonableAccelerationException
{
BambooTools.reportTestStartedMessage(simulationTestingParameters.getShowWindows());
int numberOfSteps = 100;
SimulationConstructionSet scs = setupScs();
scs.simulateOneRecordStepNow();
scs.simulateOneRecordStepNow();
for (int i = 0; i < numberOfSteps; i++)
{
scs.simulateOneRecordStepNow();
scs.simulateOneRecordStepNow();
scs.stepBackwardNow();
}
scs.closeAndDispose();
BambooTools.reportTestFinishedMessage(simulationTestingParameters.getShowWindows());
}
代码示例来源:origin: us.ihmc/RobotDataCommunication
private void seek(int newValue)
{
synchronized (seekLock)
{
if (!isSeeking && !scs.isSimulating())
{
if(newValue > 0)
{
newValue -= 1;
}
robot.seek(newValue); //Do -1 so that we'll get to sliderValue after doing the seek.
try
{
scs.simulateOneRecordStepNow();
scs.setInPoint();
}
catch (UnreasonableAccelerationException e)
{
e.printStackTrace();
}
if (multiPlayer != null)
multiPlayer.indexChanged(0, 0);
}
}
}
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
private void seek(int newValue)
{
synchronized (seekLock)
{
if (!isSeeking && !scs.isSimulating())
{
if(newValue > 0)
{
newValue -= 1;
}
robot.seek(newValue); //Do -1 so that we'll get to sliderValue after doing the seek.
try
{
scs.simulateOneRecordStepNow();
scs.setInPoint();
}
catch (UnreasonableAccelerationException e)
{
e.printStackTrace();
}
if (multiPlayer != null)
multiPlayer.indexChanged(0, 0);
}
}
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
private void seek(int newValue)
{
synchronized (seekLock)
{
if (!isSeeking && !scs.isSimulating())
{
if(newValue > 0)
{
newValue -= 1;
}
robot.seek(newValue); //Do -1 so that we'll get to sliderValue after doing the seek.
try
{
scs.simulateOneRecordStepNow();
scs.setInPoint();
}
catch (UnreasonableAccelerationException e)
{
e.printStackTrace();
}
if (multiPlayer != null)
multiPlayer.notifyOfIndexChange(0);
}
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
scs1.simulateOneRecordStepNow();
scs2.simulateOneRecordStepNow();
内容来源于网络,如有侵权,请联系作者删除!