- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createQzName()
方法的一些代码示例,展示了YoFrameVariableNameTools.createQzName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameVariableNameTools.createQzName()
方法的具体详情如下:
包路径:us.ihmc.robotics.math.frames.YoFrameVariableNameTools
类名称:YoFrameVariableNameTools
方法名:createQzName
暂无
代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge
public YoFrameQuaternion findYoFrameQuaternion(String quaternionPrefix, String quaternionSuffix, ReferenceFrame quaternionFrame)
{
DoubleYoVariable qx = (DoubleYoVariable) scs.getVariable(createQxName(quaternionPrefix, quaternionSuffix));
DoubleYoVariable qy = (DoubleYoVariable) scs.getVariable(createQyName(quaternionPrefix, quaternionSuffix));
DoubleYoVariable qz = (DoubleYoVariable) scs.getVariable(createQzName(quaternionPrefix, quaternionSuffix));
DoubleYoVariable qs = (DoubleYoVariable) scs.getVariable(createQsName(quaternionPrefix, quaternionSuffix));
if (qx == null || qy == null || qz == null || qs == null)
return null;
else
return new YoFrameQuaternion(qx, qy, qz, qs, quaternionFrame);
}
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public YoFrameQuaternion(String namePrefix, String nameSuffix, ReferenceFrame referenceFrame, YoVariableRegistry registry)
{
this.namePrefix = namePrefix;
this.nameSuffix = nameSuffix;
this.qx = new DoubleYoVariable(createQxName(namePrefix, nameSuffix), registry);
this.qy = new DoubleYoVariable(createQyName(namePrefix, nameSuffix), registry);
this.qz = new DoubleYoVariable(createQzName(namePrefix, nameSuffix), registry);
this.qs = new DoubleYoVariable(createQsName(namePrefix, nameSuffix), registry);
this.referenceFrame = referenceFrame;
qs.set(1.0);
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
public YoFrameQuaternion findYoFrameQuaternion(String quaternionPrefix, String quaternionSuffix, ReferenceFrame quaternionFrame)
{
YoDouble qx = (YoDouble) scs.getVariable(createQxName(quaternionPrefix, quaternionSuffix));
YoDouble qy = (YoDouble) scs.getVariable(createQyName(quaternionPrefix, quaternionSuffix));
YoDouble qz = (YoDouble) scs.getVariable(createQzName(quaternionPrefix, quaternionSuffix));
YoDouble qs = (YoDouble) scs.getVariable(createQsName(quaternionPrefix, quaternionSuffix));
if (qx == null || qy == null || qz == null || qs == null)
return null;
else
return new YoFrameQuaternion(qx, qy, qz, qs, quaternionFrame);
}
}
代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces
public YoFrameQuaternion findYoFrameQuaternion(String quaternionPrefix, String quaternionSuffix, ReferenceFrame quaternionFrame)
{
DoubleYoVariable qx = (DoubleYoVariable) scs.getVariable(createQxName(quaternionPrefix, quaternionSuffix));
DoubleYoVariable qy = (DoubleYoVariable) scs.getVariable(createQyName(quaternionPrefix, quaternionSuffix));
DoubleYoVariable qz = (DoubleYoVariable) scs.getVariable(createQzName(quaternionPrefix, quaternionSuffix));
DoubleYoVariable qs = (DoubleYoVariable) scs.getVariable(createQsName(quaternionPrefix, quaternionSuffix));
if (qx == null || qy == null || qz == null || qs == null)
return null;
else
return new YoFrameQuaternion(qx, qy, qz, qs, quaternionFrame);
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
public static Quaternion findQuat4d(String nameSpace, String prefix, String suffix, SimulationConstructionSet scs)
{
double x = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQxName(prefix, suffix)).getValueAsDouble();
double y = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQyName(prefix, suffix)).getValueAsDouble();
double z = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQzName(prefix, suffix)).getValueAsDouble();
double s = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQsName(prefix, suffix)).getValueAsDouble();
return new Quaternion(x, y, z, s);
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
/**
* Finds the quaternion associated with the given namespace, prefix and suffix in scs.
*/
public static Quaternion findQuat4d(String nameSpace, String prefix, String suffix, SimulationConstructionSet scs)
{
double x = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQxName(prefix, suffix)).getValueAsDouble();
double y = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQyName(prefix, suffix)).getValueAsDouble();
double z = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQzName(prefix, suffix)).getValueAsDouble();
double s = scs.getVariable(nameSpace, YoFrameVariableNameTools.createQsName(prefix, suffix)).getValueAsDouble();
return new Quaternion(x, y, z, s);
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private static YoFramePose3D findYoFramePose3D(String nameSpace, String namePrefix, String nameSuffix, SimulationConstructionSet scs)
{
YoDouble x = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createXName(namePrefix, nameSuffix));
YoDouble y = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createYName(namePrefix, nameSuffix));
YoDouble z = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createZName(namePrefix, nameSuffix));
YoFramePoint3D position = new YoFramePoint3D(x, y, z, ReferenceFrame.getWorldFrame());
YoDouble qx = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createQxName(namePrefix, nameSuffix));
YoDouble qy = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createQyName(namePrefix, nameSuffix));
YoDouble qz = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createQzName(namePrefix, nameSuffix));
YoDouble qs = (YoDouble) scs.getVariable(nameSpace, YoFrameVariableNameTools.createQsName(namePrefix, nameSuffix));
YoFrameQuaternion orientation = new YoFrameQuaternion(qx, qy, qz, qs, ReferenceFrame.getWorldFrame());
return new YoFramePose3D(position, orientation);
}
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createQxName()方法的一些代码示例,展示了YoFrameVa
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createQsName()方法的一些代码示例,展示了YoFrameVa
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createName()方法的一些代码示例,展示了YoFrameVari
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createXName()方法的一些代码示例,展示了YoFrameVar
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createQzName()方法的一些代码示例,展示了YoFrameVa
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createZName()方法的一些代码示例,展示了YoFrameVar
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVariableNameTools.createYName()方法的一些代码示例,展示了YoFrameVar
我是一名优秀的程序员,十分优秀!