This commit is contained in:
wxs 2026-02-03 16:17:50 +08:00
commit 303c6fc541
10 changed files with 74 additions and 12 deletions

View File

@ -283,23 +283,19 @@ public class JmJobStatusServiceImpl implements JmJobStatusService {
return;
}
endAirline(jobId, jobVo, uavVo, airlineVo, wsVo, nextAirline == null);
} else if (isBoot == 1 && aStatus == ExecStatusEnum.PROCESSING) {
if (overButSending) {
} else if (isBoot == 1 && aStatus == ExecStatusEnum.PROCESSING && overButSending) {
// 前一航线的图片没传完就开始了新航线
endAirline(jobId, jobVo, uavVo, airlineVo, wsVo, nextAirline == null);
if (nextAirline != null) {
startAirline(nextAirline, wsVo);
}
}
wsVo.setSarStatus(curr);
simpMessageingTemplate.convertAndSend(WebSocketKey.JM_JOB_STATUS, wsVo);
} else {
return;
}
} // else {
// return;
// }
// 4.将更新后的状态推送到前端
// simpMessageingTemplate.convertAndSend(WebSocketKey.JM_JOB_STATUS, wsVo);
wsVo.setSarStatus(curr);
simpMessageingTemplate.convertAndSend(WebSocketKey.JM_JOB_STATUS, wsVo);
}
// 开启新航线

View File

@ -30,7 +30,7 @@ public class SarWsAsyncService {
* @param datName
* @param fileData
*/
@Async("commonThreadPool")
// @Async("commonThreadPool")
public void saveImageDat(Object dirName, String datName, byte[] fileData) {
String imageSrcPath = sysFileTypeService.getAbsolutePath(FileTypeEnum.SAR_IMAGE_LOW_SRC, dirName, datName);
FileUtil.createDir(imageSrcPath);
@ -48,7 +48,7 @@ public class SarWsAsyncService {
* @param image 图像像素
* @param release 是否释放参数 image 资源
*/
@Async("commonThreadPool")
// @Async("commonThreadPool")
public void write(String imagePath, Mat image, boolean release) {
OpenCVUtil.write(imagePath, image, true);
}

View File

@ -0,0 +1,52 @@
#ifndef __CHSRTPROC_H__
#define __CHSRTPROC_H__
#pragma once
#include "stdafx.h"
#include <conio.h>
// 输出内存地址点航迹的结构体
struct MTI_pDot {
unsigned __int16 tar_no;
unsigned __int16 tar_rg;
__int16 tar_az;
__int16 tar_vr;
__int16 tar_high;
unsigned __int16 tar_ampl;
unsigned __int32 tar_logn;
unsigned __int32 tar_lati;
};
struct MTI_pTrk {
unsigned __int16 trk_no;
__int16 trk_high;
__int32 trk_logn;
__int32 trk_lati;
__int16 trk_vel;
__int16 trk_heading;
unsigned __int16 trk_ampl;
__int16 nc;
};
/*
dataAr GMTI格式V3.02 1cpi处理的点迹信息和辅助数据,8192BYTES
1dataRes GMTI格式V3.022dataRes全部为0则没有航迹8192
outpath outpath\\GMTIDotInfo_lzx.dat outpath\\GMTITrkInfo_lzx.dat"
*/
__declspec(dllexport) void MTIDotProc(unsigned char *dataAr, unsigned char *dataRes, char *outpath);
#endif

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
############ Track Relate Modual Param ##############
nj_Rwin: 20
nj_Awin: 5
bomen_vmax: 20
bomen_vmin: 3
bomen_size: 50
miss_frame_tmp: 4
miss_frame_trust: 3
NoiseMatrixRg: 100
NoiseMatrixAz: 100
NoiseSpetrumPowerDensity: 1

Binary file not shown.