serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
MavlinkMessage.setUint16List(data_, 0, voltage);
MavlinkMessage.setUint16List(data_, 8, current);
MavlinkMessage.setUint16List(data_, 16, totalcurrent);
MavlinkMessage.setUint16List(data_, 24, rpm);
MavlinkMessage.setUint16List(data_, 32, count);
MavlinkMessage.setUint8List(data_, 40, temperature);
return data_;
}