code: def waypoint_clear_all_send(self):
          '''wrapper for waypoint_clear_all_send'''
          if self.mavlink10():
              self.mav.mission_clear_all_send(self.target_system, self.target_component)
          else:
              self.mav.waypoint_clear_all_send(self.target_system, self.target_componentf waypoint_clear_all_send(self):
          '''wrapper for waypoint_clear_all_send'''
          if self.mavlink10():
              self.mav.mission_clear_all_send(self.target_system, self.target_component)
          else:
              self.mav.waypoint_clear_all_send(self.target_system, self.target_component)
docs: wrapper for waypoint_clear_all_send