|
@@ -174,7 +174,7 @@ public class DrcServiceImpl implements IDrcService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
checkDrcModeCondition(workspaceId, param.getDockSn());
|
|
checkDrcModeCondition(workspaceId, param.getDockSn());
|
|
|
-
|
|
|
|
|
|
|
+ log.info("=================drcModeEnter====docksn:" + param.getDockSn() + ",当前时间:" + System.currentTimeMillis() + ",pubTopic:" + pubTopic + ",subTopic:" + subTopic);
|
|
|
TopicServicesResponse<ServicesReplyData> reply = abstractControlService.drcModeEnter(
|
|
TopicServicesResponse<ServicesReplyData> reply = abstractControlService.drcModeEnter(
|
|
|
SDKManager.getDeviceSDK(param.getDockSn()),
|
|
SDKManager.getDeviceSDK(param.getDockSn()),
|
|
|
new DrcModeEnterRequest()
|
|
new DrcModeEnterRequest()
|
|
@@ -187,8 +187,9 @@ public class DrcServiceImpl implements IDrcService {
|
|
|
.setHsiFrequency(1).setOsdFrequency(10));
|
|
.setHsiFrequency(1).setOsdFrequency(10));
|
|
|
|
|
|
|
|
if (!reply.getData().getResult().isSuccess()) {
|
|
if (!reply.getData().getResult().isSuccess()) {
|
|
|
- throw new RuntimeException("SN: " + param.getDockSn() + "; Error:" + reply.getData().getResult() +
|
|
|
|
|
- "; Failed to enter command flight control mode, please try again later!");
|
|
|
|
|
|
|
+ String message = "SN: " + param.getDockSn() + "; Error:" + reply.getData().getResult() + "; Failed to enter command flight control mode, please try again later!";
|
|
|
|
|
+ log.error("=================drcModeEnter 失败:" + message);
|
|
|
|
|
+ throw new RuntimeException(message);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
refreshAcl(param.getDockSn(), param.getClientId(), pubTopic, subTopic);
|
|
refreshAcl(param.getDockSn(), param.getClientId(), pubTopic, subTopic);
|