if (nullptr != m_spobjXnetCommMod) {
m_spobjXnetCommMod->XnetUserResponseIfReg(XNET_SRV_FPVAERIALMAPPINGCTRL_OPERATION, XNET_SERVER_NODE_NAME_CPS,
xag_nav::os::DataEncoding::EN_PROTOBUF, 0, 0, RtkEventResponseDataCb);
}
修改为:
if (nullptr != m_spobjXnetCommMod) {
m_spobjXnetCommMod->XnetUserResponseIfReg(XNET_SRV_FPVAERIALMAPPINGCTRL_OPERATION, XNET_SERVER_NODE_NAME_CPS,
xag_nav::os::DataEncoding::EN_PROTOBUF, 0, 0,
std::bind(&FpvAerialMappingCtrlModule_Impl::RtkEventResponseDataCb, this,
std::placeholders::_1, std::placeholders::_2));
}