serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setFloat32(8, xAcc, Endian.little);
data_.setFloat32(12, yAcc, Endian.little);
data_.setFloat32(16, zAcc, Endian.little);
data_.setFloat32(20, xVel, Endian.little);
data_.setFloat32(24, yVel, Endian.little);
data_.setFloat32(28, zVel, Endian.little);
data_.setFloat32(32, xPos, Endian.little);
data_.setFloat32(36, yPos, Endian.little);
data_.setFloat32(40, zPos, Endian.little);
data_.setFloat32(44, airspeed, Endian.little);
MavlinkMessage.setFloat32List(data_, 48, velVariance);
MavlinkMessage.setFloat32List(data_, 60, posVariance);
MavlinkMessage.setFloat32List(data_, 72, q);
data_.setFloat32(88, rollRate, Endian.little);
data_.setFloat32(92, pitchRate, Endian.little);
data_.setFloat32(96, yawRate, Endian.little);
return data_;
}