- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicReferenceFrame
类的一些代码示例,展示了YoGraphicReferenceFrame
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphicReferenceFrame
类的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.YoGraphicReferenceFrame
类名称:YoGraphicReferenceFrame
暂无
代码示例来源:origin: us.ihmc/ihmc-graphics-description
static YoGraphicReferenceFrame createAsRemoteYoGraphic(String name, YoVariable<?>[] yoVariables, double[] constants)
{
return new YoGraphicReferenceFrame(name, yoVariables, constants);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
private void updateSensorVisualizer()
{
if (dynamicGraphicForceSensorMeasurementFrame != null)
dynamicGraphicForceSensorMeasurementFrame.update();
if (dynamicGraphicForceSensorFootFrame != null)
dynamicGraphicForceSensorFootFrame.update();
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
@Override
public void update()
{
if (referenceFrame != null)
this.setToReferenceFrame(referenceFrame);
}
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
private static YoGraphicReferenceFrame yoGraphicReferenceFrameFromMessage(String name, YoVariable<?>[] vars, double[] consts,
AppearanceDefinition appearance)
{
return YoGraphicReferenceFrame.createAsRemoteYoGraphic(name, vars, consts);
}
代码示例来源:origin: us.ihmc/IHMCStateEstimation
private void setupDynamicGraphicObjects(YoGraphicsListRegistry yoGraphicsListRegistry, List<? extends IMUSensorReadOnly> imuProcessedOutputs)
{
for (int i = 0; i < imuProcessedOutputs.size(); i++)
{
YoGraphicReferenceFrame dynamicGraphicMeasurementFrame = new YoGraphicReferenceFrame(imuProcessedOutputs.get(i).getMeasurementFrame(), registry, 1.0);
dynamicGraphicMeasurementFrames.add(dynamicGraphicMeasurementFrame);
}
yoGraphicsListRegistry.registerYoGraphics("imuFrame", dynamicGraphicMeasurementFrames);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
private void updateDynamicGraphicReferenceFrames()
{
for (YoGraphicReferenceFrame frame : dynamicGraphicReferenceFrames)
{
frame.update();
}
}
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
@Override
public void update()
{
this.setToReferenceFrame(referenceFrame);
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public VisualizeFramesController(ArrayList<ReferenceFrame> referenceFrames, YoGraphicsListRegistry yoGraphicsListRegistry, double coordinateSystemLength)
{
for (ReferenceFrame frame : referenceFrames)
{
YoGraphicReferenceFrame dynamicGraphicReferenceFrame = new YoGraphicReferenceFrame(frame, registry, coordinateSystemLength);
dynamicGraphicReferenceFrames.add(dynamicGraphicReferenceFrame);
yoGraphicsList.add(dynamicGraphicReferenceFrame);
}
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
@Override
public void doControl()
{
for (YoGraphicReferenceFrame yoGraphicReferenceFrame : yoGraphicReferenceFrames)
{
yoGraphicReferenceFrame.update();
}
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
frameViz.setToReferenceFrame(controlFrame);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public CommonHumanoidReferenceFramesVisualizer(CommonHumanoidReferenceFrames referenceFrames, YoGraphicsListRegistry yoGraphicsListRegistry, YoVariableRegistry parentRegistry)
{
String vizName = referenceFrames.getClass().getSimpleName();
for (RobotSide robotSide : RobotSide.values)
{
YoGraphicReferenceFrame yoGraphic = new YoGraphicReferenceFrame(referenceFrames.getAnkleZUpFrame(robotSide), registry, 0.2);
yoGraphicsListRegistry.registerYoGraphic(vizName, yoGraphic);
referenceFramesVisualizers.add(yoGraphic);
}
YoGraphicReferenceFrame midFeetFrame = new YoGraphicReferenceFrame(referenceFrames.getMidFeetZUpFrame(), registry, 0.2);
yoGraphicsListRegistry.registerYoGraphic(vizName, midFeetFrame);
referenceFramesVisualizers.add(midFeetFrame);
YoGraphicReferenceFrame comFrame = new YoGraphicReferenceFrame(referenceFrames.getCenterOfMassFrame(), registry, 0.2);
yoGraphicsListRegistry.registerYoGraphic(vizName, comFrame);
referenceFramesVisualizers.add(comFrame);
YoGraphicReferenceFrame pelvisFrame = new YoGraphicReferenceFrame(referenceFrames.getPelvisFrame(), registry, 0.2);
yoGraphicsListRegistry.registerYoGraphic(vizName, pelvisFrame);
referenceFramesVisualizers.add(pelvisFrame);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
private void updateGraphics()
{
for (int i = 0; i < dynamicGraphicReferenceFrames.size(); i++)
{
dynamicGraphicReferenceFrames.get(i).update();
}
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public InverseDynamicsMechanismReferenceFrameVisualizer(RigidBodyBasics rootBody, YoGraphicsListRegistry yoGraphicsListRegistry,
double length)
{
YoGraphicsList yoGraphicsList = new YoGraphicsList(name);
List<JointBasics> jointStack = new ArrayList<JointBasics>(rootBody.getChildrenJoints());
while (!jointStack.isEmpty())
{
JointBasics joint = jointStack.get(0);
ReferenceFrame referenceFrame = joint.getSuccessor().getBodyFixedFrame();
YoGraphicReferenceFrame yoGraphicReferenceFrame = new YoGraphicReferenceFrame(referenceFrame, registry, false, length);
yoGraphicsList.add(yoGraphicReferenceFrame);
yoGraphicReferenceFrames.add(yoGraphicReferenceFrame);
List<? extends JointBasics> childrenJoints = joint.getSuccessor().getChildrenJoints();
jointStack.addAll(childrenJoints);
jointStack.remove(joint);
}
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public void update()
{
for (int i = 0; i < referenceFramesVisualizers.size(); i++)
{
referenceFramesVisualizers.get(i).update();
}
}
}
代码示例来源:origin: us.ihmc/ihmc-perception
cameraGraphic = new YoGraphicReferenceFrame(cameraReferenceFrame, registry, true, 0.5);
detectorGraphic = new YoGraphicReferenceFrame(detectorReferenceFrame, registry, true, 1.0);
locatedFiducialGraphic = new YoGraphicReferenceFrame(locatedFiducialReferenceFrame, registry, true, 0.1);
reportedFiducialGraphic = new YoGraphicReferenceFrame(reportedFiducialReferenceFrame, registry, true, 0.2);
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
@Override
public void doControl()
{
for (int i = 0; i < yoGraphicReferenceFrames.size(); i++)
{
yoGraphicReferenceFrames.get(i).update();
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
private void createFrameVisualizers(YoGraphicsListRegistry yoGraphicsListRegistry, FullHumanoidRobotModel fullRobotModel, String listName, boolean enable)
{
YoGraphicsList list = new YoGraphicsList(listName);
if (yoGraphicsListRegistry != null)
{
for (RobotSide robotSide : RobotSide.values)
{
ReferenceFrame handPositionControlFrame = fullRobotModel.getHandControlFrame(robotSide);
if (handPositionControlFrame != null)
{
YoGraphicReferenceFrame dynamicGraphicReferenceFrame = new YoGraphicReferenceFrame(handPositionControlFrame, registry, 0.1);
dynamicGraphicReferenceFrames.add(dynamicGraphicReferenceFrame);
list.add(dynamicGraphicReferenceFrame);
}
}
yoGraphicsListRegistry.registerYoGraphicsList(list);
if (!enable)
list.hideYoGraphics();
}
}
代码示例来源:origin: us.ihmc/IHMCStateEstimation
private void updateVisualizers()
{
if (copVisualizer != null)
copVisualizer.update();
if (visualizeMeasurementFrames)
{
for (int i = 0; i < dynamicGraphicMeasurementFrames.size(); i++)
dynamicGraphicMeasurementFrames.get(i).update();
}
if (ENABLE_JOINT_TORQUES_FROM_FORCE_SENSORS_VIZ)
jointTorqueFromForceSensorVisualizer.update();
}
代码示例来源:origin: us.ihmc/IHMCPerception
cameraGraphic = new YoGraphicReferenceFrame(cameraReferenceFrame, registry, 0.5);
detectorGraphic = new YoGraphicReferenceFrame(detectorReferenceFrame, registry, 1.0);
locatedFiducialGraphic = new YoGraphicReferenceFrame(locatedFiducialReferenceFrame, registry, 0.1);
reportedFiducialGraphic = new YoGraphicReferenceFrame(reportedFiducialReferenceFrame, registry, 0.2);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
private void initialize()
{
sphereVoxelShape = new SphereVoxelShape(gridFrame, voxelSize, numberOfRays, numberOfRotationsAroundRay, SphereVoxelType.graspOrigin);
voxel3dGrid = new Voxel3DGrid(gridFrame, sphereVoxelShape, gridSizeInNumberOfVoxels, voxelSize);
if (reachabilityMapFileWriter != null)
reachabilityMapFileWriter.initialize(solver.getRobotArmJoints(), voxel3dGrid);
gridFrameViz.update();
scs.addStaticLinkGraphics(ReachabilityMapTools.createBoundingBoxGraphics(voxel3dGrid.getMinPoint(), voxel3dGrid.getMaxPoint()));
}
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.setRootTransform()方法的一些代码示例,展示了YoGraphic.
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.toString()方法的一些代码示例,展示了YoGraphic.toString
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.isGraphicObjectShowing()方法的一些代码示例,展示了YoGr
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.setVisible()方法的一些代码示例,展示了YoGraphic.setVis
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.containsNaN()方法的一些代码示例,展示了YoGraphic.conta
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.update()方法的一些代码示例,展示了YoGraphic.update()的具
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.computeRotationTranslation()方法的一些代码示例,展示了
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.hideGraphicObject()方法的一些代码示例,展示了YoGraphic
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList类的一些代码示例,展示了YoGraphicsList类的具体用法。这些代码
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition类的一些代码示例,展示了YoGraphicPosition类的具体用
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry类的一些代码示例,展示了YoGraphicsListReg
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicVector类的一些代码示例,展示了YoGraphicVector类的具体用法。这些
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPolygon类的一些代码示例,展示了YoGraphicPolygon类的具体用法。
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicReferenceFrame类的一些代码示例,展示了YoGraphicReferen
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicCoordinateSystem类的一些代码示例,展示了YoGraphicCoord
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicLineSegment类的一些代码示例,展示了YoGraphicLineSegmen
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic类的一些代码示例,展示了YoGraphic类的具体用法。这些代码示例主要来源于Git
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicShape类的一些代码示例,展示了YoGraphicShape类的具体用法。这些代码
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicText类的一些代码示例,展示了YoGraphicText类的具体用法。这些代码示例
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicCylinder类的一些代码示例,展示了YoGraphicCylinder类的具体用
我是一名优秀的程序员,十分优秀!