serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setInt16(8, xacc, Endian.little);
data_.setInt16(10, yacc, Endian.little);
data_.setInt16(12, zacc, Endian.little);
data_.setInt16(14, xgyro, Endian.little);
data_.setInt16(16, ygyro, Endian.little);
data_.setInt16(18, zgyro, Endian.little);
data_.setInt16(20, xmag, Endian.little);
data_.setInt16(22, ymag, Endian.little);
data_.setInt16(24, zmag, Endian.little);
data_.setUint8(26, id);
data_.setInt16(27, temperature, Endian.little);
return data_;
}