Beispiel #1
0
bool SurfaceMesh::read(yarp::os::idl::WireReader& reader) {
  if (!reader.readString(meshName)) {
    reader.fail();
    return false;
  }
  {
    points.clear();
    uint32_t _size6;
    yarp::os::idl::WireState _etype9;
    reader.readListBegin(_etype9, _size6);
    points.resize(_size6);
    uint32_t _i10;
    for (_i10 = 0; _i10 < _size6; ++_i10)
    {
      if (!reader.readNested(points[_i10])) {
        reader.fail();
        return false;
      }
    }
    reader.readListEnd();
  }
  {
    rgbColour.clear();
    uint32_t _size11;
    yarp::os::idl::WireState _etype14;
    reader.readListBegin(_etype14, _size11);
    rgbColour.resize(_size11);
    uint32_t _i15;
    for (_i15 = 0; _i15 < _size11; ++_i15)
    {
      if (!reader.readNested(rgbColour[_i15])) {
        reader.fail();
        return false;
      }
    }
    reader.readListEnd();
  }
  {
    polygons.clear();
    uint32_t _size16;
    yarp::os::idl::WireState _etype19;
    reader.readListBegin(_etype19, _size16);
    polygons.resize(_size16);
    uint32_t _i20;
    for (_i20 = 0; _i20 < _size16; ++_i20)
    {
      if (!reader.readNested(polygons[_i20])) {
        reader.fail();
        return false;
      }
    }
    reader.readListEnd();
  }
  return !reader.isError();
}
Beispiel #2
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();
}
Beispiel #3
0
bool jointData::nested_read_interactionMode_isValid(yarp::os::idl::WireReader& reader) {
  if (!reader.readBool(interactionMode_isValid)) {
    reader.fail();
    return false;
  }
  return true;
}
bool HomTransform::nested_read_xz(yarp::os::idl::WireReader& reader) {
  if (!reader.readFloat64(xz)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #5
0
bool wholeBodyDynamicsSettings::nested_read_forceTorqueFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(forceTorqueFilterCutoffInHz)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #6
0
bool wholeBodyDynamicsSettings::nested_read_fixedFrameGravity(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(fixedFrameGravity)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #7
0
bool wholeBodyDynamicsSettings::read_useJointVelocity(yarp::os::idl::WireReader& reader) {
  if (!reader.readBool(useJointVelocity)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #8
0
bool SensorStreamingData::nested_read_SixAxisForceTorqueSensors(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(SixAxisForceTorqueSensors)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #9
0
bool Pixel::nested_read_y(yarp::os::idl::WireReader& reader) {
  if (!reader.readI32(y)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #10
0
bool Pixel::read_x(yarp::os::idl::WireReader& reader) {
  if (!reader.readI32(x)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #11
0
bool jointData::read_motorPosition(yarp::os::idl::WireReader& reader) {
  if (!reader.read(motorPosition)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #12
0
bool jointData::nested_read_jointAcceleration_isValid(yarp::os::idl::WireReader& reader) {
  if (!reader.readBool(jointAcceleration_isValid)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #13
0
bool jointData::read_jointAcceleration(yarp::os::idl::WireReader& reader) {
  if (!reader.read(jointAcceleration)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #14
0
bool jointData::read_jointVelocity_isValid(yarp::os::idl::WireReader& reader) {
  if (!reader.readBool(jointVelocity_isValid)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #15
0
bool jointData::nested_read_jointVelocity(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(jointVelocity)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #16
0
bool SensorStreamingData::nested_read_OrientationSensors(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(OrientationSensors)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #17
0
bool SensorStreamingData::nested_read_TemperatureSensors(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(TemperatureSensors)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #18
0
bool Color::read_r(yarp::os::idl::WireReader& reader) {
  if (!reader.readI16(r)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #19
0
bool SensorStreamingData::read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader) {
  if (!reader.read(ContactLoadCellArrays)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #20
0
bool SensorStreamingData::nested_read_EncoderArrays(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(EncoderArrays)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #21
0
bool wholeBodyDynamicsSettings::nested_read_useJointAcceleration(yarp::os::idl::WireReader& reader) {
  if (!reader.readBool(useJointAcceleration)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #22
0
bool SensorStreamingData::read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader) {
  if (!reader.read(ThreeAxisGyroscopes)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #23
0
bool wholeBodyDynamicsSettings::nested_read_imuFrameName(yarp::os::idl::WireReader& reader) {
  if (!reader.readString(imuFrameName)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #24
0
bool SensorStreamingData::nested_read_SkinPatches(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(SkinPatches)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #25
0
bool wholeBodyDynamicsSettings::read_jointVelFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(jointVelFilterCutoffInHz)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #26
0
bool SensorStreamingData::read_ThreeAxisLinearAccelerometers(yarp::os::idl::WireReader& reader) {
  if (!reader.read(ThreeAxisLinearAccelerometers)) {
    reader.fail();
    return false;
  }
  return true;
}
bool HomTransform::read_yx(yarp::os::idl::WireReader& reader) {
  if (!reader.readFloat64(yx)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #28
0
bool SensorStreamingData::nested_read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader) {
  if (!reader.readNested(ThreeAxisMagnetometers)) {
    reader.fail();
    return false;
  }
  return true;
}
bool ContactPoint::read_x(yarp::os::idl::WireReader& reader) {
  if (!reader.readDouble(x)) {
    reader.fail();
    return false;
  }
  return true;
}
Beispiel #30
0
bool jointData::read_interactionMode(yarp::os::idl::WireReader& reader) {
  if (!reader.read(interactionMode)) {
    reader.fail();
    return false;
  }
  return true;
}