us.ihmc.robotics.math.trajectories.waypoints.YoFrameEuclideanTrajectoryPoint.set()方法的使用及代码示例

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

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

YoFrameEuclideanTrajectoryPoint.set介绍

暂无

代码示例

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

private void appendWaypointUnsafe(EuclideanTrajectoryPointInterface<?> euclideanWaypoint)
{
 waypoints.get(numberOfWaypoints.getIntegerValue()).set(euclideanWaypoint);
 numberOfWaypoints.increment();
}

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

new YoVariableRegistry("schnoop"),
                                                      expectedFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);
testedYoFrameEuclideanTrajectoryPoint.switchCurrentReferenceFrame(worldFrame);
testedYoFrameEuclideanTrajectoryPoint.registerReferenceFrame(worldFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);

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

new YoVariableRegistry("schnoop"),
                                                      expectedFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);
testedYoFrameEuclideanTrajectoryPoint.switchCurrentReferenceFrame(worldFrame);
testedYoFrameEuclideanTrajectoryPoint.registerReferenceFrame(worldFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);

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

assertFalse(linearVelocityForVerification.epsilonEquals(linearVelocity, 1e-7));
yoFrameEuclideanTrajectoryPoint.set(time, pointForVerification, linearVelocityForVerification);
assertFalse(yoFrameEuclideanTrajectoryPoint.epsilonEquals(yoFrameEuclideanTrajectoryPointTwo, 1e-7));
yoFrameEuclideanTrajectoryPointTwo.set(yoFrameEuclideanTrajectoryPoint);
positionDistance = yoFrameEuclideanTrajectoryPoint.positionDistance(yoFrameEuclideanTrajectoryPointTwo);
assertEquals(0.0, positionDistance, 1e-7);
yoFrameEuclideanTrajectoryPoint.set(trajectoryPointAsInterface);

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

private void appendWaypointUnsafe(double timeAtWaypoint, Point3d position, Vector3d linearVelocity)
{
 waypoints.get(numberOfWaypoints.getIntegerValue()).set(timeAtWaypoint, position, linearVelocity);
 numberOfWaypoints.increment();
}

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

private void appendWaypointUnsafe(double timeAtWaypoint, FramePoint position, FrameVector linearVelocity)
{
 waypoints.get(numberOfWaypoints.getIntegerValue()).set(timeAtWaypoint, position, linearVelocity);
 numberOfWaypoints.increment();
}

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

private void appendWaypointUnsafe(double timeAtWaypoint, FramePoint3DReadOnly position, FrameVector3DReadOnly linearVelocity)
{
 waypoints.get(numberOfWaypoints.getIntegerValue()).set(timeAtWaypoint, position, linearVelocity);
 numberOfWaypoints.increment();
}

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

private void appendWaypointUnsafe(EuclideanTrajectoryPointInterface<?> euclideanWaypoint)
{
 waypoints.get(numberOfWaypoints.getIntegerValue()).set(euclideanWaypoint);
 numberOfWaypoints.increment();
}

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

private void appendWaypointUnsafe(double timeAtWaypoint, Point3DReadOnly position, Vector3DReadOnly linearVelocity)
{
 waypoints.get(numberOfWaypoints.getIntegerValue()).set(timeAtWaypoint, position, linearVelocity);
 numberOfWaypoints.increment();
}

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

expectedFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);

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

expectedLinearVelocity = EuclidFrameRandomTools.nextFrameVector3D(random, expectedFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);
expectedLinearVelocity = EuclidFrameRandomTools.nextFrameVector3D(random, expectedFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedTime, expectedPosition, expectedLinearVelocity);
                                                       expectedFrame);
testedYoFrameEuclideanTrajectoryPoint.set(expectedYoFrameEuclideanTrajectoryPoint);

相关文章