serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
MavlinkMessage.setInt32List(data_, 8, rpm);
MavlinkMessage.setFloat32List(data_, 24, voltage);
MavlinkMessage.setFloat32List(data_, 40, current);
data_.setUint8(56, index);
return data_;
}