- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector2D.getYoX()
方法的一些代码示例,展示了YoFrameVector2D.getYoX()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameVector2D.getYoX()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFrameVector2D
类名称:YoFrameVector2D
方法名:getYoX
暂无
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Gets the internal reference to the x-component used for this line direction.
*
* @return the direction x-component as {@code YoVariable}.
*/
public YoDouble getYoDirectionX()
{
return direction.getYoX();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public YoArtifactOval(String name, YoFramePoint2D center, YoFrameVector2D radii, Color color)
{
super(name, new double[0], color, center.getYoX(), center.getYoY(), radii.getYoX(), radii.getYoY());
this.center = center;
this.radii = radii;
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Creates a new {@code YoFrameLine2D} using the given {@code YoVariable}s and sets its reference
* frame to {@code referenceFrame}.
*
* @param point the {@code YoFramePoint2D} to use internally for this line point.
* @param direction the {@code YoFrameVector2D} to use internally for this line direction.
* @throws ReferenceFrameMismatchException if {@code point} and {@code direction} are not
* expressed in the same reference frame.
*/
public YoFrameLine2D(YoFramePoint2D point, YoFrameVector2D direction)
{
this(point.getYoX(), point.getYoY(), direction.getYoX(), direction.getYoY(), point.getReferenceFrame());
point.checkReferenceFrameMatch(direction);
}
代码示例来源:origin: us.ihmc/ihmc-simulation-toolkit
public ActualCMPComputer(boolean createViz, SimulationConstructionSet scs, FloatingRootJointRobot simulatedRobot)
{
this.simulatedRobot = simulatedRobot;
simulateDT = scs.getDT();
gravity = simulatedRobot.getGravityZ();
momentumChange = FilteredVelocityYoFrameVector
.createFilteredVelocityYoFrameVector("rateOfChangeLinearMomentum", "", alpha, simulateDT, registry, yoLinearMomentum);
if (createViz)
{
yoGraphicsListRegistry = new YoGraphicsListRegistry();
YoArtifactPosition cmpViz = new YoArtifactPosition("SimulationCMP", yoCmp.getYoX(), yoCmp.getYoY(), GraphicType.BALL_WITH_CROSS, Color.RED, 0.005);
cmpViz.setVisible(visibleByDefault);
yoGraphicsListRegistry.registerArtifact(getClass().getSimpleName(), cmpViz);
scs.addYoGraphicsListRegistry(yoGraphicsListRegistry);
}
else
{
yoGraphicsListRegistry = null;
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static RateLimitedYoFrameVector2d createRateLimitedYoFrameVector2d(String namePrefix, String nameSuffix, YoVariableRegistry registry,
YoDouble maxRate, double dt, YoFrameVector2D unfilteredVector)
{
RateLimitedYoVariable x = new RateLimitedYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), registry, maxRate, unfilteredVector.getYoX(), dt);
RateLimitedYoVariable y = new RateLimitedYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), registry, maxRate, unfilteredVector.getYoY(), dt);
RateLimitedYoFrameVector2d ret = new RateLimitedYoFrameVector2d(x, y, unfilteredVector.getReferenceFrame());
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static BetaFilteredYoFrameVector2d createBetaFilteredYoFrameVector2d(String namePrefix, String nameSuffix, YoVariableRegistry registry, int beta, YoFrameVector2D unfilteredVector)
{
// beta is a int
BetaFilteredYoVariable x = new BetaFilteredYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), registry, beta, unfilteredVector.getYoX());
BetaFilteredYoVariable y = new BetaFilteredYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), registry, beta, unfilteredVector.getYoY());
BetaFilteredYoFrameVector2d ret = new BetaFilteredYoFrameVector2d(x, y, unfilteredVector.getReferenceFrame());
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static AccelerationLimitedYoFrameVector2d createAccelerationLimitedYoFrameVector2d(String namePrefix, String nameSuffix, YoVariableRegistry registry,
YoDouble maxRate, YoDouble maxAcceleration, double dt, YoFrameVector2D unfilteredVector)
{
AccelerationLimitedYoVariable x = new AccelerationLimitedYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), registry, maxRate, maxAcceleration, unfilteredVector.getYoX(), dt);
AccelerationLimitedYoVariable y = new AccelerationLimitedYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), registry, maxRate, maxAcceleration, unfilteredVector.getYoY(), dt);
AccelerationLimitedYoFrameVector2d ret = new AccelerationLimitedYoFrameVector2d(x, y, unfilteredVector.getReferenceFrame());
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static RateLimitedYoFrameVector2d createRateLimitedYoFrameVector2d(String namePrefix, String nameSuffix, YoVariableRegistry registry,
double maxRate, double dt, YoFrameVector2D unfilteredVector)
{
RateLimitedYoVariable x = new RateLimitedYoVariable(YoFrameVariableNameTools.createXName(namePrefix, nameSuffix), registry, maxRate, unfilteredVector.getYoX(), dt);
RateLimitedYoVariable y = new RateLimitedYoVariable(YoFrameVariableNameTools.createYName(namePrefix, nameSuffix), registry, maxRate, unfilteredVector.getYoY(), dt);
RateLimitedYoFrameVector2d ret = new RateLimitedYoFrameVector2d(x, y, unfilteredVector.getReferenceFrame());
return ret;
}
代码示例来源: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 YoFrameVector2D duplicate(YoVariableRegistry newRegistry)
{
YoDouble x = (YoDouble) newRegistry.getVariable(getYoX().getFullNameWithNameSpace());
YoDouble y = (YoDouble) newRegistry.getVariable(getYoY().getFullNameWithNameSpace());
return new YoFrameVector2D(x, y, getReferenceFrame());
}
}
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D.getYoX()方法的一些代码示例,展示了YoFrameVector3D.getYoX()
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D.getYoX()方法的一些代码示例,展示了YoFramePoint3D.getYoX()的具
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector2D.getYoX()方法的一些代码示例,展示了YoFrameVector2D.getYoX()
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint2D.getYoX()方法的一些代码示例,展示了YoFramePoint2D.getYoX()的具
本文整理了Java中us.ihmc.robotics.math.frames.YoFramePoint.getYoX()方法的一些代码示例,展示了YoFramePoint.getYoX()的具体用法。
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector.getYoX()方法的一些代码示例,展示了YoFrameVector.getYoX()的具体用
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVector2d.getYoX()方法的一些代码示例,展示了YoFrameVector2d.getYoX()
本文整理了Java中us.ihmc.robotics.math.frames.YoFramePoint2d.getYoX()方法的一些代码示例,展示了YoFramePoint2d.getYoX()的具
我是一名优秀的程序员,十分优秀!