gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-16 15:54:40 25 4
gpt4 key购买 nike

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

YoFrameVector3D.set介绍

暂无

代码示例

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

@Override
public void setAngularVelocity(Vector3DReadOnly angularVelocity)
{
 this.angularVelocity.set(angularVelocity);
}

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

public void setAngularVelocity(FrameVector3D angularVelocity)
{
 this.angularVelocity.set(angularVelocity);
}
public void set(SO3TrajectoryPointInterface<?> so3TrajectoryPoint)

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

@Override
public void setLinearVelocity(Vector3DReadOnly linearVelocity)
{
 this.linearVelocity.set(linearVelocity);
}

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

public void getLinearData(YoFramePoint3D positionToPack, YoFrameVector3D velocityToPack, YoFrameVector3D accelerationToPack)
{
 positionToPack.set(currentPosition);
 velocityToPack.set(currentVelocity);
 accelerationToPack.set(currentAcceleration);
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test

public void setTranslationRangeToSlipNextStep(double[] slipXYZMin, double[] slipXYZMax)
{
 assertValidLimits(slipXYZMin, slipXYZMax);
 this.minTranslationToSlipNextStep.set(slipXYZMin[0], slipXYZMin[1], slipXYZMin[2]);
 this.maxTranslationToSlipNextStep.set(slipXYZMax[0], slipXYZMax[1], slipXYZMax[2]);
}

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

public void setInitialConditions(YoFramePoint3D initialPosition, YoFrameVector3D initialVelocity)
{
 this.initialPosition.set(initialPosition);
 this.initialVelocity.set(initialVelocity);
}

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

public void set(double baseX, double baseY, double baseZ, double x, double y, double z)
{
 base.set(baseX, baseY, baseZ);
 vector.set(x, y, z);
}

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

public void setTrajectoryParameters(double duration, Point3D initialPosition, Vector3D initialVelocity, Point3D finalPosition, Vector3D finalVelocity)
{
 trajectoryTime.set(duration);
 this.initialPosition.set(initialPosition);
 this.initialVelocity.set(initialVelocity);
 this.finalPosition.set(finalPosition);
 this.finalVelocity.set(finalVelocity);
}

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

public void set(double time, FramePoint3D position, FrameQuaternion orientation, FrameVector3D linearVelocity, FrameVector3D angularVelocity)
{
 this.time.set(time);
 this.position.set(position);
 this.orientation.set(orientation);
 this.linearVelocity.set(linearVelocity);
 this.angularVelocity.set(angularVelocity);
}

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

public void setTrajectoryParameters(double duration, FramePoint3D initialPosition, FrameVector3D initialVelocity, FramePoint3D finalPosition, FrameVector3D finalVelocity)
{
 trajectoryTime.set(duration);
 this.initialPosition.set(initialPosition);
 this.initialVelocity.set(initialVelocity);
 this.finalPosition.set(finalPosition);
 this.finalVelocity.set(finalVelocity);
}

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

public void set(double time, YoFramePoint3D position, YoFrameQuaternion orientation, YoFrameVector3D linearVelocity, YoFrameVector3D angularVelocity)
{
 this.time.set(time);
 this.position.set(position);
 this.orientation.set(orientation);
 this.linearVelocity.set(linearVelocity);
 this.angularVelocity.set(angularVelocity);
}

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

public void set(double time, Point3DReadOnly position, Vector3DReadOnly linearVelocity)
{
 this.time.set(time);
 this.position.set(position);
 this.linearVelocity.set(linearVelocity);
}

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

public void set(double time, FramePoint3DReadOnly position, FrameVector3DReadOnly linearVelocity)
{
 this.time.set(time);
 this.position.set(position);
 this.linearVelocity.set(linearVelocity);
}

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

private void setVectorFromPoseToPose(YoFrameVector3D frameVectorToPack, FramePose3D fromPose, FramePose3D toPose)
{
 frameVectorToPack.set(toPose.getPosition());
 FrameVector3D frameTuple = new FrameVector3D(frameVectorToPack);
 frameTuple.sub(fromPose.getPosition());
 frameVectorToPack.set(frameTuple);
}

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

public void set(double time, YoFrameQuaternion orientation, YoFrameVector3D angularVelocity)
{
 this.time.set(time);
 this.orientation.set(orientation);
 this.angularVelocity.set(angularVelocity);
}

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

@Test// timeout=300000
public void testGetYoVelocity()
{
  YoFrameVector3D yoVelocity = kinematicPoint.getYoVelocity();
  String frameName = yoVelocity.getReferenceFrame().getName();
  
 assertEquals("( 0.000,  0.000,  0.000 )-" + frameName, yoVelocity.toString());
  yoVelocity.set(new Vector3D(5.0, 5.1, 5.2));
  assertEquals("( 5.000,  5.100,  5.200 )-" + frameName, yoVelocity.toString());
}

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

public void setTrajectoryParameters(double duration, FramePoint3DReadOnly initialPosition, double intermediateZPosition, FramePoint3DReadOnly finalPosition, FrameVector3DReadOnly finalVelocity)
{
 trajectoryTime.set(duration);
 this.initialPosition.set(initialPosition);
 this.intermediateZPosition.set(intermediateZPosition);
 this.finalPosition.set(finalPosition);
 this.finalVelocity.set(finalVelocity);
}

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

@Override
  protected void getYoValuesFromFrameWaypoint()
  {
   SE3Waypoint simpleWaypoint = frameWaypoint.getGeometryObject();
   EuclideanWaypoint euclideanWaypoint = simpleWaypoint.getEuclideanWaypoint();
   SO3Waypoint so3Waypoint = simpleWaypoint.getSO3Waypoint();

   position.set(euclideanWaypoint.getPosition());
   orientation.set(so3Waypoint.getOrientation());
   linearVelocity.set(euclideanWaypoint.getLinearVelocity());
   angularVelocity.set(so3Waypoint.getAngularVelocity());
  }
}

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

public void setTrajectoryParameters(double duration, FramePoint3DReadOnly initialPosition, YoDouble intermediateZPosition, FramePoint3DReadOnly finalPosition, FrameVector3DReadOnly finalVelocity)
{
 trajectoryTime.set(duration);
 this.initialPosition.set(initialPosition);
 this.intermediateZPosition.set(intermediateZPosition.getDoubleValue());
 this.finalPosition.set(finalPosition);
 this.finalVelocity.set(finalVelocity);
}

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

@Override
protected void getYoValuesFromFrameWaypoint()
{
 SimpleSE3TrajectoryPoint simpleTrajectoryPoint = frameWaypoint.getGeometryObject();
 EuclideanWaypoint euclideanWaypoint = simpleTrajectoryPoint.getEuclideanWaypoint();
 SO3Waypoint so3Waypoint = simpleTrajectoryPoint.getSO3Waypoint();
 time.set(simpleTrajectoryPoint.getTime());
 position.set(euclideanWaypoint.getPosition());
 orientation.set(so3Waypoint.getOrientation());
 linearVelocity.set(euclideanWaypoint.getLinearVelocity());
 angularVelocity.set(so3Waypoint.getAngularVelocity());
}

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