- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.<init>()
方法的一些代码示例,展示了YoVariableRegistry.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoVariableRegistry.<init>()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.registry.YoVariableRegistry
类名称:YoVariableRegistry
方法名:<init>
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
private YoVariableRegistry createRegistry()
{
YoVariableRegistry registry = new YoVariableRegistry("registry" + globalCounter);
globalCounter++;
return registry;
}
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public ContactController(String namePrefix)
{
registry = new YoVariableRegistry(namePrefix + "ContactController");
contactModel = new SimpleStickSlipContactModel(namePrefix + "simpleContact", registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public static void main(String[] args)
{
YoVariableRegistry registry = new YoVariableRegistry("test");
YoDouble hysteresisAmount = new YoDouble("hysteresisAmount", registry);
new HysteresisFilteredYoVariable("test", registry, hysteresisAmount);
System.out.println("done");
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@Before
public void setUp()
{
referenceFrame = ReferenceFrame.constructARootFrame("rootNameTEST");
registry = new YoVariableRegistry("registryTEST");
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
private AlphaFilteredYoFrameQuaternion createAlphaFilteredYoFrameQuaternion(DoubleProvider alpha)
{
YoVariableRegistry registry = new YoVariableRegistry("test");
ReferenceFrame referenceFrame = ReferenceFrame.getWorldFrame();
YoFrameQuaternion unfilteredQuaternion = new YoFrameQuaternion("qMeasured", referenceFrame, registry);
AlphaFilteredYoFrameQuaternion q = new AlphaFilteredYoFrameQuaternion("qFiltered", "", unfilteredQuaternion, alpha, registry);
return q;
}
代码示例来源:origin: us.ihmc/valkyrie
public ValkyrieRosControlPositionJointControlCommandCalculator(YoPositionJointHandleHolder yoPositionJointHandleHolder, YoVariableRegistry parentRegistry)
{
this.yoPositionJointHandleHolder = yoPositionJointHandleHolder;
String positionJumpLimiterBaseName = yoPositionJointHandleHolder.getName();
YoVariableRegistry registry = new YoVariableRegistry(positionJumpLimiterBaseName + "Command");
this.positionStepSizeLimiter = new DeltaLimitedYoVariable(positionJumpLimiterBaseName + "PositionStepSizeLimiter", registry, 0.15);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public ProviderBasedConstantOrientationTrajectoryGenerator(String namePrefix, ReferenceFrame referenceFrame, OrientationProvider orientationProvider,
double finalTime, YoVariableRegistry parentRegistry)
{
MathTools.checkIntervalContains(finalTime, 0.0, Double.POSITIVE_INFINITY);
this.registry = new YoVariableRegistry(namePrefix + getClass().getSimpleName());
this.referenceFrame = referenceFrame;
this.orientationProvider = orientationProvider;
this.finalTime = new YoDouble("finalTime", registry);
this.time = new YoDouble("time", registry);
this.finalTime.set(finalTime);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public ConstantOrientationTrajectoryGenerator(String namePrefix, ReferenceFrame referenceFrame, OrientationProvider orientationProvider, double finalTime,
YoVariableRegistry parentRegistry)
{
MathTools.checkIntervalContains(finalTime, 0.0, Double.POSITIVE_INFINITY);
this.registry = new YoVariableRegistry(namePrefix + getClass().getSimpleName());
this.orientationProvider = orientationProvider;
this.orientation = new YoFrameQuaternion("orientation", referenceFrame, registry);
this.finalTime = new YoDouble("finalTime", registry);
this.time = new YoDouble("time", registry);
this.finalTime.set(finalTime);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public ConstantPositionTrajectoryGenerator(String namePrefix, ReferenceFrame referenceFrame, PositionProvider positionProvider, double finalTime,
YoVariableRegistry parentRegistry)
{
MathTools.checkIntervalContains(finalTime, 0.0, Double.POSITIVE_INFINITY);
this.positionProvider = positionProvider;
this.registry = new YoVariableRegistry(namePrefix + getClass().getSimpleName());
this.position = new YoFramePoint3D("position", referenceFrame, registry);
this.finalTime = new YoDouble("finalTime", registry);
this.time = new YoDouble("time", registry);
this.finalTime.set(finalTime);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@Before
public void setUp()
{
referenceFrame = ReferenceFrame.constructARootFrame("rootNameTEST");
orientation = new FrameQuaternion(referenceFrame);
orientationProvider = new ConstantOrientationProvider(orientation);
parentRegistry = new YoVariableRegistry("parentRegistryTEST");
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public ConstantForceTrajectoryGenerator(String namePrefix, double force, double finalTime, YoVariableRegistry parentRegistry)
{
MathTools.checkIntervalContains(finalTime, 0.0, Double.POSITIVE_INFINITY);
this.registry = new YoVariableRegistry(namePrefix + getClass().getSimpleName());
this.force = new YoDouble("force", registry);
this.finalTime = new YoDouble("finalTime", registry);
this.time = new YoDouble("time", registry);
this.force.set(force);
this.finalTime.set(finalTime);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.2)
@Test(timeout=300000)
public void testSetDeadband()
{
double deadband = random.nextDouble() * 10.0;
YoVariableRegistry registry = new YoVariableRegistry("robert");
PIDController pid = new PIDController("", registry);
pid.setPositionDeadband(deadband);
assertEquals(deadband, pid.getPositionDeadband(), 0.001);
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
private YoVariableRegistry createChainOfRegistries(NameSpace fullNameSpace)
{
String rootName = fullNameSpace.getRootName();
YoVariableRegistry rootRegistry = new YoVariableRegistry(rootName);
String subName = fullNameSpace.getNameWithRootStripped();
if (subName == null)
return rootRegistry;
NameSpace subNameSpace = new NameSpace(subName);
YoVariableRegistry subRegistry = createChainOfRegistries(subNameSpace);
rootRegistry.addChild(subRegistry);
return rootRegistry;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
private CirclePositionTrajectoryGenerator createTrajectory(ReferenceFrame referenceFrame, FramePoint3D offset, double rotationAngle, double trajectoryTime)
{
PositionProvider initialPositionProvider = new ConstantPositionProvider(offset);
DoubleProvider desiredRotationAngleProvider = new ConstantDoubleProvider(rotationAngle);
YoVariableRegistry parentRegistry = new YoVariableRegistry("CirclePositionTrajectoryGeneratorTest");
return new CirclePositionTrajectoryGenerator("", referenceFrame, new ConstantDoubleProvider(trajectoryTime), initialPositionProvider, parentRegistry,
desiredRotationAngleProvider);
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.3)
@Test(timeout=300000)
public void testGetDeadband()
{
YoVariableRegistry registry = new YoVariableRegistry("robert");
PIDController pid = new PIDController("", registry);
assertEquals(0.0, pid.getPositionDeadband(), 0.001);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public WrapperForMultiplePositionTrajectoryGenerators(ArrayList<PositionTrajectoryGenerator> positionTrajectoryGenerators, String namePrefix,
YoVariableRegistry parentRegistry)
{
YoVariableRegistry registry = new YoVariableRegistry(namePrefix + namePostfix);
parentRegistry.addChild(registry);
this.positionTrajectoryGenerators = positionTrajectoryGenerators;
positionTrajectoryGeneratorIndex = new YoInteger(namePrefix + "PositionTrajectoryGeneratorIndex", registry);
timeIntoStep = new YoDouble(namePrefix + "TimeIntoStep", registry);
this.replanPositionTrajectory = new YoBoolean(namePrefix + "ReplanPositionTrajectory", registry);
this.replanPositionTrajectory.set(false);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.3)
@Test(timeout=300000)
public void testGetMaxIntegralError()
{
YoVariableRegistry registry = new YoVariableRegistry("mike");
PIDController pid = new PIDController("", registry);
assertEquals(Double.POSITIVE_INFINITY, pid.getMaxIntegralError(), 0.001);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public YoParabolicTrajectoryGenerator(String namePrefix, ReferenceFrame referenceFrame, YoVariableRegistry parentRegistry)
{
this.registry = new YoVariableRegistry(namePrefix + nameSuffix);
this.referenceFrame = referenceFrame;
c0 = new YoFrameVector3D("c0", "", referenceFrame, registry);
c1 = new YoFrameVector3D("c1", "", referenceFrame, registry);
c2 = new YoFrameVector3D("c2", "", referenceFrame, registry);
tempInitialize = new FrameVector3D(referenceFrame);
tempPackPosition = new FramePoint3D(referenceFrame);
parentRegistry.addChild(registry);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.2)
@Test(timeout=300000)
public void testSetProportionalGain()
{
YoVariableRegistry registry = new YoVariableRegistry("mike");
PIDController pid = new PIDController("", registry);
pid.setProportionalGain(5.0);
assertEquals(5.0, pid.getProportionalGain(), 0.001);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.0)
@Test(timeout=300000)
public void testSetToZero()
{
YoVariableRegistry registry = new YoVariableRegistry("youhou");
YoFramePointInMultipleFrames yoFramePointInMultipleFrames = new YoFramePointInMultipleFrames("blop", registry, allFrames);
yoFramePointInMultipleFrames.switchCurrentReferenceFrame(worldFrame);
FramePoint3D framePoint = new FramePoint3D(worldFrame);
framePoint.setToZero(worldFrame);
assertTrue(framePoint.epsilonEquals(yoFramePointInMultipleFrames, 1e-10));
}
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.createVarList()方法的一些代码示例,展示了YoVariableRegi
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.registerVariable()方法的一些代码示例,展示了YoVariableR
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.recursivelyChangeNameSpaces()方法的一些代码示例,展示了
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getRegistry()方法的一些代码示例,展示了YoVariableRegist
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.setLogging()方法的一些代码示例,展示了YoVariableRegistr
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getAllParameters()方法的一些代码示例,展示了YoVariableR
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getChildren()方法的一些代码示例,展示了YoVariableRegist
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.()方法的一些代码示例,展示了YoVariableRegistry.()的具体用法。
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.clear()方法的一些代码示例,展示了YoVariableRegistry.cle
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getNumberOfYoVariables()方法的一些代码示例,展示了YoVar
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getName()方法的一些代码示例,展示了YoVariableRegistry.g
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.addChild()方法的一些代码示例,展示了YoVariableRegistry.
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getAllVariablesInThisListOnly()方法的一些代码示例,展
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getAllVariables()方法的一些代码示例,展示了YoVariableRe
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getNameSpace()方法的一些代码示例,展示了YoVariableRegis
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getVariable()方法的一些代码示例,展示了YoVariableRegist
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getOrCreateAndAddRegistry()方法的一些代码示例,展示了Yo
本文整理了Java中us.ihmc.yoVariables.registry.YoVariableRegistry.getAllVariablesIncludingDescendants()方法的一些
本文整理了Java中us.ihmc.robotics.dataStructures.registry.YoVariableRegistry.getAllVariables()方法的一些代码示例,展示了
本文整理了Java中us.ihmc.robotics.dataStructures.registry.YoVariableRegistry.getChildren()方法的一些代码示例,展示了YoVa
我是一名优秀的程序员,十分优秀!