作者热门文章
- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.robotics.referenceFrames.ZUpPreserveYReferenceFrame
类的一些代码示例,展示了ZUpPreserveYReferenceFrame
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZUpPreserveYReferenceFrame
类的具体详情如下:
包路径:us.ihmc.robotics.referenceFrames.ZUpPreserveYReferenceFrame
类名称:ZUpPreserveYReferenceFrame
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public ZUpPreserveYReferenceFrame(ReferenceFrame worldFrame, FramePoint3D origin, String name)
{
super(name, worldFrame, false, true);
this.worldFrame = worldFrame;
this.origin = new FramePoint3D(origin);
this.update();
}
代码示例来源:origin: us.ihmc/ihmc-whole-body-controller
private static CenterOfMassCalculator createCenterOfMassCalculatorInJointZUpFrame(RigidBodyBasics rootBody, boolean preserveY)
{
if (DEBUG) System.out.println("\nCenterOfMassCalibrationTool: rootBody = " + rootBody);
JointBasics parentJoint = rootBody.getParentJoint();
if (DEBUG) System.out.println("parentJoint = " + parentJoint);
ReferenceFrame jointFrame = parentJoint.getFrameAfterJoint();
if (DEBUG) System.out.println("jointFrame = " + jointFrame);
String jointName = parentJoint.getName();
if (DEBUG) System.out.println("jointName = " + jointName);
ReferenceFrame jointZUpFrame;
if (preserveY)
{
jointZUpFrame = new ZUpPreserveYReferenceFrame(ReferenceFrame.getWorldFrame(), jointFrame, jointName + "ZUp");
}
else
{
jointZUpFrame = new ZUpFrame(ReferenceFrame.getWorldFrame(), jointFrame, jointName + "ZUp");
}
CenterOfMassCalculator centerOfMassCalculator = new CenterOfMassCalculator(rootBody, jointZUpFrame);
return centerOfMassCalculator;
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
jointZUpFrame = new ZUpPreserveYReferenceFrame(ReferenceFrame.getWorldFrame(), jointFrame, jointName + "ZUp");
代码示例来源:origin: us.ihmc/IHMCWholeBodyController
private static CenterOfMassCalculator createCenterOfMassCalculatorInJointZUpFrame(RigidBody rootBody, boolean preserveY)
{
if (DEBUG) System.out.println("\nCenterOfMassCalibrationTool: rootBody = " + rootBody);
InverseDynamicsJoint parentJoint = rootBody.getParentJoint();
if (DEBUG) System.out.println("parentJoint = " + parentJoint);
ReferenceFrame jointFrame = parentJoint.getFrameAfterJoint();
if (DEBUG) System.out.println("jointFrame = " + jointFrame);
String jointName = parentJoint.getName();
if (DEBUG) System.out.println("jointName = " + jointName);
ReferenceFrame jointZUpFrame;
if (preserveY)
{
jointZUpFrame = new ZUpPreserveYReferenceFrame(ReferenceFrame.getWorldFrame(), jointFrame, jointName + "ZUp");
}
else
{
jointZUpFrame = new ZUpFrame(ReferenceFrame.getWorldFrame(), jointFrame, jointName + "ZUp");
}
RigidBody[] rigidBodies = ScrewTools.computeSubtreeSuccessors(rootBody.getParentJoint());
CenterOfMassCalculator centerOfMassCalculator = new CenterOfMassCalculator(rigidBodies, jointZUpFrame);
return centerOfMassCalculator;
}
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public ZUpPreserveYReferenceFrame(ReferenceFrame worldFrame, FramePoint origin, String name)
{
super(name, worldFrame, false, false, true);
this.worldFrame = worldFrame;
this.origin = new FramePoint(origin);
this.update();
}
本文整理了Java中us.ihmc.robotics.referenceFrames.ZUpPreserveYReferenceFrame.()方法的一些代码示例,展示了ZUpPreserveYRef
我是一名优秀的程序员,十分优秀!