serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, paramValue0, Endian.little);
  data_.setFloat32(4, scale, Endian.little);
  data_.setFloat32(8, paramValueMin, Endian.little);
  data_.setFloat32(12, paramValueMax, Endian.little);
  data_.setInt16(16, paramIndex, Endian.little);
  data_.setUint8(18, targetSystem);
  data_.setUint8(19, targetComponent);
  MavlinkMessage.setInt8List(data_, 20, paramId);
  data_.setUint8(36, parameterRcChannelIndex);
  return data_;
}