예제 #1
0
bool ContactPoint::read_x(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(x)) {
    reader.fail();
    return false;
  }
  return true;
}
예제 #2
0
bool wholeBodyDynamicsSettings::read_jointVelFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(jointVelFilterCutoffInHz)) {
    reader.fail();
    return false;
  }
  return true;
}
예제 #3
0
bool wholeBodyDynamicsSettings::nested_read_forceTorqueFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(forceTorqueFilterCutoffInHz)) {
    reader.fail();
    return false;
  }
  return true;
}
예제 #4
0
bool ClassScore::read(yarp::os::idl::WireReader& reader) {
  if (!reader.readString(className)) {
    reader.fail();
    return false;
  }
  if (!reader.readDouble(score)) {
    reader.fail();
    return false;
  }
  return !reader.isError();
}