code: def set_mag_offsets_encode(self, target_system, target_component, mag_ofs_x, mag_ofs_y, mag_ofs_z):
                  '''
                  Deprecated. Use MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS instead. Set the
                  magnetometer offsets
  
                  target_system             : System ID (uint8_t)
                  target_component          : Component ID (uint8_t)
                  mag_ofs_x                 : magnetometer X offset (int16_t)
                  mag_ofs_y                 : magnetometer Y offset (int16_t)
                  mag_ofs_z                 : magnetometer Z offset (int16_t)
  
                  '''
                  return MAVLink_set_mag_offsets_message(target_system, target_component, mag_ofs_x, mag_ofs_y, mag_ofs_zf set_mag_offsets_encode(self, target_system, target_component, mag_ofs_x, mag_ofs_y, mag_ofs_z):
                  '''
                  Deprecated. Use MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS instead. Set the
                  magnetometer offsets
  
                  target_system             : System ID (uint8_t)
                  target_component          : Component ID (uint8_t)
                  mag_ofs_x                 : magnetometer X offset (int16_t)
                  mag_ofs_y                 : magnetometer Y offset (int16_t)
                  mag_ofs_z                 : magnetometer Z offset (int16_t)
  
                  '''
                  return MAVLink_set_mag_offsets_message(target_system, target_component, mag_ofs_x, mag_ofs_y, mag_ofs_z)
docs: Deprecated. Use MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS instead. Set the
                  magnetometer offsets
  
                  target_system             : System ID (uint8_t)
                  target_component          : Component ID (uint8_t)
                  mag_ofs_x                 : magnetometer X offset (int16_t)
                  mag_ofs_y                 : magnetometer Y offset (int16_t)
                  mag_ofs_z                 : magnetometer Z offset (int16_t)