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);
data_.setFloat32(24, v1, Endian.little);
data_.setFloat32(28, v2, Endian.little);
data_.setFloat32(32, v3, Endian.little);
data_.setFloat32(36, v4, Endian.little);
return data_;
}