serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, lat, Endian.little);
data_.setFloat32(4, lng, Endian.little);
data_.setUint8(8, targetSystem);
data_.setUint8(9, targetComponent);
data_.setUint8(10, idx);
data_.setUint8(11, count);
return data_;
}