serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setInt16(0, sueAccelXOffset, Endian.little);
  data_.setInt16(2, sueAccelYOffset, Endian.little);
  data_.setInt16(4, sueAccelZOffset, Endian.little);
  data_.setInt16(6, sueGyroXOffset, Endian.little);
  data_.setInt16(8, sueGyroYOffset, Endian.little);
  data_.setInt16(10, sueGyroZOffset, Endian.little);
  return data_;
}