code: def cmd_lockup_autopilot(self, args):
          '''lockup autopilot for watchdog testing'''
          if len(args) > 0 and args[0] == 'IREALLYMEANIT':
              print("Sending lockup command")
              self.master.mav.command_long_send(self.settings.target_system, self.settings.target_component,
                                                mavutil.mavlink.MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN, 0,
                                                42, 24, 71, 93, 0, 0, 0)
          else:
              print("Invalid lockup command"f cmd_lockup_autopilot(self, args):
          '''lockup autopilot for watchdog testing'''
          if len(args) > 0 and args[0] == 'IREALLYMEANIT':
              print("Sending lockup command")
              self.master.mav.command_long_send(self.settings.target_system, self.settings.target_component,
                                                mavutil.mavlink.MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN, 0,
                                                42, 24, 71, 93, 0, 0, 0)
          else:
              print("Invalid lockup command")
docs: lockup autopilot for watchdog testing