serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, paramValue, Endian.little);
  data_.setUint8(4, targetSystem);
  data_.setUint8(5, targetComponent);
  MavlinkMessage.setInt8List(data_, 6, paramId);
  data_.setUint8(22, paramType);
  data_.setUint8(23, paramResult);
  return data_;
}