serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, roll, Endian.little);
  data_.setUint8(4, targetSystem);
  data_.setUint8(5, targetComponent);
  data_.setUint8(6, gimbalId);
  data_.setUint8(7, client);
  return data_;
}