最后修改
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
"buildCommandArgs": "",
|
||||
"ctestCommandArgs": "",
|
||||
"inheritEnvironments": [ "linux_arm" ],
|
||||
"remoteMachineName": "-237651717;172.16.0.93 (username=root, port=22, authentication=Password)",
|
||||
"remoteMachineName": "-276973082;172.16.0.72 (username=root, port=22, authentication=Password)",
|
||||
"remoteCMakeListsRoot": "/home/pi/Project_Grixis/src",
|
||||
"remoteBuildRoot": "/home/pi/Project_Grixis/out/build_d/${name}",
|
||||
"remoteInstallRoot": "/home/pi/Project_Grixis/out/install/${name}",
|
||||
|
@ -23,12 +23,12 @@ int main()
|
||||
QCoreApplication Grixis(argc, NULL);
|
||||
|
||||
|
||||
//QEventLoop qeLoop;
|
||||
//QTimer::singleShot(15000, &qeLoop, SLOT(quit()));
|
||||
//qeLoop.exec();
|
||||
QEventLoop qeLoop;
|
||||
QTimer::singleShot(15000, &qeLoop, SLOT(quit()));
|
||||
qeLoop.exec();
|
||||
|
||||
|
||||
//QT_LOG::ZZ_InitLogger("/home/data/Log/");
|
||||
QT_LOG::ZZ_InitLogger("/home/data/Log/");
|
||||
|
||||
CMainAcqThread MainCtrl;
|
||||
|
||||
|
@ -430,13 +430,13 @@ int VehicleController::SetupSubscriptions()
|
||||
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
|
||||
}
|
||||
|
||||
tDjiReturnCode = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER, DJI_DATA_SUBSCRIPTION_TOPIC_5_HZ, NULL);
|
||||
if (tDjiReturnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
|
||||
{
|
||||
|
||||
qDebug() << "Subscribe topic DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER error.";
|
||||
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
|
||||
}
|
||||
// tDjiReturnCode = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER, DJI_DATA_SUBSCRIPTION_TOPIC_5_HZ, NULL);
|
||||
// if (tDjiReturnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
|
||||
// {
|
||||
//
|
||||
// qDebug() << "Subscribe topic DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER error.";
|
||||
// return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
|
||||
// }
|
||||
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user