- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry.setYoGraphicsUpdatedRemotely()
方法的一些代码示例,展示了YoGraphicsListRegistry.setYoGraphicsUpdatedRemotely()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphicsListRegistry.setYoGraphicsUpdatedRemotely()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry
类名称:YoGraphicsListRegistry
方法名:setYoGraphicsUpdatedRemotely
暂无
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
private void setupYoRegistries()
{
yoGraphicsListRegistry = new YoGraphicsListRegistry();
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(true);
yoGraphicsListRegistryForDetachedOverhead = new YoGraphicsListRegistry();
}
代码示例来源:origin: us.ihmc/IHMCHumanoidBehaviors
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullRobotModel.getForceSensorDefinitions()));
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
private void createGraphicsAndArtifacts(YoGraphicsListRegistry yoGraphicsListRegistry)
{
yoGraphicsListRegistry.registerYoGraphic("Frames", leftMidZUpFrameViz);
yoGraphicsListRegistry.registerYoGraphic("Frames", rightMidZUpFrameViz);
yoGraphicsListRegistry.registerYoGraphic("target", targetViz);
yoGraphicsListRegistry.registerArtifact("target", targetViz.createArtifact());
yoGraphicsListRegistry.registerArtifact("centroidViz", centroidViz.createArtifact());
yoGraphicsListRegistry.registerYoGraphic("nominalYaw", nominalYawGraphic);
YoArtifactPolygon supportPolygonArtifact = new YoArtifactPolygon("quadSupportPolygonArtifact", supportPolygon, Color.blue, false);
YoArtifactPolygon currentTriplePolygonArtifact = new YoArtifactPolygon("currentTriplePolygonArtifact", currentTriplePolygon, Color.GREEN, false);
yoGraphicsListRegistry.registerArtifact("nominalYawArtifact", nominalYawArtifact);
yoGraphicsListRegistry.registerArtifact("supportPolygon", supportPolygonArtifact);
yoGraphicsListRegistry.registerArtifact("currentTriplePolygon", currentTriplePolygonArtifact);
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(true);
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private BehaviorDispatcher<HumanoidBehaviorType> setupBehaviorDispatcher(String robotName, FullHumanoidRobotModel fullRobotModel, Ros2Node ros2Node,
YoGraphicsListRegistry yoGraphicsListRegistry, YoVariableRegistry registry)
{
ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullRobotModel.getForceSensorDefinitions()));
robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
ROS2Tools.createCallbackSubscription(ros2Node, RobotConfigurationData.class, ControllerAPIDefinition.getPublisherTopicNameGenerator(robotName),
s -> robotDataReceiver.receivedPacket(s.takeNextData()));
BehaviorControlModeSubscriber desiredBehaviorControlSubscriber = new BehaviorControlModeSubscriber();
ROS2Tools.createCallbackSubscription(ros2Node, BehaviorControlModePacket.class, IHMCHumanoidBehaviorManager.getSubscriberTopicNameGenerator(robotName),
s -> desiredBehaviorControlSubscriber.receivedPacket(s.takeNextData()));
HumanoidBehaviorTypeSubscriber desiredBehaviorSubscriber = new HumanoidBehaviorTypeSubscriber();
ROS2Tools.createCallbackSubscription(ros2Node, HumanoidBehaviorTypePacket.class, IHMCHumanoidBehaviorManager.getSubscriberTopicNameGenerator(robotName),
s -> desiredBehaviorSubscriber.receivedPacket(s.takeNextData()));
YoVariableServer yoVariableServer = null;
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
BehaviorDispatcher<HumanoidBehaviorType> ret = new BehaviorDispatcher<>(robotName, yoTime, robotDataReceiver, desiredBehaviorControlSubscriber,
desiredBehaviorSubscriber, ros2Node, yoVariableServer, HumanoidBehaviorType.class,
HumanoidBehaviorType.STOP, registry, yoGraphicsListRegistry);
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullRobotModel.getForceSensorDefinitions()));
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private BehaviorDispatcher setupBehaviorDispatcher(FullRobotModel fullRobotModel, Ros2Node ros2Node, HumanoidRobotDataReceiver robotDataReceiver,
YoGraphicsListRegistry yoGraphicsListRegistry)
{
BehaviorControlModeSubscriber desiredBehaviorControlSubscriber = new BehaviorControlModeSubscriber();
ROS2Tools.createCallbackSubscription(ros2Node, BehaviorControlModePacket.class, IHMCHumanoidBehaviorManager.getSubscriberTopicNameGenerator(robotName),
s -> desiredBehaviorControlSubscriber.receivedPacket(s.takeNextData()));
HumanoidBehaviorTypeSubscriber desiredBehaviorSubscriber = new HumanoidBehaviorTypeSubscriber();
ROS2Tools.createCallbackSubscription(ros2Node, HumanoidBehaviorTypePacket.class, IHMCHumanoidBehaviorManager.getSubscriberTopicNameGenerator(robotName),
s -> desiredBehaviorSubscriber.receivedPacket(s.takeNextData()));
YoVariableServer yoVariableServer = null;
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
BehaviorDispatcher<HumanoidBehaviorType> ret = new BehaviorDispatcher<>(robotName, yoTimeBehaviorDispatcher, robotDataReceiver,
desiredBehaviorControlSubscriber, desiredBehaviorSubscriber, ros2Node,
yoVariableServer, HumanoidBehaviorType.class, HumanoidBehaviorType.STOP, registry,
yoGraphicsListRegistry);
ret.addUpdatable(capturePointUpdatable);
if (wristForceSensorUpdatables != null)
{
ret.addUpdatable(wristForceSensorUpdatables.get(RobotSide.LEFT));
ret.addUpdatable(wristForceSensorUpdatables.get(RobotSide.RIGHT));
}
ret.finalizeStateMachine();
return ret;
}
代码示例来源:origin: us.ihmc/IHMCSimulationToolkit
scs.setRobot(robot);
yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(true);
yoGraphicsListRegistry.registerYoGraphic("centroid", centroidGraphic);
yoGraphicsListRegistry.registerArtifact("copSnapping", centerOfMassViz.createArtifact());
本文整理了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类的具体用
我是一名优秀的程序员,十分优秀!