def build(self):
self.client = False
self.connect(3)
Clock.schedule_interval(self.connect, 3)
Clock.schedule_interval(self.update, .1)
self.enabled = False
self.mode = 'compass'
self.heading_command = 0
self.heading = 0
self._anim = None
self.texture = Image(source='compass.png').texture
self.control = AutopilotControl()
return self.control
评论列表
文章目录