serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
MavlinkMessage.setFloat32List(data_, 8, posX);
MavlinkMessage.setFloat32List(data_, 28, posY);
MavlinkMessage.setFloat32List(data_, 48, posZ);
MavlinkMessage.setFloat32List(data_, 68, velX);
MavlinkMessage.setFloat32List(data_, 88, velY);
MavlinkMessage.setFloat32List(data_, 108, velZ);
MavlinkMessage.setFloat32List(data_, 128, accX);
MavlinkMessage.setFloat32List(data_, 148, accY);
MavlinkMessage.setFloat32List(data_, 168, accZ);
MavlinkMessage.setFloat32List(data_, 188, posYaw);
MavlinkMessage.setFloat32List(data_, 208, velYaw);
MavlinkMessage.setUint16List(data_, 228, command);
data_.setUint8(238, validPoints);
return data_;
}