2、修改TAS时航迹外推逻辑,时间间隔按波束时间计算; 3、增加1km以内航迹起始限制,SNR低于20dB的航迹不起批;减少近距离航迹; Signed-off-by: waiwaylee <waiwaylee@foxmail.com>
129 lines
3.2 KiB
C
129 lines
3.2 KiB
C
#ifndef PARAMETERS_H
|
|
#define PARAMETERS_H
|
|
#pragma once
|
|
/**********************************雷达参数*************************************************/
|
|
#define PI 3.1415926f
|
|
|
|
//频点(GHz)
|
|
#define FREQ0 16.8
|
|
#define FREQ1 16.8
|
|
#define FREQ2 16.8
|
|
#define FREQ3 16.8
|
|
#define FREQ4 16.8
|
|
#define FREQ5 16.8
|
|
#define FREQ6 16.8
|
|
#define FREQ7 16.8
|
|
#define FREQ8 16.8
|
|
#define FREQ9 16.8
|
|
#define FREQ10 16.8
|
|
#define FREQ11 16.8
|
|
#define FREQ12 16.8
|
|
#define FREQ13 16.8
|
|
#define FREQ14 16.8
|
|
#define FREQ15 16.8
|
|
#define FREQ16 16.8
|
|
#define FREQ17 16.8
|
|
#define FREQ18 16.8
|
|
#define FREQ19 16.8
|
|
#define FREQ20 16.8
|
|
|
|
//#define MECHANICAL_SCANNING
|
|
//#define PHASE_SCANNING
|
|
|
|
#ifdef MECHANICAL_SCANNING
|
|
/******************************数据处理参数**************************************/
|
|
#define DATA_RATE_TAS 0.0625
|
|
|
|
#define SIGMA_R 10.0 //测量误差
|
|
#define SIGMA_A 0.02
|
|
#define SIGMA_E 0.2
|
|
#define SIGMA_V 2.0
|
|
|
|
#define DOT_COH_RANGE 80 //点迹凝聚
|
|
#define DOT_COH_V 2
|
|
#define DOT_COH_AZI 6
|
|
|
|
#define MAX_BEAM_NUM 100 //最大TWS波位数
|
|
|
|
#define MAX_TRACK_NUM 500
|
|
#define MAX_TRACK_INDEX 500 //最大航迹批号
|
|
|
|
#define ASSOCIATE_THRESHOLD_MIN 1
|
|
#define ASSOCIATE_THRESHOLD_MID 3 //关联波门
|
|
#define ASSOCIATE_THRESHOLD_MAX 10
|
|
|
|
#define R_MIN 100
|
|
#define R_MAX 100000
|
|
|
|
#define TRACK_START_THRESHOLD 8 //起航波门 3 越大越容易起批
|
|
#define ALPHA_START 60 //起航夹角 120 越大越容易起批
|
|
|
|
#define TRACK_DIE_ROUND 4 // 航迹消亡时间
|
|
#define TRACK_DIE_ROUND_TAS 96 //
|
|
|
|
#define ASSO_THORD 3
|
|
|
|
#define H_F_WIN_LEN 3
|
|
|
|
#define TAS_QUEUE_LENGTH 1 //Tas调用的cpi数
|
|
#define MAX_TAS_NUM 1
|
|
|
|
#define UNCONF_TARGET 0
|
|
|
|
#define DIRECT_TRACKING_QUEUE_LENGTH 10
|
|
|
|
#endif
|
|
|
|
#ifdef PHASE_SCANNING
|
|
|
|
/******************************数据处理参数**************************************/
|
|
#define DATA_RATE_TAS 0.3
|
|
|
|
#define SIGMA_R 10.0 //测量误差
|
|
#define SIGMA_A 0.02
|
|
#define SIGMA_E 0.2
|
|
#define SIGMA_V 2.0
|
|
|
|
#define DOT_COH_RANGE 80 //点迹凝聚
|
|
#define DOT_COH_V 2
|
|
#define DOT_COH_AZI 6
|
|
|
|
#define MAX_BEAM_NUM 100 //最大TWS波位数
|
|
|
|
#define MAX_TRACK_NUM 500
|
|
#define MAX_TRACK_INDEX 500 //最大航迹批号
|
|
|
|
#define ASSOCIATE_THRESHOLD_MIN 1
|
|
#define ASSOCIATE_THRESHOLD_MID 3 //关联波门
|
|
#define ASSOCIATE_THRESHOLD_MAX 10
|
|
|
|
#define R_MIN 100
|
|
#define R_MAX 100000
|
|
|
|
//#define V_MAX 500 //最大速度
|
|
//#define V_MIN 1 //速度最小
|
|
#define TRACK_START_THRESHOLD 8 //起航波门 3 越大越容易起批
|
|
#define ALPHA_START 60 //起航夹角 120 越大越容易起批
|
|
|
|
#define TRACK_DIE_ROUND 4 // 航迹消亡时间
|
|
#define TRACK_DIE_ROUND_TAS 5
|
|
|
|
#define ASSO_THORD 3
|
|
|
|
#define H_F_WIN_LEN 3
|
|
|
|
#define TAS_QUEUE_LENGTH 4 //Tas调用的cpi数
|
|
#define MAX_TAS_NUM 4
|
|
|
|
#define UNCONF_TARGET 0
|
|
|
|
#define DIRECT_TRACKING_QUEUE_LENGTH 10
|
|
|
|
#endif
|
|
|
|
#define Round(x) (((x) > 0) \
|
|
? (((int)((x) + 0.5) > (int)(x)) ? ((int)(x) + 1) : ((int)(x))) \
|
|
: (((int)((x) - 0.5) < (int)(x)) ? ((int)(x) - 1) : ((int)(x))))
|
|
|
|
#endif // PARAMETERS_H
|