serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, requestId, Endian.little);
  data_.setFloat32(4, minValue, Endian.little);
  data_.setFloat32(8, maxValue, Endian.little);
  data_.setFloat32(12, increment, Endian.little);
  data_.setUint8(16, result);
  MavlinkMessage.setInt8List(data_, 17, paramId);
  data_.setUint8(33, configType);
  return data_;
}