serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, sueYawkpAileron, Endian.little);
  data_.setFloat32(4, sueYawkdAileron, Endian.little);
  data_.setFloat32(8, sueRollkp, Endian.little);
  data_.setFloat32(12, sueRollkd, Endian.little);
  return data_;
}