本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.applyDataProcessingFunction()
方法的一些代码示例,展示了SimulationConstructionSet.applyDataProcessingFunction()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.applyDataProcessingFunction()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:applyDataProcessingFunction
暂无
代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces
@Override
public void actionPerformed(ActionEvent e)
{
scs.applyDataProcessingFunction(dataProcessingFunction);
}
}
代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge
@Override
public void actionPerformed(ActionEvent e)
{
scs.applyDataProcessingFunction(dataProcessingFunction);
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
@Override
public void actionPerformed(ActionEvent e)
{
scs.applyDataProcessingFunction(dataProcessingFunction);
}
}
代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge
@Override
public void actionPerformed(ActionEvent e)
{
DataProcessingFunction dataProcessingFunction = new DataProcessingFunction()
{
@Override
public void processData()
{
analyzer.copyMeasuredTorqueToAppliedTorque();
}
@Override
public void initializeProcessing()
{
}
};
simulationConstructionSet.applyDataProcessingFunction(dataProcessingFunction);
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
@Override
public void actionPerformed(ActionEvent e)
{
DataProcessingFunction dataProcessingFunction = new DataProcessingFunction()
{
@Override
public void processData()
{
analyzer.copyMeasuredTorqueToAppliedTorque();
}
@Override
public void initializeProcessing()
{
}
};
simulationConstructionSet.applyDataProcessingFunction(dataProcessingFunction);
}
}
代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces
@Override
public void actionPerformed(ActionEvent e)
{
DataProcessingFunction dataProcessingFunction = new DataProcessingFunction()
{
@Override
public void processData()
{
analyzer.copyMeasuredTorqueToAppliedTorque();
}
@Override
public void initializeProcessing()
{
}
};
simulationConstructionSet.applyDataProcessingFunction(dataProcessingFunction);
}
}
代码示例来源:origin: us.ihmc/IHMCWholeBodyController
simulationConstructionSet.applyDataProcessingFunction(dataProcessingFunction);
代码示例来源:origin: us.ihmc/ihmc-whole-body-controller
simulationConstructionSet.applyDataProcessingFunction(dataProcessingFunction);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private void moveRobotOutOfWayForViz()
{
final SimulationConstructionSet scs = drcSimulationTestHelper.getSimulationConstructionSet();
DataProcessingFunction dataProcessingFunction = new DataProcessingFunction()
{
private final YoDouble q_y = (YoDouble) scs.getVariable("q_y");
@Override
public void initializeProcessing()
{
}
@Override
public void processData()
{
q_y.sub(4.0);
}
};
scs.applyDataProcessingFunction(dataProcessingFunction);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test
@ContinuousIntegrationTest(estimatedDuration = 7.2)
@Test(timeout = 36000)
public void test()
{
TwoLinkRobotForTesting twoLinkRobotForTesting = new TwoLinkRobotForTesting();
SimulationConstructionSet scs = new SimulationConstructionSet(twoLinkRobotForTesting, simulationTestingParameters);
scs.setDT(0.00001, 100);
scs.startOnAThread();
twoLinkRobotForTesting.setElbowPosition(0.0);
twoLinkRobotForTesting.setUpperPosition(3.0);
twoLinkRobotForTesting.setElbowVelocity(-2.0);
twoLinkRobotForTesting.setUpperVelocity(-3.0);
scs.simulate(6.0);
while(scs.isSimulating())
{
Thread.yield();
}
RobotAllJointsDataChecker robotAllJointsDataChecker = new RobotAllJointsDataChecker(scs, twoLinkRobotForTesting);
robotAllJointsDataChecker.cropFirstPoint();
scs.applyDataProcessingFunction(robotAllJointsDataChecker);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test
yoVariableValueDataChecker.cropFirstPoint();
scs.applyDataProcessingFunction(yoVariableValueDataChecker);
assertTrue(!yoVariableValueDataChecker.isMaxDerivativeExeeded());
assertTrue(!yoVariableValueDataChecker.isMaxSecondDerivativeExeeded());
代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test
yoVariableValueDataChecker.cropFirstPoint();
scs.applyDataProcessingFunction(yoVariableValueDataChecker);
assertTrue(!yoVariableValueDataChecker.isMaxDerivativeExeeded());
assertTrue(!yoVariableValueDataChecker.isMaxSecondDerivativeExeeded());
代码示例来源:origin: us.ihmc/simulation-construction-set-test
assertEquals(variableThree.getDoubleValue(), 0.0, 1e-7);
scs.applyDataProcessingFunction(dataProcessingFunction);
代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test
yoVariableValueDataChecker.cropFirstPoint();
scs.applyDataProcessingFunction(yoVariableValueDataChecker);
assertTrue(!yoVariableValueDataChecker.isMaxDerivativeExeeded());
assertTrue(!yoVariableValueDataChecker.isMaxSecondDerivativeExeeded());
代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test
scs.applyDataProcessingFunction(yoVariableValueDataChecker);
代码示例来源:origin: us.ihmc/simulation-construction-set-test
scs.applyDataProcessingFunction(counterProcessingFunction);
代码示例来源:origin: us.ihmc/simulation-construction-set-test
scs.applyDataProcessingFunction(copierProcessingFunction);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
simulationConstructionSet.applyDataProcessingFunction(checker);
代码示例来源:origin: us.ihmc/simulation-construction-set-test
scs.applyDataProcessingFunction(dataProcessingFunction);
ThreadTools.sleep(THREAD_SLEEP_TIME);
assertTrue(processDataHasBeenCalled.getBooleanValue());
内容来源于网络,如有侵权,请联系作者删除!