mission.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:eesa 作者: EqualExperts 项目源码 文件源码
def autopilot(self):
        # Make sure the payload release is in the closed position
        self.lock_payload()

        # TODO use GPS Fix = 3D before allowing continue?
        # TODO check if safety switch activated?
        while not self.connection.location.global_relative_frame.alt and not self.stop():
            self.log( "No GPS signal yet" )
            time.sleep(1)

        while not self.stop():
            if not self.released:
                time.sleep(3)

        logging.shutdown()
        self.connection.close()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号