本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D.containsNaN()
方法的一些代码示例,展示了YoFramePoint3D.containsNaN()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFramePoint3D.containsNaN()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFramePoint3D
类名称:YoFramePoint3D
方法名:containsNaN
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public boolean containsNaN()
{
return super.containsNaN();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
protected boolean containsNaN()
{
if (pointOne.containsNaN())
return true;
if (pointTwo.containsNaN())
return true;
if (pointThree.containsNaN())
return true;
return false;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
protected boolean containsNaN()
{
return base.containsNaN() || vector.containsNaN();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public boolean containsNaN()
{
return base.containsNaN() || vector.containsNaN();
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
@Override
public boolean containsNaN()
{
return position.containsNaN() || orientation.containsNaN();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
protected boolean containsNaN()
{
for (int i = 0; i < numberOfPoints.getIntegerValue(); i++)
{
if (ccwOrderedYoFramePoints[i].containsNaN())
return true;
}
return false;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public void update()
{
if (hasChanged.getAndSet(false))
{
if ((!pointOne.containsNaN()) && (!pointTwo.containsNaN()) && (!pointThree.containsNaN()))
{
instruction.setMesh(MeshDataGenerator.Polygon(new Point3DReadOnly[] { pointOne, pointTwo, pointThree }));
}
else
{
instruction.setMesh(null);
}
}
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
protected boolean containsNaN()
{
if (yoFramePoint.containsNaN())
return true;
if (isUsingYawPitchRoll() ? yoFrameYawPitchRoll.containsNaN() : yoFrameQuaternion.containsNaN())
return true;
return false;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public boolean containsNaN()
{
if (position.containsNaN())
return true;
if (isUsingYawPitchRoll())
return yawPitchRoll.containsNaN();
else
return quaternion.containsNaN();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
assertTrue(testedYoFrameEuclideanTrajectoryPoint.getPosition().containsNaN());
assertTrue(testedYoFrameEuclideanTrajectoryPoint.getLinearVelocity().containsNaN());
assertTrue(testedYoFrameEuclideanTrajectoryPoint.getPosition().containsNaN());
assertTrue(testedYoFrameEuclideanTrajectoryPoint.getLinearVelocity().containsNaN());
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
assertTrue(testedYoFrameSE3TrajectoryPoint.getPosition().containsNaN());
assertTrue(testedYoFrameSE3TrajectoryPoint.getOrientation().containsNaN());
assertTrue(testedYoFrameSE3TrajectoryPoint.getLinearVelocity().containsNaN());
assertTrue(testedYoFrameSE3TrajectoryPoint.getPosition().containsNaN());
assertTrue(testedYoFrameSE3TrajectoryPoint.getOrientation().containsNaN());
assertTrue(testedYoFrameSE3TrajectoryPoint.getLinearVelocity().containsNaN());
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
YoFrameQuaternion yoDesiredHandOrientation = yoDesiredHandOrientations.get(robotSide);
if (yoDesiredHandPosition.containsNaN() || yoDesiredHandOrientation.containsNaN())
if (yoDesiredPelvisOrientation.containsNaN() && yoDesiredPelvisPosition.containsNaN())
pelvisMessage = null;
else
if (!yoDesiredPelvisPosition.containsNaN())
内容来源于网络,如有侵权,请联系作者删除!