- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoBoolean.getBooleanValue()
方法的一些代码示例,展示了YoBoolean.getBooleanValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoBoolean.getBooleanValue()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoBoolean
类名称:YoBoolean
方法名:getBooleanValue
[英]Retrieve the boolean value of this YoBoolean.
[中]检索此对象的布尔值。
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Retrieves this YoBoolean's value as a long.
*
* @return long value of internal boolean state (0 or 1)
*/
@Override public long getValueAsLongBits()
{
return getBooleanValue() ? 1 : 0;
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public boolean isDone()
{
return ballFound.getBooleanValue();
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public boolean hasInputBeenSet()
{
if (haveFootstepsBeenGenerated.getBooleanValue())
return true;
else
return false;
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public boolean isDone()
{
// return true;
return validAcknoledged.getBooleanValue();
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public boolean hasInputBeenSet()
{
return hasInputBeenSet.getBooleanValue();
}
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public boolean isDone()
{
return isDone.getBooleanValue();
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public boolean isDone()
{
if (!haveFootstepsBeenGenerated.getBooleanValue() || !hasTargetBeenProvided.getBooleanValue())
return false;
if (haveFootstepsBeenGenerated.getBooleanValue() && footsteps.size() == 0)
return true;
return footstepListBehavior.isDone();
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
@Override
public GroundContactPoint getLockedContactPoint(int contactPointIndex)
{
if (contactsAvailable.get(contactPointIndex).getBooleanValue())
{
throw new RuntimeException("Trying to get a contact point that isn't checked out!");
}
return allGroundContactPoints.get(contactPointIndex);
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
private void sendPacketToNetworkProcessor()
{
if (!isPaused.getBooleanValue() && !isAborted.getBooleanValue())
{
System.out.println("EnableLidarBehavior: sending enable packet");
// sendPacket(enableLidarPacket);
packetHasBeenSent.set(true);
}
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Returns String representation of this YoBoolean.
*
* @return String representing this YoBoolean and its current value as a boolean
*/
@Override public String toString()
{
return String.format("%s: %s", getName(), getBooleanValue());
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void reset()
{
for (YoBoolean var : previousYoVariables)
{
var.set(variableToDelay.getBooleanValue());
}
this.set(variableToDelay.getBooleanValue());
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
private void sendOutgoingPacketToControllerAndNetworkProcessor()
{
if (!isPaused.getBooleanValue() && !isAborted.getBooleanValue())
{
goHomePublisher.publish(outgoingMessage);
hasPacketBeenSent.set(true);
if (DEBUG)
PrintTools.debug(this, "sending packet to controller and network processor: " + outgoingMessage);
}
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public void doControl()
{
if (!packetHasBeenSent.getBooleanValue() && (outgoingFootLoadBearingMessage != null))
{
sendFootStateToController();
}
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public void doControl()
{
if (!packetHasBeenSent.getBooleanValue() && (outgoingHeadTrajectoryMessage != null))
{
sendHeadOrientationPacketToController();
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
private void initialize(YoBoolean yoVariableToFilter, int windowSize)
{
if (windowSize < 0)
throw new RuntimeException("window size must be greater than 0");
variableToFilter = yoVariableToFilter;
this.windowSize.set(windowSize);
if (variableToFilter != null)
this.set(yoVariableToFilter.getBooleanValue());
this.set(false);
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
private void sendHandDesiredConfigurationToController()
{
if (!isPaused.getBooleanValue() && !isAborted.getBooleanValue())
{
publisher.publish(outgoingHandDesiredConfigurationMessage);
hasPacketBeenSet.set(true);
startTime.set(yoTime.getDoubleValue());
if (DEBUG)
PrintTools.debug(this, "Sending HandDesiredConfigurationMessage to Controller: " + outgoingHandDesiredConfigurationMessage);
}
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
public void update()
{
if (initialize.getBooleanValue())
{
if (!initialize())
return;
initialize.set(false);
}
updateInternal();
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Creates a new YoBoolean with the same parameters as this one, and registers it to the passed {@link YoVariableRegistry}.
*
* @param newRegistry YoVariableRegistry to duplicate this YoBoolean to
* @return the newly created and registered YoBoolean
*/
@Override public YoBoolean duplicate(YoVariableRegistry newRegistry)
{
YoBoolean newVar = new YoBoolean(getName(), getDescription(), newRegistry);
newVar.set(getBooleanValue());
return newVar;
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void updateForAngles(double currentPosition)
{
if (!hasBeenCalled.getBooleanValue())
{
hasBeenCalled.set(true);
lastPosition.set(currentPosition);
set(0.0);
}
double difference = AngleTools.computeAngleDifferenceMinusPiToPi(currentPosition, lastPosition.getDoubleValue());
updateUsingDifference(difference);
lastPosition.set(currentPosition);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void update(double perfectValue)
{
perfect.set(perfectValue);
if (isNoisy.getBooleanValue())
{
double noise = getBias() + getRandomNoise();
super.set(perfect.getDoubleValue() + noise);
}
else
super.set(perfect.getDoubleValue());
// System.out.println("NoisyYoDouble Diff: (" + this.getName() + ")" + (super.getDoubleValue() - perfect.getDoubleValue()));
}
本文整理了Java中us.ihmc.yoVariables.variable.YoBoolean.getBooleanValue()方法的一些代码示例,展示了YoBoolean.getBooleanV
本文整理了Java中org.apache.xmlbeans.impl.values.XmlObjectBase.getBooleanValue()方法的一些代码示例,展示了XmlObjectBase.
我是一名优秀的程序员,十分优秀!