- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getLinearPart()
方法的一些代码示例,展示了Wrench.getLinearPart()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wrench.getLinearPart()
方法的具体详情如下:
包路径:us.ihmc.robotics.screwTheory.Wrench
类名称:Wrench
方法名:getLinearPart
暂无
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public void update()
{
foreSensorData.getWrench(wrenchToPack);
wrenchToPack.getLinearPart(vectorToPack);
touchdownDetected.set(vectorToPack.length() > touchdownForceThreshold.getDoubleValue());
touchdownDetectedFiltered.update();
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
tempWrench.getLinearPart(tempVector);
tempVector.changeFrame(ReferenceFrame.getWorldFrame());
force.set(tempVector);
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
/**
* Takes the dot product of this twist and a wrench, resulting in the (reference frame independent) instantaneous power.
* @param wrench a wrench that
* 1) has an 'onWhat' reference frame that is the same as this twist's 'bodyFrame' reference frame.
* 2) is expressed in the same reference frame as this twist
* @return the instantaneous power associated with this twist and the wrench
*/
public double dot(Wrench wrench)
{
this.bodyFrame.checkReferenceFrameMatch(wrench.getBodyFrame());
this.expressedInFrame.checkReferenceFrameMatch(wrench.getExpressedInFrame());
double power = this.angularPart.dot(wrench.getAngularPart()) + this.linearPart.dot(wrench.getLinearPart());
return power;
}
代码示例来源:origin: us.ihmc/IHMCWholeBodyController
private void updateFootSensorRawMeasurement()
{
for (RobotSide robotSide : RobotSide.values)
{
FootSwitchInterface footSwitch = footSwitches.get(robotSide);
tempWrench.setToZero(footSwitch.getMeasurementFrame(), footSwitch.getMeasurementFrame());
tempFrameVector.setToZero(footSwitch.getMeasurementFrame());
footSwitch.computeAndPackFootWrench(tempWrench);
tempWrench.getLinearPart(tempFrameVector);
footForcesRaw.get(robotSide).set(tempFrameVector);
tempWrench.getAngularPart(tempFrameVector);
footTorquesRaw.get(robotSide).set(tempFrameVector);
footForcesRawFiltered.get(robotSide).update();
footTorquesRawFiltered.get(robotSide).update();
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
private void readSensorData(Wrench footWrenchToPack)
{
forceSensorData.getWrench(footWrenchToPack);
// First in measurement frame for all the frames...
footForce.setToZero(footWrenchToPack.getExpressedInFrame());
footWrenchToPack.getLinearPart(footForce);
yoFootForce.set(footForce);
footTorque.setToZero(footWrenchToPack.getExpressedInFrame());
footWrenchToPack.getAngularPart(footTorque);
yoFootTorque.set(footTorque);
// magnitude of force part is independent of frame
footForceMagnitude.set(footForce.length());
// Now change to frame after the parent joint (ankle or wrist for example):
footWrenchInBodyFixedFrame.set(footWrenchToPack);
footWrenchInBodyFixedFrame.changeFrame(contactablePlaneBody.getRigidBody().getBodyFixedFrame());
footForce.setToZero(footWrenchInBodyFixedFrame.getExpressedInFrame());
footWrenchInBodyFixedFrame.getLinearPart(footForce);
footTorque.setToZero(footWrenchInBodyFixedFrame.getExpressedInFrame());
footWrenchInBodyFixedFrame.getAngularPart(footTorque);
footForce.changeFrame(contactablePlaneBody.getFrameAfterParentJoint());
yoFootForceInFoot.set(footForce);
footTorque.changeFrame(contactablePlaneBody.getFrameAfterParentJoint());
yoFootTorqueInFoot.set(footTorque);
footForce.changeFrame(ReferenceFrame.getWorldFrame());
footTorque.changeFrame(ReferenceFrame.getWorldFrame());
yoFootForceInWorld.set(footForce);
yoFootTorqueInWorld.set(footTorque);
updateSensorVisualizer();
}
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench类的一些代码示例,展示了Wrench类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getLinearPartIncludingFrame()方法的一些代码示例,展示了Wrench.getLi
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getLinearPart()方法的一些代码示例,展示了Wrench.getLinearPart()的具体用
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getAngularPartX()方法的一些代码示例,展示了Wrench.getAngularPartX()
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.negate()方法的一些代码示例,展示了Wrench.negate()的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getAngularPartIncludingFrame()方法的一些代码示例,展示了Wrench.getA
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getAngularPartY()方法的一些代码示例,展示了Wrench.getAngularPartY()
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getBodyFrame()方法的一些代码示例,展示了Wrench.getBodyFrame()的具体用法。
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getAngularPartZ()方法的一些代码示例,展示了Wrench.getAngularPartZ()
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.setAngularPart()方法的一些代码示例,展示了Wrench.setAngularPart()的具
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.changeBodyFrameAttachedToSameBody()方法的一些代码示例,展示了Wrench
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getLinearPartY()方法的一些代码示例,展示了Wrench.getLinearPartY()的具
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getAngularPart()方法的一些代码示例,展示了Wrench.getAngularPart()的具
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.sub()方法的一些代码示例,展示了Wrench.sub()的具体用法。这些代码示例主要来源于Github/
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getExpressedInFrame()方法的一些代码示例,展示了Wrench.getExpressedI
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.setLinearPart()方法的一些代码示例,展示了Wrench.setLinearPart()的具体用
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getLinearPartZ()方法的一些代码示例,展示了Wrench.getLinearPartZ()的具
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.set()方法的一些代码示例,展示了Wrench.set()的具体用法。这些代码示例主要来源于Github/
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.getLinearPartX()方法的一些代码示例,展示了Wrench.getLinearPartX()的具
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench.changeFrame()方法的一些代码示例,展示了Wrench.changeFrame()的具体用法。这些
我是一名优秀的程序员,十分优秀!