serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, targetSystem);
  data_.setUint8(1, targetComponent);
  data_.setUint8(2, mountMode);
  data_.setUint8(3, stabRoll);
  data_.setUint8(4, stabPitch);
  data_.setUint8(5, stabYaw);
  return data_;
}