gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-16 08:09:31 26 4
gpt4 key购买 nike

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

YoFrameSO3TrajectoryPoint.getAngularVelocity介绍

[英]Return the original angularVelocity held by this trajectory point.
[中]返回该轨迹点保持的原始角速度。

代码示例

代码示例来源: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/ihmc-robotics-toolkit-test

assertEquals(expectedNameSuffix, testedYoFrameSO3TrajectoryPoint.getNameSuffix());
assertTrue(expectedOrientation.geometricallyEquals(testedYoFrameSO3TrajectoryPoint.getOrientation(), epsilon));
assertTrue(expectedAngularVelocity.epsilonEquals(testedYoFrameSO3TrajectoryPoint.getAngularVelocity(), epsilon));
testedYoFrameSO3TrajectoryPoint.getAngularVelocity(actualAngularVelocity);
testedYoFrameSO3TrajectoryPoint.getAngularVelocity(actualFrameAngularVelocity);

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

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/ihmc-robotics-toolkit-test

assertTrue(Double.isNaN(testedYoFrameSO3TrajectoryPoint.getTime()));
assertTrue(testedYoFrameSO3TrajectoryPoint.getOrientation().containsNaN());
assertTrue(testedYoFrameSO3TrajectoryPoint.getAngularVelocity().containsNaN());
assertTrue(Double.isNaN(testedYoFrameSO3TrajectoryPoint.getTime()));
assertTrue(testedYoFrameSO3TrajectoryPoint.getOrientation().containsNaN());
assertTrue(testedYoFrameSO3TrajectoryPoint.getAngularVelocity().containsNaN());

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

assertFalse(angularVelocity.epsilonEquals(yoFrameSO3TrajectoryPoint.getAngularVelocity(), 1e-10));
assertTrue(angularVelocity.epsilonEquals(yoFrameSO3TrajectoryPoint.getAngularVelocity(), 1e-10));

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

assertWaypointContainsExpectedData(expectedNamePrefix, expectedNameSuffix, testedYoFrameSO3TrajectoryPoint.getReferenceFrame(),
                  testedYoFrameSO3TrajectoryPoint.getTime(), testedYoFrameSO3TrajectoryPoint.getOrientation(),
                  testedYoFrameSO3TrajectoryPoint.getAngularVelocity(), testedYoFrameSO3TrajectoryPoint, epsilon);

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

yoFrameSO3TrajectoryPoint.getAngularVelocity(angularVelocityForVerification);
yoFrameSO3TrajectoryPoint.getAngularVelocity(angularVelocity);
yoFrameSO3TrajectoryPoint.getAngularVelocity(angularVelocity);

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