us.ihmc.robotics.testing.YoVariableTestGoal.toString()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(71)

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

YoVariableTestGoal.toString介绍

暂无

代码示例

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

@Override
  public String toString()
  {
   return "not " + goal.toString();
  }
};

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

@Override
  public String toString()
  {
   return "\n" + goalX.toString() + "\n" + goalY.toString() + "\n" + goalZ.toString();
  }
};

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

@Override
public String toString()
{
 return goalOne.toString() + " and " + goalTwo.toString();
}

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

@Override
public String toString()
{
 return goalOne.toString() + " or " + goalTwo.toString();
}

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

@Override
  public String toString()
  {
   return "not " + goal.toString();
  }
};

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

@Override
public String toString()
{
 return goalOne.toString() + " or " + goalTwo.toString();
}

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

@Override
public String toString()
{
 return goalOne.toString() + " and " + goalTwo.toString();
}

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

private void printSimulatingMessage()
{
 StringBuffer message = new StringBuffer();
 message.append("Simulating with goals:");
 for (YoVariableTestGoal goal : sustainGoals)
 {
   message.append("\nSustain goal: ");
   message.append(goal.toString());
 }
 for (YoVariableTestGoal goal : waypointGoals)
 {
   message.append("\nWaypoint goal: ");
   message.append(goal.toString());
 }
 for (YoVariableTestGoal goal : terminalGoals)
 {
   message.append("\nTerminal goal: ");
   message.append(goal.toString());
 }
 PrintTools.info(this, message.toString());
}

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

private void createAssertionFailedException()
{
 StringBuffer message = new StringBuffer();
 message.append("Assertion failed:");
 for (int i = 0; i < sustainGoalsNotMeeting.size(); i++)
 {
   message.append("\nGoal not sustained: ");
   message.append(sustainGoalsNotMeeting.get(i).toString());
 }
 for (int i = 0; i < waypointGoalsNotMet.size(); i++)
 {
   message.append("\nWaypoint not met: ");
   message.append(waypointGoalsNotMet.get(i).toString());
 }
 for (int i = 0; i < terminalGoalsNotMeeting.size(); i++)
 {
   message.append("\nTerminal goal not met: ");
   message.append(terminalGoalsNotMeeting.get(i).toString());
 }
 assertionFailedMessage = message.toString();
}

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

private void printSuccessMessage()
{
 StringBuffer message = new StringBuffer();
 message.append("Success:");
 for (YoVariableTestGoal goal : sustainGoals)
 {
   message.append("\nGoal sustained: ");
   message.append(goal.toString());
 }
 for (YoVariableTestGoal goal : waypointGoals)
 {
   message.append("\nWaypoint met: ");
   message.append(goal.toString());
 }
 for (YoVariableTestGoal goal : terminalGoals)
 {
   message.append("\nTerminal goal met: ");
   message.append(goal.toString());
 }
 PrintTools.info(this, message.toString());
}

相关文章