gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-20 00:32:31 28 4
gpt4 key购买 nike

本文整理了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());

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com