serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timestamp, Endian.little);
data_.setFloat32(8, x, Endian.little);
data_.setFloat32(12, y, Endian.little);
data_.setFloat32(16, z, Endian.little);
MavlinkMessage.setFloat32List(data_, 20, posStd);
data_.setFloat32(32, yawStd, Endian.little);
MavlinkMessage.setFloat32List(data_, 36, qTarget);
MavlinkMessage.setFloat32List(data_, 52, qSensor);
data_.setUint8(68, id);
data_.setUint8(69, frame);
data_.setUint8(70, type);
return data_;
}