最后修改

This commit is contained in:
2023-03-22 14:06:46 +08:00
parent f713586b04
commit a714945d2d
3 changed files with 12 additions and 12 deletions

View File

@ -21,7 +21,7 @@
"buildCommandArgs": "", "buildCommandArgs": "",
"ctestCommandArgs": "", "ctestCommandArgs": "",
"inheritEnvironments": [ "linux_arm" ], "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", "remoteCMakeListsRoot": "/home/pi/Project_Grixis/src",
"remoteBuildRoot": "/home/pi/Project_Grixis/out/build_d/${name}", "remoteBuildRoot": "/home/pi/Project_Grixis/out/build_d/${name}",
"remoteInstallRoot": "/home/pi/Project_Grixis/out/install/${name}", "remoteInstallRoot": "/home/pi/Project_Grixis/out/install/${name}",

View File

@ -23,12 +23,12 @@ int main()
QCoreApplication Grixis(argc, NULL); QCoreApplication Grixis(argc, NULL);
//QEventLoop qeLoop; QEventLoop qeLoop;
//QTimer::singleShot(15000, &qeLoop, SLOT(quit())); QTimer::singleShot(15000, &qeLoop, SLOT(quit()));
//qeLoop.exec(); qeLoop.exec();
//QT_LOG::ZZ_InitLogger("/home/data/Log/"); QT_LOG::ZZ_InitLogger("/home/data/Log/");
CMainAcqThread MainCtrl; CMainAcqThread MainCtrl;

View File

@ -430,13 +430,13 @@ int VehicleController::SetupSubscriptions()
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN; return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
} }
tDjiReturnCode = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER, DJI_DATA_SUBSCRIPTION_TOPIC_5_HZ, NULL); // tDjiReturnCode = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER, DJI_DATA_SUBSCRIPTION_TOPIC_5_HZ, NULL);
if (tDjiReturnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) // if (tDjiReturnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{ // {
//
qDebug() << "Subscribe topic DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER error."; // qDebug() << "Subscribe topic DJI_FC_SUBSCRIPTION_TOPIC_ALTITUDE_BAROMETER error.";
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN; // return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
} // }
return 0; return 0;