serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setFloat32(4, q1, Endian.little);
data_.setFloat32(8, q2, Endian.little);
data_.setFloat32(12, q3, Endian.little);
data_.setFloat32(16, q4, Endian.little);
data_.setFloat32(20, xacc, Endian.little);
data_.setFloat32(24, yacc, Endian.little);
data_.setFloat32(28, zacc, Endian.little);
data_.setFloat32(32, xgyro, Endian.little);
data_.setFloat32(36, ygyro, Endian.little);
data_.setFloat32(40, zgyro, Endian.little);
return data_;
}