us.ihmc.robotics.math.trajectories.providers.YoSE3ConfigurationProvider.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(84)

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

YoSE3ConfigurationProvider.<init>介绍

暂无

代码示例

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

@ContinuousIntegrationTest(estimatedDuration = 0.0)
@Test(timeout = 30000)
public void testConstructor()
{
 provider = new YoSE3ConfigurationProvider(name, referenceFrame, null);
 provider = new YoSE3ConfigurationProvider(name, referenceFrame, registry);
}

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

@ContinuousIntegrationTest(estimatedDuration = 0.0)
  @Test(timeout = 30000)
  public void testSetPose()
  {
   provider = new YoSE3ConfigurationProvider(name, referenceFrame, registry);
   FramePose3D framePose;
   try
   {
     framePose = new FramePose3D();
     provider.setPose(framePose);
     fail();
   }
   catch (RuntimeException rte)
   {
   }

   framePose = new FramePose3D(referenceFrame);

   provider.setPose(framePose);
  }
}

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

@ContinuousIntegrationTest(estimatedDuration = 0.0)
@Test(timeout = 30000)
public void testGet()
{
 provider = new YoSE3ConfigurationProvider(name, referenceFrame, registry);
 FrameQuaternion orientationToPack = new FrameQuaternion();
 provider.getOrientation(orientationToPack);
 assertEquals(referenceFrame, orientationToPack.getReferenceFrame());
 FramePoint3D framePointToPack = new FramePoint3D();
 provider.getPosition(framePointToPack);
 assertEquals(referenceFrame, framePointToPack.getReferenceFrame());
}

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

WalkingControllerParameters walkingControllerParameters = footControlHelper.getWalkingControllerParameters();
finalConfigurationProvider = new YoSE3ConfigurationProvider(namePrefix + "SwingFinal", worldFrame, registry);
finalSwingHeightOffset = new DoubleYoVariable(namePrefix + "SwingFinalHeightOffset", registry);
finalSwingHeightOffset.set(footControlHelper.getWalkingControllerParameters().getDesiredTouchdownHeightOffset());

相关文章