us.ihmc.simulationconstructionset.SimulationConstructionSet.tick()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(88)

本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.tick()方法的一些代码示例,展示了SimulationConstructionSet.tick()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.tick()方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:tick

SimulationConstructionSet.tick介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge

private static void deleteFirstDataPointAndCropData(SimulationConstructionSet scs)
{
 scs.gotoInPointNow();
 scs.tick(1);
 scs.setInPoint();
 scs.cropBuffer();
}

代码示例来源:origin: us.ihmc/simulation-construction-set-test

scs.tick(1);
assertEquals(3, simulationRewoundListener.getCount());
assertEquals(1, scs.getIndex());
scs.tick(5);
assertEquals(4, simulationRewoundListener.getCount());
assertEquals(6, scs.getIndex());
scs.tick(-1);
assertEquals(5, simulationRewoundListener.getCount());
assertEquals(5, scs.getIndex());

代码示例来源:origin: us.ihmc/simulation-construction-set-test

scs.tick();
double currentSCSIndex2 = scs.getIndex();
assertTrue(simulationRewoundListenerHasBeenNotified.getBooleanValue());
scs.tick(ticksIncrease);
double currentSCSIndex4 = scs.getIndex();
assertTrue(simulationRewoundListenerHasBeenNotified.getBooleanValue());

代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test

scs.tick(2);
scs.setInPoint();
scs.cropBuffer();

代码示例来源:origin: us.ihmc/ihmc-simulation-toolkit

private static void deleteFirstDataPointAndCropData(SimulationConstructionSet scs)
{
 scs.gotoInPointNow();
 scs.tick(1);
 scs.setInPoint();
 scs.cropBuffer();
 scs.gotoOutPointNow();
}

代码示例来源:origin: us.ihmc/IHMCSimulationToolkit

private static void deleteFirstDataPointAndCropData(SimulationConstructionSet scs)
{
 scs.gotoInPointNow();
 scs.tick(1);
 scs.setInPoint();
 scs.cropBuffer();
 scs.gotoOutPointNow();
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

scs.gotoOutPointNow();
scs.setScrollGraphsEnabled(false);
scs.tick(0);

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test

private void cropSCSBuffer(SimulationConstructionSet scs, SimulationTestingParameters simulationTestingParameters)
{
 if (scs != null)
 {
   scs.gotoInPointNow();
   scs.tick(2);
   ThreadTools.sleep(100L);
   scs.setInPoint();
   ThreadTools.sleep(100L);
   scs.cropBuffer();
   if (simulationTestingParameters.getKeepSCSUp())
   {
    ThreadTools.sleepForever();
   }
 }
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

simulationConstructionSet.tick(1);
simulationConstructionSet.tick(1);

代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces

simulationConstructionSet.tick(1);
simulationConstructionSet.tick(1);

代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge

simulationConstructionSet.tick(1);
simulationConstructionSet.tick(1);

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test

while(Math.abs(desiredICPX.getDoubleValue()) < 1e-4)
  scs.tick(1);

代码示例来源:origin: us.ihmc/simulation-construction-set-test

scs.tick(50);
assertEquals(variableOne.getDoubleValue(), 0.0, 1e-7);
assertEquals(variableTwo.getDoubleValue(), 0.0, 1e-7);
scs.tick(500);

相关文章

微信公众号

最新文章

更多

SimulationConstructionSet类方法