- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getName()
方法的一些代码示例,展示了YoVariable.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoVariable.getName()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoVariable
类名称:YoVariable
方法名:getName
[英]Retrieves the name of this YoVariable.
[中]检索此变量的名称。
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public String[] getCreatedVariableNames()
{
String[] ret = new String[createdVariables.length];
for (int i = 0; i < createdVariables.length; i++)
{
ret[i] = createdVariables[i].getName();
}
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public boolean containsVariable(YoVariable<?> variable)
{
String variableName = variable.getName();
ArrayList<YoVariable<?>> arrayList = variablesMappedByName.get(variableName);
if ((arrayList != null) && (arrayList.contains(variable)))
return true;
return false;
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public synchronized String[] getVariableNames()
{
String[] ret = new String[variables.size()];
for (int i = 0; i < variables.size(); i++)
{
ret[i] = variables.get(i).getName();
}
return ret;
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public void removeVariable(YoVariable<?> variable)
{
String variableName = variable.getName();
if (variablesMappedByName.containsKey(variableName))
{
ArrayList<YoVariable<?>> arrayList = variablesMappedByName.get(variableName);
arrayList.remove(variable);
variables.remove(variable);
}
}
代码示例来源:origin: us.ihmc/ihmc-whole-body-controller
public void printOutCorruptorVariablesToOptimize()
{
System.out.println();
for (YoVariable<?> yoVariable : corruptorVariablesToOptimize)
{
System.out.println(yoVariable.getName() + " = " + formatNumber(yoVariable) + ";");
}
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
private void setupInitialRobot(double[] initialSetup)
{
for (int i = 0; i < allVariables.length; i++)
{
double initialValue = initialSetup[i];
YoVariable<?> variable = allVariables[i];
System.out.println(variable.getName() + ": " + initialValue);
variable.setValueFromDouble(initialValue);
}
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
private void printState()
{
for (int i = 0; i < outputStateVariables.length; i++)
{
YoVariable<?> var = outputStateVariables[i];
if (var != null)
{
System.out.println(var.getName() + ": " + var.getValueAsDouble());
}
}
}
代码示例来源:origin: us.ihmc/simulation-construction-set-test
private static boolean areYoVariablesEqual(YoVariable<?> var1, YoVariable<?> var2)
{
return StringUtils.equals(var1.getName(), var2.getName()) &&
var1.getValueAsDouble() == var2.getValueAsDouble();
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public DataBufferEntry addVariable(YoVariable<?> newVariable, int nPoints)
{
addVariableToHolder(newVariable);
yoVariableSet.add(newVariable);
DataBufferEntry entry = new DataBufferEntry(newVariable, nPoints);
this.addEntry(entry);
if (newVariable.getName().equals("t"))
{
t = (YoDouble) newVariable;
}
return entry;
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void createDataOneVsDataTwoGraph(File directory, String fileHeader, DataBufferEntry dataOneEntry, DataBufferEntry dataTwoEntry, boolean createJPG,
boolean createPDF, String title, String xLabel, String yLabel, Color color)
{
JFreeGraph graph = JFreeGraph.createDataOneVsDataTwoGraph(dataOneEntry, dataTwoEntry, title, xLabel, yLabel, color);
String graphName = fileHeader + "_" + dataOneEntry.getVariable().getName() + "_Vs_" + dataTwoEntry.getVariable().getName();
saveGraphToFile(directory, graphName, graph, createJPG, createPDF);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-test
private String[] getAllVariableNamesFromRegistry(YoVariableRegistry registry)
{
int numberOfVariables = registry.getNumberOfYoVariables();
String[] names = new String[numberOfVariables];
for (int i = 0; i < numberOfVariables; i++)
{
names[i] = registry.getYoVariable(i).getName();
}
return names;
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public void notifyOfVariableChange(YoVariable<?> v)
{
sendToBehavior(v.getName(), v.getValueAsDouble());
}
});
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public void notifyOfVariableChange(YoVariable<?> v)
{
sendToUI(v.getName(), v.getValueAsDouble());
}
});
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public static JFreeGraph createDataOneVsDataTwoGraph(DataBufferEntry dataOneEntry, DataBufferEntry dataTwoEntry, Color plotColor)
{
String dataOneVariableName = dataOneEntry.getVariable().getName();
String dataTwoVariableName = dataTwoEntry.getVariable().getName();
String title = dataOneVariableName + "_Vs_" + dataTwoVariableName;
return createDataOneVsDataTwoGraph(dataOneEntry, dataTwoEntry, title, dataOneEntry.getVariableName(), dataTwoEntry.getVariableName(), plotColor);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void createDataVsTimeGraph(File directory, String fileHeader, DataBufferEntry dataBufferEntry, boolean createJPG, boolean createPDF, Color color)
{
JFreeGraph graph = JFreeGraph.createDataVsTimeGraph(timeEntry, dataBufferEntry, color);
String graphName = fileHeader + "_" + dataBufferEntry.getVariable().getName();
saveGraphToFile(directory, graphName, graph, createJPG, createPDF);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void setSlider(int channel, YoVariable<?> var, double min, double max, double exponent, double hires)
{
if (var == null)
{
PrintTools.error(this, "YoVariable was null. It's not getting added to the sliderboard");
return;
}
setControl(channelMapper.getSliderChannel(channel), var, var.getName(), min, max, exponent, hires, MidiControl.SliderType.NUMBER, MidiControl.ControlType.SLIDER);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void setKnob(int channel, YoVariable<?> var, double min, double max, double exponent, double hires)
{
if (var == null)
{
PrintTools.error(this, "YoVariable was null. It's not getting added to the sliderboard");
return;
}
setControl(channelMapper.getKnobChannel(channel), var, var.getName(), min, max, exponent, hires, MidiControl.SliderType.NUMBER, MidiControl.ControlType.KNOB);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void createDataVsTimeGraph(File directory, String fileHeader, DataBufferEntry dataBufferEntry, boolean createJPG, boolean createPDF, String xLabel, String yLabel, Color color)
{
JFreeGraph graph = JFreeGraph.createDataVsTimeGraph(timeEntry, dataBufferEntry, dataBufferEntry.getVariableName(), xLabel, yLabel, color);
String graphName = fileHeader + "_" + dataBufferEntry.getVariable().getName();
saveGraphToFile(directory, graphName, graph, createJPG, createPDF);
}
代码示例来源:origin: us.ihmc/simulation-construction-set-test
private String getLastVariableNameFromRobotRegistry(Robot robotModel)
{
int lastIndex = robotModel.getRobotsYoVariableRegistry().getAllVariablesArray().length - 1;
return robotModel.getRobotsYoVariableRegistry().getAllVariablesArray()[lastIndex].getName();
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public static JFreeGraph createDataVsTimeGraph(DataBufferEntry timeEntry, DataBufferEntry dataEntry, String title, String xLabel, String yLabel, Color plotColor)
{
String variableName = dataEntry.getVariable().getName();
JFreePlot plot = new JFreePlot("time vs " + variableName, timeEntry, dataEntry);
plot.setIsScatterPlot(false);
plot.setColor(plotColor);
JFreeGraph graph = new JFreeGraph(title, xLabel, yLabel);
graph.addPlot(plot);
return graph;
}
本文整理了Java中us.ihmc.robotDataLogger.YoVariableServer类的一些代码示例,展示了YoVariableServer类的具体用法。这些代码示例主要来源于Gith
本文整理了Java中us.ihmc.robotDataLogger.YoVariableClient类的一些代码示例,展示了YoVariableClient类的具体用法。这些代码示例主要来源于Gith
本文整理了Java中us.ihmc.kalman.YoKalmanFilter类的一些代码示例,展示了YoKalmanFilter类的具体用法。这些代码示例主要来源于Github/Stackoverf
本文整理了Java中us.ihmc.robotDataLogger.YoVariablesUpdatedListener类的一些代码示例,展示了YoVariablesUpdatedListener类的
本文整理了Java中us.ihmc.robotics.screwTheory.Wrench类的一些代码示例,展示了Wrench类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.mecano.spatial.Wrench类的一些代码示例,展示了Wrench类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Mave
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable类的一些代码示例,展示了YoVariable类的具体用法。这些代码示例主要来源于Github/Stac
本文整理了Java中us.ihmc.yoVariables.variable.YoLong类的一些代码示例,展示了YoLong类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D类的一些代码示例,展示了YoFrameVector3D类的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.yoVariables.variable.YoEnum类的一些代码示例,展示了YoEnum类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D类的一些代码示例,展示了YoFramePoint3D类的具体用法。这些代码示例主要来源于Git
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList类的一些代码示例,展示了YoGraphicsList类的具体用法。这些代码
本文整理了Java中us.ihmc.yoVariables.variable.YoBoolean类的一些代码示例,展示了YoBoolean类的具体用法。这些代码示例主要来源于Github/Stacko
本文整理了Java中us.ihmc.yoVariables.variable.YoInteger类的一些代码示例,展示了YoInteger类的具体用法。这些代码示例主要来源于Github/Stacko
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition类的一些代码示例,展示了YoGraphicPosition类的具体用
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance类的一些代码示例,展示了YoAppearance类的具体用法。这些代码示例主要
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry类的一些代码示例,展示了YoGraphicsListReg
本文整理了Java中us.ihmc.yoVariables.variable.YoDouble类的一些代码示例,展示了YoDouble类的具体用法。这些代码示例主要来源于Github/Stackove
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector2D类的一些代码示例,展示了YoFrameVector2D类的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.codecs.yuv.YUVPictureConverter类的一些代码示例,展示了YUVPictureConverter类的具体用法。这些代码示例主要来源于Git
我是一名优秀的程序员,十分优秀!