serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, usec, Endian.little);
data_.setFloat32(8, accel0, Endian.little);
data_.setFloat32(12, accel1, Endian.little);
data_.setFloat32(16, accel2, Endian.little);
data_.setFloat32(20, gyro0, Endian.little);
data_.setFloat32(24, gyro1, Endian.little);
data_.setFloat32(28, gyro2, Endian.little);
return data_;
}