bool ContactPoint::read_x(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(x)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #2
0
bool wholeBodyDynamicsSettings::read_jointVelFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(jointVelFilterCutoffInHz)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #3
0
bool wholeBodyDynamicsSettings::nested_read_forceTorqueFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(forceTorqueFilterCutoffInHz)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #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();
}