gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-17 14:52:40 29 4
gpt4 key购买 nike

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

YoDouble.getName介绍

暂无

代码示例

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

@Override
public String getYoVariableOrder()
{
 String variableOrder = q.getName() + "," + qd.getName() + "," + qdd.getName() + "," + tau_actual.getName();
 return variableOrder;
}

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

public String getYoVariableOrder()
{
 String variableOrder = q_x.getName() + "," + q_y.getName() + "," + q_z.getName() + "," + qd_x.getName() + "," + qd_y.getName() + "," + qd_z.getName()
             + "," + q_qs.getName() + "," + q_qx.getName() + "," + q_qy.getName() + "," + q_qz.getName() + "," + qd_wx.getName() + ","
             + qd_wy.getName() + "," + qd_wz.getName() + "," + qdd_x.getName() + "," + qdd_y.getName() + "," + qdd_z.getName() + ","
             + qdd_wx.getName() + "," + qdd_wy.getName() + "," + qdd_wz.getName();
 return variableOrder;
}

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

public String getName()
{
 return variableToCheck.getName();
}

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

public String getName()
  {
   return difference.getName();
  }
}

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

@Override
public String getYoVariableOrder()
{
 String variableOrder = q.getName() + "," + qd.getName() + "," + qdd.getName() + "," + tau_actual.getName();
 return variableOrder;
}

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

@Override
public String getYoVariableOrder()
{
 String variableOrder = q_t1.getName() + "," + q_t2.getName() + "," + qd_t1.getName() + "," + qd_t2.getName() + "," + q_rot.getName() + ","
             + qd_rot.getName() + "," + qdd_t1.getName() + "," + qdd_t2.getName() + "," + qdd_rot.getName();
 return variableOrder;
}

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

public String getSwitchTimeName()
{
 return switchTimeYoVariable.getName();
}

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

/**
* Creates a new {@code YoFrameTuple3D} using the given {@code YoVariable}s and sets its
* reference frame to {@code referenceFrame}.
*
* @param xVariable the variable to use for the x-component.
* @param yVariable the variable to use for the y-component.
* @param zVariable the variable to use for the z-component.
* @param referenceFrame the reference frame for this tuple.
*/
public YoFrameTuple3D(YoDouble xVariable, YoDouble yVariable, YoDouble zVariable, ReferenceFrame referenceFrame)
{
 namePrefix = YoFrameVariableNameTools.getCommonPrefix(xVariable.getName(), yVariable.getName(), zVariable.getName());
 nameSuffix = YoFrameVariableNameTools.getCommonSuffix(xVariable.getName(), yVariable.getName(), zVariable.getName());
 x = xVariable;
 y = yVariable;
 z = zVariable;
 this.referenceFrame = referenceFrame;
}

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

/**
* Creates a new {@code YoFrameTuple2D} using the given {@code YoVariable}s and sets its
* reference frame to {@code referenceFrame}.
*
* @param xVariable the variable to use for the x-component.
* @param yVariable the variable to use for the y-component.
* @param referenceFrame the reference frame for this tuple.
*/
public YoFrameTuple2D(YoDouble xVariable, YoDouble yVariable, ReferenceFrame referenceFrame)
{
 namePrefix = YoFrameVariableNameTools.getCommonPrefix(xVariable.getName(), yVariable.getName());
 nameSuffix = YoFrameVariableNameTools.getCommonSuffix(xVariable.getName(), yVariable.getName());
 x = xVariable;
 y = yVariable;
 this.referenceFrame = referenceFrame;
}

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

private void printPinJointInformation(OneDegreeOfFreedomJoint pinJoint, StringBuffer buffer)
{
  buffer.append("Joint is a Pin Joint.\n");
  YoDouble q = pinJoint.getQYoVariable();
  buffer.append("Its q variable is named " + q.getName() + "\n");
}

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

@Override
public String getYoVariableOrder()
{
 String variableOrder = force.getYoX().getName() + "," + force.getYoY().getName() + "," + force.getYoZ().getName() + "," + position.getYoX().getName() + "," + position.getYoY().getName() + ","
             + position.getYoZ().getName() + "," + groundContactPoint.getYoFootSwitch().getName();
 return variableOrder;
}

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

private void printSliderJointInformation(SliderJoint sliderJoint, StringBuffer buffer)
{
  buffer.append("Joint is a Slider Joint.\n");
  YoDouble q = sliderJoint.getQYoVariable();
  buffer.append("Its q variable is named " + q.getName() + "\n");
}

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

/**
* Returns String representation of this YoDouble.
*
* @return String representing this YoDouble and its current value as a double
*/
@Override public String toString()
{
 return String.format("%s: %s", getName(), getDoubleValue());
}

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

public void enableMax()
{
 max = new YoDouble(variable.getName() + "Max", registry);
 max.set(Double.MIN_VALUE);
}

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

public static String getFormattedDoubleYoVariable(YoDouble yoDouble)
  {
   return yoDouble.getName() + ":"
      + FormattingTools.getFormattedToSignificantFigures(yoDouble.getDoubleValue(), SIGNIFICANT_FIGURES_FOR_PRINT_OUT);
  }
}

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

public void enableAverage()
{
 average = new YoDouble(variable.getName() + "Average", registry);
 average.set(Double.NaN);
}

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

public void enableDelta()
  {
   delta = new YoDouble(variable.getName() + "Delta", registry);
   delta.set(Double.NaN);
  }
}

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

public void enableMin()
{
 min = new YoDouble(variable.getName() + "Min", registry);
 min.set(Double.MAX_VALUE);
}

代码示例来源:origin: us.ihmc/ihmc-parameter-optimization

public DoubleYoVariableParameterToOptimize(double min, double max, YoDouble yoVariable, ListOfParametersToOptimize listOfParametersToOptimize)
  {
   super(yoVariable.getName(), min, max, listOfParametersToOptimize);
   this.yoVariable = yoVariable;
   
   this.setCurrentValue(yoVariable.getDoubleValue());
//      System.out.println("Creating DoubleYoVariableParameterToOptimize. min = " + min + ", max = " + max + "currentValue = " + this.getCurrentValue());
  }

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

/**
* Creates a new YoDouble with the same parameters as this one, and registers it to the passed {@link YoVariableRegistry}.
*
* @param newRegistry YoVariableRegistry to duplicate this YoDouble to
* @return the newly created and registered YoDouble
*/
@Override public YoDouble duplicate(YoVariableRegistry newRegistry)
{
 YoDouble retVar = new YoDouble(getName(), getDescription(), newRegistry, getManualScalingMin(), getManualScalingMax());
 retVar.set(val);
 return retVar;
}

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