本文整理了Java中us.ihmc.robotics.dataStructures.variable.YoVariable.addVariableChangedListener()
方法的一些代码示例,展示了YoVariable.addVariableChangedListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoVariable.addVariableChangedListener()
方法的具体详情如下:
包路径:us.ihmc.robotics.dataStructures.variable.YoVariable
类名称:YoVariable
方法名:addVariableChangedListener
暂无
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
private YoVariableTestGoal(YoVariable<?>... yoVariables)
{
for (YoVariable<?> yoVariable : yoVariables)
{
yoVariable.addVariableChangedListener(this);
}
}
代码示例来源:origin: us.ihmc/IHMCHumanoidBehaviors
public void registerYovaribleForAutoSendToUI(YoVariable var)
{
var.addVariableChangedListener(new VariableChangedListener()
{
@Override
public void variableChanged(YoVariable<?> v)
{
sendToUI(v.getName(), v.getValueAsDouble());
}
});
}
代码示例来源:origin: us.ihmc/IHMCHumanoidBehaviors
public void registerYovaribleForAutoSendToBehavior(YoVariable var)
{
var.addVariableChangedListener(new VariableChangedListener()
{
@Override
public void variableChanged(YoVariable<?> v)
{
sendToBehavior(v.getName(), v.getValueAsDouble());
}
});
}
代码示例来源:origin: us.ihmc/IHMCRobotDataLogger
public void startVariableChangedProducers(List<YoVariable<?>> variables, boolean sendChangedValues)
{
for (int i = 0; i < variables.size(); i++)
{
LogControlVariableChangeListener logControlVariableChangeListener = new LogControlVariableChangeListener(i, sendChangedValues);
variables.get(i).addVariableChangedListener(logControlVariableChangeListener);
logControlVariableChangeListeners.add(logControlVariableChangeListener);
}
}
代码示例来源:origin: us.ihmc/RobotDataCommunication
public void startVariableChangedProducers(List<YoVariable<?>> variables, boolean sendChangedValues)
{
for (int i = 0; i < variables.size(); i++)
{
LogControlVariableChangeListener logControlVariableChangeListener = new LogControlVariableChangeListener(i, sendChangedValues);
variables.get(i).addVariableChangedListener(logControlVariableChangeListener);
logControlVariableChangeListeners.add(logControlVariableChangeListener);
}
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
yoVariable.addVariableChangedListener(new VariableChangedListener()
代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge
yoVariable.addVariableChangedListener(new VariableChangedListener()
内容来源于网络,如有侵权,请联系作者删除!