code: def send_rally_points(self):
          '''send rally points from rallyloader'''
          self.mav_param.mavset(self.master,'RALLY_TOTAL',self.rallyloader.rally_count(),3)
  
          for i in range(self.rallyloader.rally_count()):
              self.send_rally_point(if send_rally_points(self):
          '''send rally points from rallyloader'''
          self.mav_param.mavset(self.master,'RALLY_TOTAL',self.rallyloader.rally_count(),3)
  
          for i in range(self.rallyloader.rally_count()):
              self.send_rally_point(i)
docs: send rally points from rallyloader