RflySimSDK v4.10
RflySimSDK说明文档
载入中...
搜索中...
未找到
GetUe4EKFInit类 参考

类用于检测指定copter列表是否达到Fixed状态 更多...

Public 成员函数

 __init__ (self, expected_copter_ids, localIp=None)
 初始化接口

Public 属性

 expected_copter_ids = set(expected_copter_ids)
dict received_init_codes = {}
bool allCopterSim3DFixed = False
 stop_event = threading.Event()
 listen3DFixedSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
 thread = threading.Thread(target=self._start_check_3DFixed, daemon=True)

Protected 成员函数

 _parse_ue4_ekf_init (self, data)
 解析ue4消息
 _start_check_3DFixed (self)
 开始检测3DFixed状态

详细描述

类用于检测指定copter列表是否达到Fixed状态

Description:
    初始化即开始进行检测,外部获取结果,需不断的检测allCopterSim3DFixed==True

构造及析构函数说明

◆ __init__()

__init__ ( self,
expected_copter_ids,
localIp = None )

初始化接口

  • 作者
    init
    参数
    expected_copter_ids:希望检测的copter的id列表
函数调用图:

成员函数说明

◆ _parse_ue4_ekf_init()

_parse_ue4_ekf_init ( self,
data )
protected

解析ue4消息

  • 作者
    _parse_ue4_ekf_init
    参数
    data:消息数据
这是这个函数的调用关系图:

◆ _start_check_3DFixed()

_start_check_3DFixed ( self)
protected

开始检测3DFixed状态

  • 作者
    _start_check_3DFixed
    参数
    data:消息数据
函数调用图:
这是这个函数的调用关系图:

该类的文档由以下文件生成: