You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.9 KiB

#pragma once
#include "NeoArithStandardDll.h"
//// 录像输入结构体
//typedef struct tagSTD_DTArith_Record732
//{
// // 外部目标列表
// int nAIDetFrmId; // AI识别图像帧编号
// int nInputAINum; // AI识别目标个数
// AI_Target stInputAI[INPUT_OBJ_NUM]; // 外部输入AI目标检测列表
// ARIDLL_INPUTPARA stInputPara; // 随帧输入信息
// ARIDLL_OUTPUT stOutput; // 跟踪输出
//}STD_DTArith_Record732;
// 20250814升级协议
const int S732_IR_W = 1280;
const int S732_IR_H = 1024;
const int PARA_IR_LINE_S732 = 12; //红外参数行
const int S732_VL_W = 1920;
const int S732_VL_H = 1080;
const int PARA_VL_LINE_S732 = 11; //红外参数行
typedef struct stLocationInput
{
unsigned char cCarrID; //载机ID
unsigned char cTarID; //目标ID
double dCarrWGS84Lon; //WGS84-经度
double dCarrWGS84Lat; //WGS84-纬度
double dCarrWGS84Ht; //WGS84-高度
double dCarrELE; //载机高程(离地高度)
double dCarrYaw; //设备航向角
double dCarrPitch; //设备俯仰角
double dCarrRoll; //设备横滚角
double dServoYaw; //当前伺服输出方位角
double dServoPitch; //当前伺服输出俯仰角
double dLaserDis; //当前激光测距值
double dCarrVAY; //载机方位轴角速度
double dCarrVAP; //载机俯仰轴角速度
double dCarrVAR; //载机横滚轴角速度
double dCarrENUVLE; //载机东向线速度
double dCarrENUVLN; //载机北向线速度
double dCarrENUVLU; //载机天向线速度
double dServoVAY; //伺服方位角速度
double dServoVAP; //伺服俯仰角速度
double dImgX; //模板图像X坐标
double dImgY; //模板图像Y坐标
int m_nW; //图像宽
int m_nH; //图像高
double m_du; //单位像素的实际长度,每个像素0.1mm
double m_df; //焦距m
long int liUTCTime; //数据时间戳
char cTarState; //0 是静止目标 1 是运动目标
char VideoType; //视频源类型 0是红外 1是可见光
double TarRealSpeed; //目标速度真值
unsigned char LaserWorkMode; //激光工作模式 (0,0xFE,0xE1,0xE5,0xEA)20250811yj
} stLocationInput;
typedef struct
{
int nAIDetFrmId; //ai识别帧编号
int nInputAINum; //ai目标个数
AI_Target ai_output[INPUT_OBJ_NUM];
ARIDLL_INPUTPARA trackInputPara;
ARIDLL_OUTPUT trackOutput;
stLocationInput input;
unsigned char u8bit5_Extrapolation;
}STD_DTArith_Record732;//定位输入结构体