作者热门文章
- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicShape
类的一些代码示例,展示了YoGraphicShape
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphicShape
类的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.YoGraphicShape
类名称:YoGraphicShape
暂无
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public YoGraphic duplicate(YoVariableRegistry newRegistry)
{
return new YoGraphicShape(getName(), getLinkGraphics(), yoFramePoint.duplicate(newRegistry), yoFrameYawPitchRoll.duplicate(newRegistry), scale);
}
}
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
private void setupNextFootstepVisualization()
{
nextFootstepPoses = new ArrayList<>();
for (int i = 0; i < numberOfFootstepsToConsider; i++)
{
Graphics3DObject nextFootstepGraphic = new Graphics3DObject();
nextFootstepGraphic.addExtrudedPolygon(contactPointsInFootFrame, footstepHeight, nextFootstepColor);
YoFramePoseUsingYawPitchRoll nextFootstepPose = new YoFramePoseUsingYawPitchRoll("NextFootstep" + i + "Pose", worldFrame, registry);
nextFootstepPoses.add(nextFootstepPose);
graphicsListRegistry
.registerYoGraphic("UpcomingFootsteps", new YoGraphicShape("NextFootstep" + i + "Viz", nextFootstepGraphic, nextFootstepPose, 1.0));
}
}
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
private void setupCurrentFootPoseVisualization()
{
currentFootLocations = new SideDependentList<>();
for (RobotSide side : RobotSide.values())
{
Graphics3DObject footstepGraphic = new Graphics3DObject();
footstepGraphic.addExtrudedPolygon(contactPointsInFootFrame, footstepHeight, side == RobotSide.LEFT ? leftFootstepColor : rightFootstepColor);
YoFramePoseUsingYawPitchRoll footPose = new YoFramePoseUsingYawPitchRoll(side.getCamelCaseName() + "FootPose", worldFrame, registry);
currentFootLocations.put(side, footPose);
graphicsListRegistry.registerYoGraphic("currentFootPose", new YoGraphicShape(side.getCamelCaseName() + "FootViz", footstepGraphic, footPose, 1.0));
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
YoGraphicShape comViz = new YoGraphicShape(rigidBodyName + "CoMEllipsoid", createEllipsoid(inertiaMatrix, mass, appearance), comPosition,
comOrientation, 1.0);
yoGraphics.add(comViz);
代码示例来源:origin: us.ihmc/simulation-construction-set-test
boxPosition.set(boxSize / 2.0, boxSize / 2.0, boxSize / 2.0);
YoFrameYawPitchRoll boxOrientation = new YoFrameYawPitchRoll("boxOrientation", worldFrame, registry);
YoGraphicShape yoGraphicBoxGhost = new YoGraphicShape("boxGhost", boxGhostGraphics, boxPosition, boxOrientation, boxSize);
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicShape.()方法的一些代码示例,展示了YoGraphicShape.()的具体用
我是一名优秀的程序员,十分优秀!