本文整理了Java中us.ihmc.robotics.math.frames.YoFrameVectorInMultipleFrames.toStringForASingleReferenceFrame()
方法的一些代码示例,展示了YoFrameVectorInMultipleFrames.toStringForASingleReferenceFrame()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameVectorInMultipleFrames.toStringForASingleReferenceFrame()
方法的具体详情如下:
包路径:us.ihmc.robotics.math.frames.YoFrameVectorInMultipleFrames
类名称:YoFrameVectorInMultipleFrames
方法名:toStringForASingleReferenceFrame
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public String toString()
{
String ret = "";
List<ReferenceFrame> referenceFrames = new ArrayList<ReferenceFrame>();
multipleFramesHelper.getRegisteredReferenceFrames(referenceFrames);
for (int i = 0; i < referenceFrames.size(); i++)
{
if (i > 0)
ret += "\n";
ret += toStringForASingleReferenceFrame(referenceFrames.get(i));
}
return ret;
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public String toString()
{
String ret = "";
List<ReferenceFrame> referenceFrames = new ArrayList<ReferenceFrame>();
multipleFramesHelper.getRegisteredReferenceFrames(referenceFrames);
for (int i = 0; i < referenceFrames.size(); i++)
{
if (i > 0)
ret += "\n";
ret += toStringForASingleReferenceFrame(referenceFrames.get(i));
}
return ret;
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public String toString()
{
String ret = "";
ReferenceFrame currentFrame = initialPosition.getReferenceFrame();
ret += "Current time: " + currentTime.getDoubleValue() + ", trajectory time: " + trajectoryTime.getDoubleValue();
ret += "\nCurrent position: " + currentPosition.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent velocity: " + currentVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent acceleration: " + currentAcceleration.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent orientation: " + currentOrientation.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent angular velocity: " + currentAngularVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent angular acceleration: " + currentAngularAcceleration.toStringForASingleReferenceFrame(currentFrame);
return ret;
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public String toString()
{
String ret = "";
ReferenceFrame currentFrame = initialPosition.getReferenceFrame();
ret += "Current time: " + currentTime.getDoubleValue() + ", trajectory time: " + trajectoryTime.getDoubleValue();
ret += "\nCurrent position: " + currentPosition.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent velocity: " + currentVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent acceleration: " + currentAcceleration.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent orientation: " + currentOrientation.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent angular velocity: " + currentAngularVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent angular acceleration: " + currentAngularAcceleration.toStringForASingleReferenceFrame(currentFrame);
return ret;
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public String toString()
{
String ret = "";
ReferenceFrame currentFrame = initialPosition.getReferenceFrame();
ret += "Current time: " + currentTime.getDoubleValue() + ", trajectory time: " + trajectoryTime.getDoubleValue();
ret += "\nCurrent position: " + currentPosition.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent velocity: " + currentVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent acceleration: " + currentAcceleration.toStringForASingleReferenceFrame(currentFrame);
return ret;
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public String toString()
{
String ret = "";
ReferenceFrame currentFrame = initialPosition.getReferenceFrame();
ret += "Current time: " + currentTime.getDoubleValue() + ", trajectory time: " + trajectoryTime.getDoubleValue();
ret += "\nCurrent position: " + currentPosition.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent velocity: " + currentVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent acceleration: " + currentAcceleration.toStringForASingleReferenceFrame(currentFrame);
return ret;
}
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public String toString()
{
String ret = "";
ReferenceFrame currentFrame = initialPosition.getReferenceFrame();
ret += "Current time: " + currentTime.getDoubleValue() + ", trajectory time: " + trajectoryTime.getDoubleValue();
ret += "\nCurrent position: " + currentPosition.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent velocity: " + currentVelocity.toStringForASingleReferenceFrame(currentFrame);
ret += "\nCurrent acceleration: " + currentAcceleration.toStringForASingleReferenceFrame(currentFrame);
return ret;
}
}
内容来源于网络,如有侵权,请联系作者删除!