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

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

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

SimulationConstructionSet.setIndex介绍

暂无

代码示例

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

private void setOutputPointInSCS(SimulationConstructionSet scs, int outputPointIndex)
{
 scs.setIndex(outputPointIndex);
 scs.setOutPoint();
}

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

scs.setIndex(index);
int indexFromSCS = scs.getIndex();
assertEquals(index, indexFromSCS, epsilon);
scs.setIndex(0);
simulationRewoundListenerHasBeenNotified.set(false);
scs.tickButDoNotNotifySimulationRewoundListeners(ticksIncrease);
scs.setIndex(0);
simulationRewoundListenerHasBeenNotified.set(false);
scs.tick();
scs.setIndex(ticksPerCycle);
simulationRewoundListenerHasBeenNotified.set(false);
scs.unTick();
scs.setIndex(0);
simulationRewoundListenerHasBeenNotified.set(false);
scs.tick(ticksIncrease);
scs.setIndex(0);
simulationRewoundListenerHasBeenNotified.set(false);
scs.setTick(ticksIncrease);
scs.setIndex(0);
simulationRewoundListenerHasBeenNotified.set(false);
scs.tickAndUpdate();
scs.setIndex(0);

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

private void setInputPointInSCS(SimulationConstructionSet scs, int inputPointIndex)
{
 scs.setIndex(inputPointIndex);
 scs.setInPoint();
}

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

private void addOneToInPointIndexWithoutCrop(SimulationConstructionSet scs)
{
 int currentInPoint = scs.getInPoint();
 scs.setIndex(currentInPoint + 1);
 scs.setInPoint();
}

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

private void subtractOneToOutPointIndexWithoutCrop(SimulationConstructionSet scs)
{
 int currentOutPoint = scs.getOutPoint();
 scs.setIndex(currentOutPoint - 1);
 scs.setOutPoint();
}

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

scs.setIndex(1);
scs.setInPoint();
scs.cropBuffer();
for (int i = 0; i < maxValue-startValue; i++)
  scs.setIndex(i);
  testNum1 = dataSet.getDoubleValue();
  testNum2 = counterVariable.getDoubleValue();

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

scs.setIndex(1);
scs.setInPoint();
scs.cropBuffer();
for (int i = 0; i < maxValue-startValue; i++)
  scs.setIndex(i);
  testNum1 = dataSet.getDoubleValue();
  testNum2 = copierVariable.getDoubleValue();

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

scs.setIndex(1);
scs.setInPoint();
scs.cropBuffer();
for (int i = 0; i < maxValue-startValue; i++)
  scs.setIndex(i);
  testNum1 = dataSet.getDoubleValue();
  testNum2 = counterVariable.getDoubleValue();

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

scs.setIndex(1);
scs.setInPoint();
scs.cropBuffer();
for (int i = 0; i < maxValue-startValue; i++)
  scs.setIndex(i);
  testNum1 = dataSet.getDoubleValue();
  testNum2 = copierVariable.getDoubleValue();

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

scs.setIndex(1);
scs.setInPoint();
scs.cropBuffer();

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

scs.setIndex(keyPoint);
scs.addCameraKey();
Integer keyPointFromSCS = scs.getCameraKeyPoints().get(0);
scs.setIndex(keyPoint);
scs.addCameraKey();
scs.removeCameraKey();
scs.setIndex(inputPoint);
scs.addCameraKey();
scs.setCameraFix(cameraFixXYZValues2[0], cameraFixXYZValues2[1], cameraFixXYZValues2[2]);
scs.setIndex(keyPoint);
scs.addCameraKey();
scs.nextCameraKey();

相关文章

微信公众号

最新文章

更多

SimulationConstructionSet类方法