serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, angleOfAttackNormal, Endian.little);
  data_.setFloat32(4, angleOfAttackInverted, Endian.little);
  data_.setFloat32(8, elevatorTrimNormal, Endian.little);
  data_.setFloat32(12, elevatorTrimInverted, Endian.little);
  data_.setFloat32(16, referenceSpeed, Endian.little);
  return data_;
}