serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, omegaix, Endian.little);
  data_.setFloat32(4, omegaiy, Endian.little);
  data_.setFloat32(8, omegaiz, Endian.little);
  data_.setFloat32(12, accelWeight, Endian.little);
  data_.setFloat32(16, renormVal, Endian.little);
  data_.setFloat32(20, errorRp, Endian.little);
  data_.setFloat32(24, errorYaw, Endian.little);
  return data_;
}