gpt4 book ai didi

us.ihmc.robotics.math.trajectories.waypoints.YoOneDoFWaypoint类的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 02:14:31 26 4
gpt4 key购买 nike

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

YoOneDoFWaypoint介绍

暂无

代码示例

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

@Override
  public void applyTransform(RigidBodyTransform transform)
  {
   waypoint1d.applyTransform(transform);
  }
}

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

@Override
public boolean geometricallyEquals(YoOneDoFWaypoint other, double epsilon)
{
 return epsilonEquals(other, epsilon);
}

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

@Override
public String toString()
{
 NumberFormat doubleFormat = new DecimalFormat(" 0.00;-0.00");
 String positionString = "position = " + doubleFormat.format(getPosition());
 String velocityString = "velocity = " + doubleFormat.format(getVelocity());
 return "Waypoint 1D: (" + positionString + ", " + velocityString + ")";
}

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

public void set(double position, double velocity)
{
 setPosition(position);
 setVelocity(velocity);
}

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

public void set(double time, double position, double velocity)
{
 this.time.set(time);
 waypoint1d.set(position, velocity);
}

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

@Override
public void setToZero()
{
 setTimeToZero();
 waypoint1d.setToZero();
}

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

@Override
public void setPosition(double position)
{
 waypoint1d.setPosition(position);
}

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

@Override
public double getVelocity()
{
 return waypoint1d.getVelocity();
}

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

@Override
public double getPosition()
{
 return waypoint1d.getPosition();
}

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

@Override
public void setToNaN()
{
 setTimeToNaN();
 waypoint1d.setToNaN();
}

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

public YoOneDoFTrajectoryPoint(String namePrefix, String nameSuffix, YoVariableRegistry registry)
{
 this.namePrefix = namePrefix;
 this.nameSuffix = nameSuffix;
 time = new YoDouble(createName(namePrefix, "time", nameSuffix), registry);
 waypoint1d = new YoOneDoFWaypoint(namePrefix, nameSuffix, registry);
}

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

@Override
public boolean containsNaN()
{
 return time.isNaN() || waypoint1d.containsNaN();
}

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

public void set(double position, double velocity)
{
 setPosition(position);
 setVelocity(velocity);
}

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

public void set(double time, double position, double velocity)
{
 this.time.set(time);
 waypoint1d.set(position, velocity);
}

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

@Override
public void setToZero()
{
 setTimeToZero();
 waypoint1d.setToZero();
}

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

@Override
public void setPosition(double position)
{
 waypoint1d.setPosition(position);
}

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

@Override
public double getVelocity()
{
 return waypoint1d.getVelocity();
}

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

@Override
public double getPosition()
{
 return waypoint1d.getPosition();
}

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

@Override
public void setToNaN()
{
 setTimeToNaN();
 waypoint1d.setToNaN();
}

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

public YoOneDoFTrajectoryPoint(String namePrefix, String nameSuffix, YoVariableRegistry registry)
{
 this.namePrefix = namePrefix;
 this.nameSuffix = nameSuffix;
 time = new DoubleYoVariable(createName(namePrefix, "time", nameSuffix), registry);
 waypoint1d = new YoOneDoFWaypoint(namePrefix, nameSuffix, registry);
}

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