作者热门文章
- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.robotics.math.frames.YoFrameLineSegment2d.<init>()
方法的一些代码示例,展示了YoFrameLineSegment2d.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameLineSegment2d.<init>()
方法的具体详情如下:
包路径:us.ihmc.robotics.math.frames.YoFrameLineSegment2d
类名称:YoFrameLineSegment2d
方法名:<init>
暂无
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
private YoArtifactLineSegment2d(String name, DoubleYoVariable startX, DoubleYoVariable startY, DoubleYoVariable endX, DoubleYoVariable endY, Color color, double arrowHeadWidth, double arrowHeadHeight)
{
this(name, new YoFrameLineSegment2d(startX, startY, endX, endY, ReferenceFrame.getWorldFrame()), color, arrowHeadWidth, arrowHeadHeight);
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
@Override
public Artifact createArtifact()
{
Color3f color3f = appearance.getColor();
return new YoArtifactLineSegment2d(getName(), new YoFrameLineSegment2d(baseX, baseY, x, y, ReferenceFrame.getWorldFrame()), new Color(color3f.getX(), color3f.getY(), color3f.getZ()));
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public SimpleDesiredHeadingControlModuleVisualizer(ProcessedSensorsInterface processedSensors, YoVariableRegistry registry,
YoGraphicsListRegistry yoGraphicsListRegistry)
{
this.processedSensors = processedSensors;
desiredHeadingLine = new YoFrameLineSegment2d("desiredHeadingLine", "", ReferenceFrame.getWorldFrame(), registry);
finalHeadingLine = new YoFrameLineSegment2d("finalHeadingLine", "", ReferenceFrame.getWorldFrame(), registry);
if (yoGraphicsListRegistry != null)
{
ArtifactList artifactList = new ArtifactList("Simple Desired Heading");
YoArtifactLineSegment2d yoFrameLineSegment2dArtifact = new YoArtifactLineSegment2d("Desired Heading Line", desiredHeadingLine, Color.MAGENTA);
artifactList.add(yoFrameLineSegment2dArtifact);
yoFrameLineSegment2dArtifact = new YoArtifactLineSegment2d("Final Heading Line", finalHeadingLine, Color.ORANGE);
artifactList.add(yoFrameLineSegment2dArtifact);
yoGraphicsListRegistry.registerArtifactList(artifactList);
}
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public YoArtifactLineSegment2d(String name, YoFramePoint2d start, YoFramePoint2d end, Color color)
{
this(name, new YoFrameLineSegment2d(start.getYoX(), start.getYoY(), end.getYoX(), end.getYoY(), ReferenceFrame.getWorldFrame()), color);
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
YoFrameLineSegment2d segment = new YoFrameLineSegment2d((DoubleYoVariable) vars[0], (DoubleYoVariable) vars[1], (DoubleYoVariable) vars[2], (DoubleYoVariable) vars[3],
ReferenceFrame.getWorldFrame());
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoLineOfRotation = new YoFrameLineSegment2d(caption, "", "", worldFrame, registry);
YoArtifactLineSegment2d lineOfRotationArtifact =
new YoArtifactLineSegment2d(caption, yoLineOfRotation, Color.GREEN, 0.01, 0.01);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoCoRVelocityAlphaFilter, dt, registry, yoCoRPositionFiltered);
yoLineOfRotation = new YoFrameLineSegment2d(namePrefix + "LoRPosition", "", generalDescription, worldFrame, registry);
yoAngleOfLoR = new DoubleYoVariable(namePrefix + "AngleOfLoR", generalDescription, registry);
yoLoRAngularVelocityAlphaFilter = new DoubleYoVariable(namePrefix + "LoRAngularVelocityAlphaFilter", generalDescription, registry);
我是一名优秀的程序员,十分优秀!