- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.getYoPositionDeadband()
方法的一些代码示例,展示了YoPDGains.getYoPositionDeadband()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoPDGains.getYoPositionDeadband()
方法的具体详情如下:
包路径:us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains
类名称:YoPDGains
方法名:getYoPositionDeadband
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public PDController(YoPDGains pdGains, String suffix, YoVariableRegistry registry)
{
super(suffix, registry);
this.proportionalGain = pdGains.getYoKp();
this.derivativeGain = pdGains.getYoKd();
this.positionDeadband = pdGains.getYoPositionDeadband();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
@ContinuousIntegrationTest(estimatedDuration = 0.0)
@Test(timeout = 30000)
public void testParameters_2()
{
YoPDGains gains = new YoPDGains("pdGains", new YoVariableRegistry("testRegistry"));
Random rand = new Random();
for (int i = 0; i < 1000; i++)
{
double kp = rand.nextDouble() * 100;
double maxAcc = rand.nextDouble() * 100;
double maxJerk = rand.nextDouble() * 100;
double zeta = rand.nextDouble()*100;
gains.setPDGains(kp, zeta);
gains.setMaximumFeedbackAndMaximumFeedbackRate(maxAcc, maxJerk);
assertEquals(kp, gains.getKp(), 1e-6);
assertEquals(0.0, gains.getKd(), 1e-6);
assertEquals(maxAcc, gains.getMaximumFeedback(), 1e-6);
assertEquals(maxJerk, gains.getMaximumFeedbackRate(), 1e-6);
assertEquals(zeta, gains.getZeta(), 1e-6);
assertEquals(0.0, gains.getPositionDeadband(), 1e-6);
assertEquals(0.0, gains.getYoPositionDeadband().getDoubleValue(), 1e-6);
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test
assertEquals(zeta, gains.getYoZeta().getDoubleValue(), 1e-6);
assertEquals(deadband, gains.getPositionDeadband(), 1e-6);
assertEquals(deadband, gains.getYoPositionDeadband().getDoubleValue(), 1e-6);
本文整理了Java中us.ihmc.robotics.controllers.YoPDGains.getYoKp()方法的一些代码示例,展示了YoPDGains.getYoKp()的具体用法。这些代码
本文整理了Java中us.ihmc.robotics.controllers.YoPDGains.getYoKd()方法的一些代码示例,展示了YoPDGains.getYoKd()的具体用法。这些代码
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.setKp()方法的一些代码示例,展示了YoPDGa
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.setMaximumFeedback()方法的一些代
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.getYoPositionDeadband()方法的
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.setKd()方法的一些代码示例,展示了YoPDGa
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.setZeta()方法的一些代码示例,展示了YoPD
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.getYoKp()方法的一些代码示例,展示了YoPD
本文整理了Java中us.ihmc.robotics.controllers.pidGains.implementations.YoPDGains.getYoKd()方法的一些代码示例,展示了YoPD
我是一名优秀的程序员,十分优秀!