gpt4 book ai didi

us.ihmc.robotics.math.frames.YoFrameVector.set()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 01:38:40 27 4
gpt4 key购买 nike

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

YoFrameVector.set介绍

暂无

代码示例

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

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

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

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

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

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

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

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

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

public void setFinalConditions(YoFramePoint finalPosition, YoFrameVector finalVelocity)
{
 this.finalPosition.set(finalPosition);
 this.finalVelocity.set(finalVelocity);
}

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

public void startComputation()
{
 imuMount.getLinearAccelerationInBody(linearAcceleration);
 yoFrameVectorPerfect.set(linearAcceleration);
 corrupt(linearAcceleration);
 yoFrameVectorNoisy.set(linearAcceleration);
 linearAccelerationOutputPort.setData(linearAcceleration);
}

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

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

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

public void set(double time, Point3d position, Vector3d linearVelocity)
{
 this.time.set(time);
 this.position.set(position);
 this.linearVelocity.set(linearVelocity);
}

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

public void set(double time, FrameOrientation orientation, FrameVector angularVelocity)
{
 this.time.set(time);
 this.orientation.set(orientation);
 this.angularVelocity.set(angularVelocity);
}

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

protected void getYoValuesFromWrench()
{
 linearPart.set(wrench.getExpressedInFrame(), wrench.getLinearPartX(), wrench.getLinearPartY(), wrench.getLinearPartZ());
 angularPart.set(wrench.getExpressedInFrame(), wrench.getAngularPartX(), wrench.getAngularPartY(), wrench.getAngularPartZ());
}

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

public CommonInertiaEllipsoidsVisualizer(RigidBody rootBody, YoGraphicsListRegistry yoGraphicsListRegistry)
{
 inertiaEllipsoidGhostOffset.set(0, 0.0, 0.0);
 findMinimumAndMaximumMassOfRigidBodies(rootBody);
 addRigidBodyAndChilderenToVisualization(rootBody);
 yoGraphicsListRegistry.registerYoGraphics(name, yoGraphics);
 update();
}

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

private void computeAngularMomentum()
{
 robotMomentum.setToZero(centerOfMassFrame);
 momentumCalculator.computeAndPack(robotMomentum);
 robotMomentum.getAngularPartIncludingFrame(angularMomentum);
 yoAngularMomentum.set(angularMomentum);
 filteredYoAngularMomentum.update();
}

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

public void getDesiredCapturePointPositionAndVelocity(YoFramePoint desiredCapturePointPositionToPack, YoFrameVector desiredCapturePointVelocityToPack,
   double time)
{
 computeTimeInCurrentState(time);
 computeDesiredCapturePoint(timeInCurrentState.getDoubleValue());
 desiredCapturePointPositionToPack.set(desiredCapturePointPosition);
 desiredCapturePointVelocityToPack.set(desiredCapturePointVelocity);
}

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

@Override
  protected void getYoValuesFromFrameWaypoint()
  {
   EuclideanWaypoint simpleWaypoint = frameWaypoint.getGeometryObject();
   position.set(simpleWaypoint.getPosition());
   linearVelocity.set(simpleWaypoint.getLinearVelocity());
  }
}

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

public void setTrajectoryParameters(YoFrameEuclideanTrajectoryPoint initialYoFrameEuclideanWaypoint, YoFrameEuclideanTrajectoryPoint finalYoFrameEuclideanWaypoint)
{
 setTrajectoryTime(finalYoFrameEuclideanWaypoint.getTime() - initialYoFrameEuclideanWaypoint.getTime());
 initialPosition.set(initialYoFrameEuclideanWaypoint.getPosition());
 initialVelocity.set(initialYoFrameEuclideanWaypoint.getLinearVelocity());
 finalPosition.set(finalYoFrameEuclideanWaypoint.getPosition());
 finalVelocity.set(finalYoFrameEuclideanWaypoint.getLinearVelocity());
}

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

public void setTrajectoryParameters(YoFrameSO3TrajectoryPoint initialYoFrameSO3Waypoint, YoFrameSO3TrajectoryPoint finalYoFrameSO3Waypoint)
{
 setTrajectoryTime(finalYoFrameSO3Waypoint.getTime() - initialYoFrameSO3Waypoint.getTime());
 initialOrientation.set(initialYoFrameSO3Waypoint.getOrientation());
 initialAngularVelocity.set(initialYoFrameSO3Waypoint.getAngularVelocity());
 finalOrientation.set(finalYoFrameSO3Waypoint.getOrientation());
 finalAngularVelocity.set(finalYoFrameSO3Waypoint.getAngularVelocity());
}

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

public void setTrajectoryParameters(FrameEuclideanTrajectoryPoint initialFrameEuclideanWaypoint, FrameEuclideanTrajectoryPoint finalFrameEuclideanWaypoint)
{
 setTrajectoryTime(finalFrameEuclideanWaypoint.getTime() - initialFrameEuclideanWaypoint.getTime());
 initialFrameEuclideanWaypoint.getPositionIncludingFrame(tempPosition);
 initialFrameEuclideanWaypoint.getLinearVelocityIncludingFrame(tempLinearVelocity);
 initialPosition.set(tempPosition);
 initialVelocity.set(tempLinearVelocity);
 finalFrameEuclideanWaypoint.getPositionIncludingFrame(tempPosition);
 finalFrameEuclideanWaypoint.getLinearVelocityIncludingFrame(tempLinearVelocity);
 finalPosition.set(tempPosition);
 finalVelocity.set(tempLinearVelocity);
}

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

public void setTrajectoryParameters(double duration, YoFramePoint initialPosition, DoubleYoVariable intermediateZPosition, YoFramePoint finalPosition, YoFrameVector finalVelocity)
{
 trajectoryTime.set(duration);
 this.initialPosition.set(initialPosition);
 this.intermediateZPosition.set(intermediateZPosition.getDoubleValue());
 this.finalPosition.set(finalPosition);
 this.finalVelocity.set(finalVelocity);
}

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

@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());
}

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

@Override
protected void getYoValuesFromFrameWaypoint()
{
 SimpleSO3TrajectoryPoint simpleTrajectoryPoint = frameWaypoint.getGeometryObject();
 SO3Waypoint so3Waypoint = simpleTrajectoryPoint.getSO3Waypoint();
 
 time.set(simpleTrajectoryPoint.getTime());
 orientation.set(so3Waypoint.getOrientation());
 angularVelocity.set(so3Waypoint.getAngularVelocity());
}

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