- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D.getYoY()
方法的一些代码示例,展示了YoFrameVector3D.getYoY()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameVector3D.getYoY()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFrameVector3D
类名称:YoFrameVector3D
方法名:getYoY
暂无
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public YoVariable<?>[] getVariables()
{
return new YoDouble[] {base.getYoX(), base.getYoY(), base.getYoZ(), vector.getYoX(), vector.getYoY(), vector.getYoZ()};
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public YoDouble[] getVariables()
{
return new YoDouble[] {base.getYoX(), base.getYoY(), base.getYoZ(), vector.getYoX(), vector.getYoY(), vector.getYoZ()};
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoGraphicVector(String name, YoFramePoint3D startPoint, YoFrameVector3D frameVector, double scale, AppearanceDefinition appearance,
boolean drawArrowhead)
{
this(name, startPoint.getYoX(), startPoint.getYoY(), startPoint.getYoZ(), frameVector.getYoX(), frameVector.getYoY(), frameVector.getYoZ(), scale,
appearance, drawArrowhead);
if (!startPoint.getReferenceFrame().isWorldFrame() || !frameVector.getReferenceFrame().isWorldFrame())
{
System.err.println("Warning: Should be in a World Frame to create a YoGraphicVector. startPoint = " + startPoint + ", frameVector = " + frameVector);
}
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
private YoGraphicLineSegment(String name, YoDouble startX, YoDouble startY, YoDouble startZ, YoDouble endX, YoDouble endY, YoDouble endZ,
YoFrameVector3D yoFrameVector, double scaleFactor, AppearanceDefinition appearance, boolean drawArrowhead)
{
super(name, startX, startY, startZ, yoFrameVector.getYoX(), yoFrameVector.getYoY(), yoFrameVector.getYoZ(), scaleFactor, appearance, drawArrowhead);
vector = yoFrameVector;
start = new YoFramePoint3D(startX, startY, startZ, ReferenceFrame.getWorldFrame());
end = new YoFramePoint3D(endX, endY, endZ, ReferenceFrame.getWorldFrame());
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoGraphicCylinder(String name, YoFramePoint3D startPoint, YoFrameVector3D frameVector, AppearanceDefinition appearance, double lineThickness)
{
this(name, startPoint.getYoX(), startPoint.getYoY(), startPoint.getYoZ(), frameVector.getYoX(), frameVector.getYoY(), frameVector.getYoZ(), appearance,
lineThickness);
if (!startPoint.getReferenceFrame().isWorldFrame() || !frameVector.getReferenceFrame().isWorldFrame())
{
System.err.println("Warning: Should be in a World Frame to create a YoGraphicCylinder. startPoint = " + startPoint + ", frameVector = " + frameVector);
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static AverageSampleYoFrameVector createAverageSampleYoFrameVector(String namePrefix, String nameSuffix, YoVariableRegistry registry, YoFrameVector3D dataSource, ReferenceFrame referenceFrame)
{
AverageSampleYoDouble x = new AverageSampleYoDouble(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), dataSource.getYoX(), registry);
AverageSampleYoDouble y = new AverageSampleYoDouble(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), dataSource.getYoY(), registry);
AverageSampleYoDouble z = new AverageSampleYoDouble(YoFrameVariableNameTools.createZName(namePrefix, nameSuffix), dataSource.getYoZ(), registry);
AverageSampleYoFrameVector ret = new AverageSampleYoFrameVector(x, y, z, referenceFrame);
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static BacklashCompensatingVelocityYoFrameVector createBacklashCompensatingVelocityYoFrameVector(String namePrefix, String nameSuffix, YoDouble alpha, double dt, YoDouble slopTime,
YoVariableRegistry registry, YoFrameVector3D yoFrameVectorToDifferentiate)
{
BacklashCompensatingVelocityYoVariable xDot = new BacklashCompensatingVelocityYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), "", alpha, yoFrameVectorToDifferentiate.getYoX(), dt, slopTime,
registry);
BacklashCompensatingVelocityYoVariable yDot = new BacklashCompensatingVelocityYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), "", alpha, yoFrameVectorToDifferentiate.getYoY(), dt, slopTime,
registry);
BacklashCompensatingVelocityYoVariable zDot = new BacklashCompensatingVelocityYoVariable(YoFrameVariableNameTools.createZName(namePrefix, nameSuffix), "", alpha, yoFrameVectorToDifferentiate.getYoZ(), dt, slopTime,
registry);
BacklashCompensatingVelocityYoFrameVector ret = new BacklashCompensatingVelocityYoFrameVector(xDot, yDot, zDot, registry, yoFrameVectorToDifferentiate);
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static SecondOrderFilteredYoFrameVector createSecondOrderFilteredYoFrameVector(String namePrefix, String nameSuffix, YoVariableRegistry registry,
double dt, SecondOrderFilteredYoVariableParameters parameters, YoFrameVector3D unfilteredVector)
{
SecondOrderFilteredYoVariable x, y, z;
x = new SecondOrderFilteredYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), registry, dt, parameters, unfilteredVector.getYoX());
y = new SecondOrderFilteredYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), registry, dt, parameters, unfilteredVector.getYoY());
z = new SecondOrderFilteredYoVariable(YoFrameVariableNameTools.createZName(namePrefix, nameSuffix), registry, dt, parameters, unfilteredVector.getYoZ());
return new SecondOrderFilteredYoFrameVector(x, y, z, unfilteredVector.getReferenceFrame());
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static TimestampedVelocityYoFrameVector createFilteredVelocityYoFrameVector(String namePrefix, String nameSuffix, YoDouble timestamp,
double dt, YoVariableRegistry registry, YoFrameVector3D yoFrameVectorToDifferentiate, double epsilonChange)
{
TimestampedVelocityYoVariable xDot = new TimestampedVelocityYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), "", yoFrameVectorToDifferentiate.getYoX(),
timestamp, registry, epsilonChange);
TimestampedVelocityYoVariable yDot = new TimestampedVelocityYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), "", yoFrameVectorToDifferentiate.getYoY(),
timestamp, registry, epsilonChange);
TimestampedVelocityYoVariable zDot = new TimestampedVelocityYoVariable(YoFrameVariableNameTools.createZName(namePrefix, nameSuffix), "", yoFrameVectorToDifferentiate.getYoZ(),
timestamp, registry, epsilonChange);
TimestampedVelocityYoFrameVector ret = new TimestampedVelocityYoFrameVector(xDot, yDot, zDot, yoFrameVectorToDifferentiate.getReferenceFrame());
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static SimpleMovingAverageFilteredYoFrameVector createSimpleMovingAverageFilteredYoFrameVector(String namePrefix, String nameSuffix, int windowSize,
YoFrameVector3D unfilteredVector, YoVariableRegistry registry)
{
String xName = createXName(namePrefix, nameSuffix);
String yName = createYName(namePrefix, nameSuffix);
String zName = createZName(namePrefix, nameSuffix);
SimpleMovingAverageFilteredYoVariable x = new SimpleMovingAverageFilteredYoVariable(xName, windowSize, unfilteredVector.getYoX(), registry);
SimpleMovingAverageFilteredYoVariable y = new SimpleMovingAverageFilteredYoVariable(yName, windowSize, unfilteredVector.getYoY(), registry);
SimpleMovingAverageFilteredYoVariable z = new SimpleMovingAverageFilteredYoVariable(zName, windowSize, unfilteredVector.getYoZ(), registry);
return new SimpleMovingAverageFilteredYoFrameVector(x, y, z, unfilteredVector.getReferenceFrame());
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Creates a copy of {@code this} by finding the duplicated {@code YoVariable}s in the given
* {@link YoVariableRegistry}.
* <p>
* This method does not duplicate {@code YoVariable}s. Assuming the given registry is a duplicate
* of the registry that was used to create {@code this}, this method searches for the duplicated
* {@code YoVariable}s and use them to duplicate {@code this}.
* </p>
*
* @param newRegistry YoVariableRegistry to duplicate {@code this} to.
* @return the duplicate of {@code this}.
*/
public YoFrameVector3D duplicate(YoVariableRegistry newRegistry)
{
YoDouble x = (YoDouble) newRegistry.getVariable(getYoX().getFullNameWithNameSpace());
YoDouble y = (YoDouble) newRegistry.getVariable(getYoY().getFullNameWithNameSpace());
YoDouble z = (YoDouble) newRegistry.getVariable(getYoZ().getFullNameWithNameSpace());
return new YoFrameVector3D(x, y, z, getReferenceFrame());
}
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
@Override
public String getYoVariableOrder()
{
String variableOrder = force.getYoX().getName() + "," + force.getYoY().getName() + "," + force.getYoZ().getName() + "," + position.getYoX().getName() + "," + position.getYoY().getName() + ","
+ position.getYoZ().getName() + "," + groundContactPoint.getYoFootSwitch().getName();
return variableOrder;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public Artifact createArtifact()
{
MutableColor color3f = appearance.getColor();
YoDouble endPointX = new YoDouble(getName() + "ArtifactEndPointX", base.getYoX().getYoVariableRegistry());
YoDouble endPointY = new YoDouble(getName() + "ArtifactEndPointY", base.getYoY().getYoVariableRegistry());
base.getYoX().addVariableChangedListener(v -> endPointX.set(base.getX() + vector.getX()));
base.getYoY().addVariableChangedListener(v -> endPointY.set(base.getY() + vector.getY()));
vector.getYoX().addVariableChangedListener(v -> endPointX.set(base.getX() + vector.getX()));
vector.getYoY().addVariableChangedListener(v -> endPointY.set(base.getY() + vector.getY()));
return new YoArtifactLineSegment2d(getName(),
new YoFrameLineSegment2D(base.getYoX(), base.getYoY(), endPointX, endPointY, ReferenceFrame.getWorldFrame()),
color3f.get());
}
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getVector3dCopy()方法的一些代码示例,展示了YoFrameVector.get
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.normalize()方法的一些代码示例,展示了YoFrameVector.normalize
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.setY()方法的一些代码示例,展示了YoFrameVector.setY()的具体用法。这些
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getYoX()方法的一些代码示例,展示了YoFrameVector.getYoX()的具体用
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getYoY()方法的一些代码示例,展示了YoFrameVector.getYoY()的具体用
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.setToNaN()方法的一些代码示例,展示了YoFrameVector.setToNaN()
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.scale()方法的一些代码示例,展示了YoFrameVector.scale()的具体用法。
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getFrameVectorCopy()方法的一些代码示例,展示了YoFrameVector.
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.setAndMatchFrame()方法的一些代码示例,展示了YoFrameVector.se
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getFrameTupleIncludingFrame()方法的一些代码示例,展示了YoFra
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getZ()方法的一些代码示例,展示了YoFrameVector.getZ()的具体用法。这些
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.set()方法的一些代码示例,展示了YoFrameVector.set()的具体用法。这些代码
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.dot()方法的一些代码示例,展示了YoFrameVector.dot()的具体用法。这些代码
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getX()方法的一些代码示例,展示了YoFrameVector.getX()的具体用法。这些
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getFrameTuple()方法的一些代码示例,展示了YoFrameVector.getFr
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.sub()方法的一些代码示例,展示了YoFrameVector.sub()的具体用法。这些代码
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.setToZero()方法的一些代码示例,展示了YoFrameVector.setToZero
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.setX()方法的一些代码示例,展示了YoFrameVector.setX()的具体用法。这些
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getYoZ()方法的一些代码示例,展示了YoFrameVector.getYoZ()的具体用
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getReferenceFrame()方法的一些代码示例,展示了YoFrameVector.g
我是一名优秀的程序员,十分优秀!