Reports results of completed compass calibration. Sent until
                MAG_CAL_ACK received.

                compass_id                : Compass being calibrated (uint8_t)
                cal_mask                  : Bitmask of compasses being calibrated (uint8_t)
                cal_status                : Status (see MAG_CAL_STATUS enum) (uint8_t)
                autosaved                 : 0=requires a MAV_CMD_DO_ACCEPT_MAG_CAL, 1=saved to parameters (uint8_t)
                fitness                   : RMS milligauss residuals (float)
                ofs_x                     : X offset (float)
                ofs_y                     : Y offset (float)
                ofs_z                     : Z offset (float)
                diag_x                    : X diagonal (matrix 11) (float)
                diag_y                    : Y diagonal (matrix 22) (float)
                diag_z                    : Z diagonal (matrix 33) (float)
                offdiag_x                 : X off-diagonal (matrix 12 and 21) (float)
                offdiag_y                 : Y off-diagonal (matrix 13 and 31) (float)
                offdiag_z                 : Z off-diagonal (matrix 32 and 23) (float)

def mag_cal_report_encode(self, compass_id, cal_mask, cal_status, autosaved, fitness, ofs_x, ofs_y, ofs_z, diag_x, diag_y, diag_z, offdiag_x, offdiag_y, offdiag_z):
                '''
                Reports results of completed compass calibration. Sent until
                MAG_CAL_ACK received.

                compass_id                : Compass being calibrated (uint8_t)
                cal_mask                  : Bitmask of compasses being calibrated (uint8_t)
                cal_status                : Status (see MAG_CAL_STATUS enum) (uint8_t)
                autosaved                 : 0=requires a MAV_CMD_DO_ACCEPT_MAG_CAL, 1=saved to parameters (uint8_t)
                fitness                   : RMS milligauss residuals (float)
                ofs_x                     : X offset (float)
                ofs_y                     : Y offset (float)
                ofs_z                     : Z offset (float)
                diag_x                    : X diagonal (matrix 11) (float)
                diag_y                    : Y diagonal (matrix 22) (float)
                diag_z                    : Z diagonal (matrix 33) (float)
                offdiag_x                 : X off-diagonal (matrix 12 and 21) (float)
                offdiag_y                 : Y off-diagonal (matrix 13 and 31) (float)
                offdiag_z                 : Z off-diagonal (matrix 32 and 23) (float)

                '''
                return MAVLink_mag_cal_report_message(compass_id, cal_mask, cal_status, autosaved, fitness, ofs_x, ofs_y, ofs_z, diag_x, diag_y, diag_z, offdiag_x, offdiag_y, offdiag_z)