本文整理了Java中us.ihmc.robotics.time.YoStopwatch.<init>()
方法的一些代码示例,展示了YoStopwatch.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoStopwatch.<init>()
方法的具体详情如下:
包路径:us.ihmc.robotics.time.YoStopwatch
类名称:YoStopwatch
方法名:<init>
暂无
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
WaitState(YoDouble yoTime)
{
stopwatch = new YoStopwatch("waitStopWatch", yoTime, registry);
stopwatch.start();
waitTime.set(initialWaitTime);
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public SleepBehavior(String robotName, Ros2Node ros2Node, YoDouble yoTime, double sleepTime)
{
super(robotName, ros2Node);
this.sleepTime = new YoDouble("sleepTime", registry);
this.sleepTime.set(sleepTime);
stopwatch = new YoStopwatch(yoTime);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.0)
@Test(timeout = 30000)
public void testStopwatch()
{
YoVariableRegistry registry = new YoVariableRegistry("test");
YoDouble yoTime = new YoDouble("t", registry);
testStopwatch(yoTime, new YoStopwatch(yoTime));
testStopwatch(yoTime, new YoStopwatch("timerTest", yoTime, registry));
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public TestGarbageGenerationBehavior(String robotName, Ros2Node ros2Node, HumanoidReferenceFrames referenceFrames, YoDouble yoTime)
{
super(robotName, ros2Node);
this.referenceFrames = referenceFrames;
timer = new YoStopwatch(yoTime);
armPublisher = createPublisherForController(ArmTrajectoryMessage.class);
chestPublisher = createPublisherForController(ChestTrajectoryMessage.class);
footstepPublisher = createPublisherForController(FootstepDataListMessage.class);
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public TestICPOptimizationBehavior(String robotName, Ros2Node ros2Node, HumanoidReferenceFrames referenceFrames, YoDouble yoTime)
{
super(robotName, ros2Node);
this.referenceFrames = referenceFrames;
swingTime.set(1.2);
transferTime.set(0.6);
sleepTime.set(10.0);
stepLength.set(0.3);
timer = new YoStopwatch(yoTime);
publisher = createPublisherForController(FootstepDataListMessage.class);
}
内容来源于网络,如有侵权,请联系作者删除!