serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint64(0, timestamp, Endian.little);
  data_.setFloat32(8, angleofattack, Endian.little);
  data_.setFloat32(12, sideslip, Endian.little);
  data_.setUint8(16, angleofattackValid);
  data_.setUint8(17, sideslipValid);
  return data_;
}