code: def calibrate_level(self):
          '''calibrate accels (1D version)'''
          self.mav.command_long_send(self.target_system, self.target_component,
                                     mavlink.MAV_CMD_PREFLIGHT_CALIBRATION, 0,
                                     1, 1, 0, 0, 0, 0, 0f calibrate_level(self):
          '''calibrate accels (1D version)'''
          self.mav.command_long_send(self.target_system, self.target_component,
                                     mavlink.MAV_CMD_PREFLIGHT_CALIBRATION, 0,
                                     1, 1, 0, 0, 0, 0, 0)
docs: calibrate accels (1D version)