gpt4 book ai didi

us.ihmc.yoVariables.variable.YoBoolean.addVariableChangedListener()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 01:54:40 26 4
gpt4 key购买 nike

本文整理了Java中us.ihmc.yoVariables.variable.YoBoolean.addVariableChangedListener()方法的一些代码示例,展示了YoBoolean.addVariableChangedListener()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoBoolean.addVariableChangedListener()方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoBoolean
类名称:YoBoolean
方法名:addVariableChangedListener

YoBoolean.addVariableChangedListener介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit

public DampingUpdater(YoDouble kp, YoDouble kd, YoDouble zeta, YoBoolean update)
{
 this.kp = kp;
 this.kd = kd;
 this.zeta = zeta;
 this.update = update;
 update.addVariableChangedListener(this);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addCaptureSnapshotListener(VariableChangedListener variableChangedListener)
{
 isCaptureSnapshotRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addResetToBasePoseRequestedListener(VariableChangedListener variableChangedListener)
  {
   isResetToBasePoseRequested.addVariableChangedListener(variableChangedListener);
  }
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addSaveSequenceRequestedListener(VariableChangedListener variableChangedListener)
{
 isSaveSequenceRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addLoadLastSequenceRequestedListener(VariableChangedListener variableChangedListener)
{
 isLoadLastSequenceRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addLoadSequenceRequestedListener(VariableChangedListener variableChangedListener)
{
 isLoadSequenceRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addLoadFrameByFrameSequenceRequestedListener(VariableChangedListener variableChangedListener)
{
 isLoadFrameByFrameSequenceRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addPlayPoseFromFrameByFrameSequenceRequestedListener(VariableChangedListener variableChangedListener)
{
 isPlayPoseFromFrameByFrameSequenceRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void addClearSequenceRequestedListener(VariableChangedListener variableChangedListener)
{
 isClearSequenceRequested.addVariableChangedListener(variableChangedListener);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

private void setupSupportPolygonDisplayAndControl(YoGraphicsListRegistry yoGraphicsListRegistry)
{
 for (int i = 0; i < baseControlPoints.length; i++)
 {
   baseControlPoints[i] = new YoFramePoint3D("baseControlPoint" + i, ReferenceFrame.getWorldFrame(), registry);
   baseControlTargetPoints[i] = new YoFramePoint3D("baseControlTargetPoint" + i, ReferenceFrame.getWorldFrame(), registry);
 }
 baseControlPoints[0].set(0.18, 0.13, 0.0);
 baseControlPoints[1].set(0.18, -0.13, 0.0);
 baseControlPoints[2].set(-0.08, -0.15, 0.0);
 baseControlPoints[3].set(-0.08, 0.15, 0.0);
 baseControlTargetPoints[0].set(0.18, 0.13, 0.0);
 baseControlTargetPoints[1].set(0.18, -0.13, 0.0);
 baseControlTargetPoints[2].set(-0.08, -0.15, 0.0);
 baseControlTargetPoints[3].set(-0.08, 0.15, 0.0);
 SupportBaseControlRequestedListener supportBaseControlRequestedListener = new SupportBaseControlRequestedListener();
 isSupportBaseControlRequested.addVariableChangedListener(supportBaseControlRequestedListener);
 isSupportBaseToggleRequested.addVariableChangedListener(supportBaseControlRequestedListener);
 SupportBaseControlTargetRequestedListener supportBaseControlTargetRequestedListener = new SupportBaseControlTargetRequestedListener();
 isSupportBaseControlTargetRequested.addVariableChangedListener(supportBaseControlTargetRequestedListener);
 isSupportBaseTargetToggleRequested.addVariableChangedListener(supportBaseControlTargetRequestedListener);
 addSupportBaseControlGraphics(yoGraphicsListRegistry);
 addSupportBaseControlTargetGraphics(yoGraphicsListRegistry);
}

代码示例来源:origin: us.ihmc/ihmc-whole-body-controller

doAccelerationIntegration.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

isDonePlanningSteps.set(false);
isDonePlanningPath.addVariableChangedListener(v -> {
  if (!isDonePlanningPath.getBooleanValue())
   statusOutputManager.reportStatusMessage(FootstepPlanningMessageReporter.packStatus(FootstepPlannerStatus.PLANNING_PATH));
   statusOutputManager.reportStatusMessage(FootstepPlanningMessageReporter.packStatus(FootstepPlannerStatus.PLANNING_STEPS));
});
isDonePlanningSteps.addVariableChangedListener(v -> {
  if (isDonePlanningSteps.getBooleanValue())
   statusOutputManager.reportStatusMessage(FootstepPlanningMessageReporter.packStatus(FootstepPlannerStatus.IDLE));

代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test

yoVariable.addVariableChangedListener(new VariableChangedListener()
yoVariable.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

isLegControlRequested.get(robotSide).addVariableChangedListener(listener);
  isArmControlRequested.get(robotSide).addVariableChangedListener(listener);
isPelvisControlRequested.addVariableChangedListener(listener);
isChestControlRequested.addVariableChangedListener(listener);
isSymmetricModeRequested.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/acsell

final String namespace = "WandererCommand." + prefix;
enabled = new YoBoolean(joint.getSdfName() + "_enabled", sliderBoardRegistry);
enabled.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/acsell

final String namespace = "StepprCommand." + prefix;
enabled = new YoBoolean(joint.getSdfName() + "_enabled", sliderBoardRegistry);
enabled.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/acsell

expo_isWalking.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/acsell

requestPowerOff.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/acsell

requestPowerOff.addVariableChangedListener(new VariableChangedListener()

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

isIcpOffsetSenderEnabled.addVariableChangedListener(new VariableChangedListener()

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com