serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, roll, Endian.little);
data_.setFloat32(4, pitch, Endian.little);
data_.setFloat32(8, yaw, Endian.little);
data_.setFloat32(12, altitude, Endian.little);
data_.setInt32(16, lat, Endian.little);
data_.setInt32(20, lng, Endian.little);
return data_;
}