fix:修复无棒材时的崩溃
This commit is contained in:
parent
65fdef2bb5
commit
5e62903dae
@ -4,6 +4,9 @@
|
||||
<COM Name="COM10" Remarks="" Baund="9600" Parity="0" StopBit="0" DataBit="0" FlowCtrl="0" TransMode="0" CharType="0" BreakTime="10" />
|
||||
<COM Name="COM11" Remarks="" Baund="9600" Parity="0" StopBit="0" DataBit="0" FlowCtrl="0" TransMode="0" CharType="0" BreakTime="10" />
|
||||
<COM Name="COM9" Remarks="" Baund="9600" Parity="0" StopBit="0" DataBit="0" FlowCtrl="0" TransMode="0" CharType="0" BreakTime="10" />
|
||||
<COM Name="COM1" Remarks="" Baund="9600" Parity="0" StopBit="0" DataBit="0" FlowCtrl="0" TransMode="0" CharType="0" BreakTime="10" />
|
||||
<COM Name="COM14" Remarks="" Baund="9600" Parity="0" StopBit="0" DataBit="0" FlowCtrl="0" TransMode="0" CharType="0" BreakTime="10" />
|
||||
<COM Name="COM13" Remarks="" Baund="9600" Parity="0" StopBit="0" DataBit="0" FlowCtrl="0" TransMode="0" CharType="0" BreakTime="10" />
|
||||
<NET Name="VISION_NET" Remarks="" DesIP="127.0.0.1" LocalPortID="0" DesPortID="5020" LinkMode="0" LinkResetTime="3000" LinkHoldTime="6000" TransMode="2" CharType="0" MaxAsynNum="15" />
|
||||
</PORT_LIST>
|
||||
<DEVICE_LIST>
|
||||
|
||||
@ -101,6 +101,9 @@ int RodAndBarPositionPresenter::InitApp()
|
||||
// 获取配置结果
|
||||
ConfigResult configResult = m_pConfigManager->GetConfigResult();
|
||||
|
||||
// 在相机采集前同步调试参数,启用基类的异步点云保存。
|
||||
SetDebugParam(configResult.debugParam);
|
||||
|
||||
// 调用基类InitCamera进行相机初始化(bRGB=false, bSwing=true)
|
||||
InitCamera(configResult.cameraList, false, true);
|
||||
|
||||
@ -128,6 +131,9 @@ int RodAndBarPositionPresenter::InitAlgoParams()
|
||||
// 从 ConfigManager 获取配置结果
|
||||
ConfigResult configResult = m_pConfigManager->GetConfigResult();
|
||||
|
||||
// 重新加载算法配置时同步点云保存开关和输出路径。
|
||||
SetDebugParam(configResult.debugParam);
|
||||
|
||||
// 从 config.xml 加载手眼标定矩阵列表(支持多相机)
|
||||
for (const auto& handEyeMatrix : configResult.handEyeCalibMatrixList) {
|
||||
CalibMatrix calibMatrix;
|
||||
|
||||
@ -168,3 +168,6 @@ unix {
|
||||
LIBS += -lrt
|
||||
}
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
|
||||
DISTFILES += \
|
||||
Version.md
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
// 应用名称
|
||||
#define RODANDBARPOSITION_APP_NAME "棒材定位"
|
||||
|
||||
#define RODANDBARPOSITION_VERSION_STRING "1.1.6"
|
||||
#define RODANDBARPOSITION_VERSION_STRING "1.1.8"
|
||||
#define RODANDBARPOSITION_BUILD_STRING "1"
|
||||
#define RODANDBARPOSITION_FULL_VERSION_STRING "V" RODANDBARPOSITION_VERSION_STRING "_" RODANDBARPOSITION_BUILD_STRING
|
||||
|
||||
|
||||
@ -1,3 +1,16 @@
|
||||
# 1.1.8
|
||||
## build_1 2026-10-06
|
||||
1. 更新算法:修复无棒材时的崩溃
|
||||
|
||||
|
||||
# 1.1.7
|
||||
## build_2 2026-10-05
|
||||
1. ARM增加crash 点云存储路径不对
|
||||
|
||||
## build_1 2026-10-04
|
||||
1. 增加crash 数据存储
|
||||
2. 奔溃的信息存储
|
||||
|
||||
# 1.1.6
|
||||
## build_1 2026-08-23
|
||||
1. 更新算法:增加框的检测
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
</AlgorithmParams>
|
||||
|
||||
<!-- 调试参数 -->
|
||||
<DebugParam enableDebug="true" savePointCloud="false" saveDebugImage="false" printDetailLog="true" debugOutputPath="" />
|
||||
<DebugParam enableDebug="true" savePointCloud="true" saveDebugImage="false" printDetailLog="true" debugOutputPath="" />
|
||||
|
||||
<!-- 串口配置 -->
|
||||
<SerialConfig portName="COM6" baudRate="115200" dataBits="8" stopBits="1" parity="0" flowControl="0" enabled="false" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user