- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D.getYoY()
方法的一些代码示例,展示了YoFramePoint3D.getYoY()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFramePoint3D.getYoY()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFramePoint3D
类名称:YoFramePoint3D
方法名:getYoY
暂无
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Gets the internal reference to the y-coordinate used for the position of this pose.
*
* @return the position y-coordinate as {@code YoVariable}.
*/
public YoDouble getYoY()
{
return position.getYoY();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoArtifactOval(String name, YoFramePoint3D center, YoDouble radius, Color color)
{
this(name, center.getYoX(), center.getYoY(), radius, radius, color);
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public YoDouble getYoY()
{
return getPosition().getYoY();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public YoVariable<?>[] getVariables()
{
YoVariable<?>[] yoVariableList = new YoVariable<?>[3 * ccwOrderedYoFramePoints.length + 1];
for (int i = 0; i < ccwOrderedYoFramePoints.length; i++)
{
yoVariableList[i * 3] = ccwOrderedYoFramePoints[i].getYoX();
yoVariableList[i * 3 + 1] = ccwOrderedYoFramePoints[i].getYoY();
yoVariableList[i * 3 + 2] = ccwOrderedYoFramePoints[i].getYoZ();
}
yoVariableList[ccwOrderedYoFramePoints.length * 3] = numberOfPoints;
return yoVariableList;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public YoDouble[] getVariables()
{
return new YoDouble[] {start.getYoX(), start.getYoY(), start.getYoZ(), end.getYoX(), end.getYoY(), end.getYoZ()};
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoVariable<?>[] getVariables()
{
YoVariable<?>[] vars = new YoVariable[9];
int i = 0;
vars[i++] = pointOne.getYoX();
vars[i++] = pointOne.getYoY();
vars[i++] = pointOne.getYoZ();
vars[i++] = pointTwo.getYoX();
vars[i++] = pointTwo.getYoY();
vars[i++] = pointTwo.getYoZ();
vars[i++] = pointThree.getYoX();
vars[i++] = pointThree.getYoY();
vars[i++] = pointThree.getYoZ();
return vars;
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoGraphicLineSegment(String name, YoFramePoint3D startPoint, YoFramePoint3D endPoint, double scale, AppearanceDefinition appearance,
boolean drawArrowhead)
{
this(name, startPoint.getYoX(), startPoint.getYoY(), startPoint.getYoZ(), endPoint.getYoX(), endPoint.getYoY(), endPoint.getYoZ(), scale, appearance,
drawArrowhead);
if (!startPoint.getReferenceFrame().isWorldFrame() || !endPoint.getReferenceFrame().isWorldFrame())
{
System.err.println("Warning: Should be in a World Frame to create a YoGraphicLineSegment. startPoint = " + startPoint + ", endPoint = " + endPoint);
}
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoGraphicPosition(String name, YoFramePoint3D framePoint, double scale, AppearanceDefinition appearance, GraphicType type)
{
super(name);
framePoint.checkReferenceFrameMatch(ReferenceFrame.getWorldFrame());
x = framePoint.getYoX();
y = framePoint.getYoY();
z = framePoint.getYoZ();
this.scale = scale;
this.type = type;
this.appearance = appearance;
}
代码示例来源: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/simulation-construction-set-tools
private void setupEvolution(SimulationConstructionSet scs, YoFramePoint3D pointToControl)
{
MidiSliderBoard evolution = new MidiSliderBoard(scs);
double min = 0.0;
double max = 1.0;
evolution.setSlider(1, pointToControl.getYoX(), min, max, 1.0);
evolution.setSlider(2, pointToControl.getYoY(), min, max, 1.0);
evolution.setSlider(3, pointToControl.getYoZ(), min, max, 1.0);
}
代码示例来源: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-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-avatar-interfaces
private void setupSlidersForSupportBaseControl()
{
int sliderChannel = 1;
for (int i = 0; i < baseControlPoints.length; i++)
{
YoFramePoint3D baseControlPoint = baseControlPoints[i];
sliderBoard.setSlider(sliderChannel++, baseControlPoint.getYoX(), baseControlPoint.getX() - 2, baseControlPoint.getX() + 2);
sliderBoard.setSlider(sliderChannel++, baseControlPoint.getYoY(), baseControlPoint.getY() - 2, baseControlPoint.getY() + 2);
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
private void setupSlidersForSupportBaseTargetControl()
{
int sliderChannel = 1;
for (int i = 0; i < baseControlTargetPoints.length; i++)
{
YoFramePoint3D baseControlTargetPoint = baseControlTargetPoints[i];
sliderBoard.setSlider(sliderChannel++, baseControlTargetPoint.getYoX(), baseControlTargetPoint.getX() - 2, baseControlTargetPoint.getX() + 2);
sliderBoard.setSlider(sliderChannel++, baseControlTargetPoint.getYoY(), baseControlTargetPoint.getY() - 2, baseControlTargetPoint.getY() + 2);
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static BacklashCompensatingVelocityYoFrameVector createBacklashCompensatingVelocityYoFrameVector(String namePrefix, String nameSuffix, YoDouble alpha, double dt, YoDouble slopTime,
YoVariableRegistry registry, YoFramePoint3D yoFramePointToDifferentiate)
{
BacklashCompensatingVelocityYoVariable xDot = new BacklashCompensatingVelocityYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), "", alpha, yoFramePointToDifferentiate.getYoX(), dt, slopTime,
registry);
BacklashCompensatingVelocityYoVariable yDot = new BacklashCompensatingVelocityYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), "", alpha, yoFramePointToDifferentiate.getYoY(), dt, slopTime,
registry);
BacklashCompensatingVelocityYoVariable zDot = new BacklashCompensatingVelocityYoVariable(YoFrameVariableNameTools.createZName(namePrefix, nameSuffix), "", alpha, yoFramePointToDifferentiate.getYoZ(), dt, slopTime,
registry);
BacklashCompensatingVelocityYoFrameVector ret = new BacklashCompensatingVelocityYoFrameVector(xDot, yDot, zDot, registry, yoFramePointToDifferentiate);
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static TimestampedVelocityYoFrameVector createFilteredVelocityYoFrameVector(String namePrefix, String nameSuffix, YoDouble timestamp,
double dt, YoVariableRegistry registry, YoFramePoint3D yoFramePointToDifferentiate, double epsilonChange)
{
TimestampedVelocityYoVariable xDot = new TimestampedVelocityYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), "", yoFramePointToDifferentiate.getYoX(),
timestamp, registry, epsilonChange);
TimestampedVelocityYoVariable yDot = new TimestampedVelocityYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), "", yoFramePointToDifferentiate.getYoY(),
timestamp, registry, epsilonChange);
TimestampedVelocityYoVariable zDot = new TimestampedVelocityYoVariable(YoFrameVariableNameTools.createZName(namePrefix, nameSuffix), "", yoFramePointToDifferentiate.getYoZ(),
timestamp, registry, epsilonChange);
TimestampedVelocityYoFrameVector ret = new TimestampedVelocityYoFrameVector(xDot, yDot, zDot, yoFramePointToDifferentiate.getReferenceFrame());
return ret;
}
代码示例来源: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());
}
代码示例来源: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-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 YoFramePoint3D 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 YoFramePoint3D(x, y, z, getReferenceFrame());
}
}
本文整理了Java中us.ihmc.robotDataLogger.YoVariableServer类的一些代码示例,展示了YoVariableServer类的具体用法。这些代码示例主要来源于Gith
本文整理了Java中us.ihmc.robotDataLogger.YoVariableClient类的一些代码示例,展示了YoVariableClient类的具体用法。这些代码示例主要来源于Gith
本文整理了Java中us.ihmc.kalman.YoKalmanFilter类的一些代码示例,展示了YoKalmanFilter类的具体用法。这些代码示例主要来源于Github/Stackoverf
本文整理了Java中us.ihmc.robotDataLogger.YoVariablesUpdatedListener类的一些代码示例,展示了YoVariablesUpdatedListener类的
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench类的一些代码示例,展示了Wrench类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.mecano.spatial.Wrench类的一些代码示例,展示了Wrench类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Mave
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable类的一些代码示例,展示了YoVariable类的具体用法。这些代码示例主要来源于Github/Stac
本文整理了Java中us.ihmc.yoVariables.variable.YoLong类的一些代码示例,展示了YoLong类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D类的一些代码示例,展示了YoFrameVector3D类的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.yoVariables.variable.YoEnum类的一些代码示例,展示了YoEnum类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D类的一些代码示例,展示了YoFramePoint3D类的具体用法。这些代码示例主要来源于Git
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList类的一些代码示例,展示了YoGraphicsList类的具体用法。这些代码
本文整理了Java中us.ihmc.yoVariables.variable.YoBoolean类的一些代码示例,展示了YoBoolean类的具体用法。这些代码示例主要来源于Github/Stacko
本文整理了Java中us.ihmc.yoVariables.variable.YoInteger类的一些代码示例,展示了YoInteger类的具体用法。这些代码示例主要来源于Github/Stacko
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition类的一些代码示例,展示了YoGraphicPosition类的具体用
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance类的一些代码示例,展示了YoAppearance类的具体用法。这些代码示例主要
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry类的一些代码示例,展示了YoGraphicsListReg
本文整理了Java中us.ihmc.yoVariables.variable.YoDouble类的一些代码示例,展示了YoDouble类的具体用法。这些代码示例主要来源于Github/Stackove
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector2D类的一些代码示例,展示了YoFrameVector2D类的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.codecs.yuv.YUVPictureConverter类的一些代码示例,展示了YUVPictureConverter类的具体用法。这些代码示例主要来源于Git
我是一名优秀的程序员,十分优秀!