空间测协议漏发空的时候

This commit is contained in:
杰仔 2026-04-12 14:31:27 +08:00
parent 7046696afb
commit e5fafd132b
4 changed files with 6 additions and 5 deletions

View File

@ -353,7 +353,6 @@ int HoleDetectionPresenter::ProcessAlgoDetection(std::vector<std::pair<EVzResult
LOG_INFO("[Algo Thread] DetectHoles detected %zu holes (candidates=%d, filtered=%d) time : %.2f ms\n", LOG_INFO("[Algo Thread] DetectHoles detected %zu holes (candidates=%d, filtered=%d) time : %.2f ms\n",
detectionResult.positions.size(), detectionResult.totalCandidates, detectionResult.filteredCount, detectionResult.positions.size(), detectionResult.totalCandidates, detectionResult.filteredCount,
oTimeUtils.GetElapsedTimeInMilliSec()); oTimeUtils.GetElapsedTimeInMilliSec());
ERR_CODE_RETURN(nRet);
// 8. 通知UI检测结果 // 8. 通知UI检测结果
detectionResult.cameraIndex = m_currentCameraIndex; detectionResult.cameraIndex = m_currentCameraIndex;

View File

@ -122,8 +122,7 @@ void HoleDetectionPresenter::_SendDetectionResultToTCP(const HoleDetectionResult
for (size_t i = 0; i < detectionResult.positions.size(); i++) { for (size_t i = 0; i < detectionResult.positions.size(); i++) {
const auto& pos = detectionResult.positions[i]; const auto& pos = detectionResult.positions[i];
char buf[256]; char buf[256];
snprintf(buf, sizeof(buf), "_%.2f_%.2f_%.2f_%.2f_%.2f_%.2f/", snprintf(buf, sizeof(buf), "_%.2f_%.2f_%.2f_%.2f_%.2f_%.2f/", pos.x, pos.y, pos.z, pos.roll, pos.pitch, pos.yaw);
pos.x, pos.y, pos.z, pos.roll, pos.pitch, pos.yaw);
resultText += buf; resultText += buf;
} }

View File

@ -6,7 +6,7 @@
// 版本字符串 // 版本字符串
#define HOLEDETECTION_VERSION_STRING "1.1.6" #define HOLEDETECTION_VERSION_STRING "1.1.6"
#define HOLEDETECTION_BUILD_STRING "1" #define HOLEDETECTION_BUILD_STRING "2"
#define HOLEDETECTION_FULL_VERSION_STRING "V" HOLEDETECTION_VERSION_STRING "_" HOLEDETECTION_BUILD_STRING #define HOLEDETECTION_FULL_VERSION_STRING "V" HOLEDETECTION_VERSION_STRING "_" HOLEDETECTION_BUILD_STRING
// 构建日期 // 构建日期

View File

@ -1,7 +1,10 @@
## 1.1.6 2026-04-07 ## 1.1.6 2026-04-07
* build_1 * build_1 2026-04-07
1. 更新算法 1.0.3 1. 更新算法 1.0.3
* build_2 2026-04-12
1. 检测空的时候没有发送协议结果
## 1.1.5 2026-04-05 ## 1.1.5 2026-04-05
* build_1 * build_1
1. 更新算法 1.0.2 1. 更新算法 1.0.2