作者热门文章
- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameQuaternion.getYoQx()
方法的一些代码示例,展示了YoFrameQuaternion.getYoQx()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameQuaternion.getYoQx()
方法的具体详情如下:
包路径:us.ihmc.robotics.math.frames.YoFrameQuaternion
类名称:YoFrameQuaternion
方法名:getYoQx
暂无
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public DoubleYoVariable getYoQx()
{
return getOrientation().getYoQx();
}
代码示例来源:origin: us.ihmc/SensorProcessing
public void verifyYovariableNames(String imuName, YoFrameQuaternion orientation, YoFrameVector angularVelocity, YoFrameVector linearAcceleration)
{
if (!orientation.getYoQx().getName().contains(imuName))
throw new RuntimeException("The orientation variable: " + orientation.getYoQx().getName() + " may not belong to the IMU: " + imuName);
if (!orientation.getYoQy().getName().contains(imuName))
throw new RuntimeException("The orientation variable: " + orientation.getYoQy().getName() + " may not belong to the IMU: " + imuName);
if (!orientation.getYoQz().getName().contains(imuName))
throw new RuntimeException("The orientation variable: " + orientation.getYoQz().getName() + " may not belong to the IMU: " + imuName);
if (!orientation.getYoQs().getName().contains(imuName))
throw new RuntimeException("The orientation variable: " + orientation.getYoQs().getName() + " may not belong to the IMU: " + imuName);
if (!angularVelocity.getYoX().getName().contains(imuName))
throw new RuntimeException("The angular velocity variable: " + angularVelocity.getYoX().getName() + " may not belong to the IMU: " + imuName);
if (!angularVelocity.getYoY().getName().contains(imuName))
throw new RuntimeException("The angular velocity variable: " + angularVelocity.getYoY().getName() + " may not belong to the IMU: " + imuName);
if (!angularVelocity.getYoZ().getName().contains(imuName))
throw new RuntimeException("The angular velocity variable: " + angularVelocity.getYoZ().getName() + " may not belong to the IMU: " + imuName);
if (!linearAcceleration.getYoX().getName().contains(imuName))
throw new RuntimeException("The linear acceleration variable: " + linearAcceleration.getYoX().getName() + " may not belong to the IMU: " + imuName);
if (!linearAcceleration.getYoY().getName().contains(imuName))
throw new RuntimeException("The linear acceleration variable: " + linearAcceleration.getYoY().getName() + " may not belong to the IMU: " + imuName);
if (!linearAcceleration.getYoZ().getName().contains(imuName))
throw new RuntimeException("The linear acceleration variable: " + linearAcceleration.getYoZ().getName() + " may not belong to the IMU: " + imuName);
}
}
代码示例来源:origin: us.ihmc/SensorProcessing
private YoFrameQuaternionValidityChecker(String inputName, YoFrameQuaternion input, YoVariableRegistry parentRegistry)
{
registry = new YoVariableRegistry(inputName + "ValidityChecker");
parentRegistry.addChild(registry);
this.input = input;
if (input != null)
{
validityCheckers[0] = new DoubleYoVariableValidityChecker(input.getYoQx(), registry);
validityCheckers[1] = new DoubleYoVariableValidityChecker(input.getYoQy(), registry);
validityCheckers[2] = new DoubleYoVariableValidityChecker(input.getYoQz(), registry);
validityCheckers[3] = new DoubleYoVariableValidityChecker(input.getYoQs(), registry);
}
else
{
validityCheckers[0] = new DoubleYoVariableValidityChecker(inputName + "Qx", registry);
validityCheckers[1] = new DoubleYoVariableValidityChecker(inputName + "Qy", registry);
validityCheckers[2] = new DoubleYoVariableValidityChecker(inputName + "Qz", registry);
validityCheckers[3] = new DoubleYoVariableValidityChecker(inputName + "Qs", registry);
}
}
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameQuaternion.getYoQx()方法的一些代码示例,展示了YoFrameQuaternion.get
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameQuaternion.getYoQx()方法的一些代码示例,展示了YoFrameQuaternion.get
我是一名优秀的程序员,十分优秀!