更新:1、优化TAS逻辑

2、优化宏定义

Signed-off-by: waiwaylee <waiwaylee@foxmail.com>
This commit is contained in:
2026-09-07 09:48:58 +08:00
parent e729c5baee
commit f438ac53d9
6 changed files with 104 additions and 126 deletions
+6 -2
View File
@@ -12,7 +12,7 @@
#ifdef MECHANICAL_SCANNING
/******************************数据处理参数**************************************/
#define DATA_RATE_TAS 0.0625
// #define DATA_RATE_TAS 0.0625
#define SIGMA_R 10.0 //测量误差
#define SIGMA_A 0.02
@@ -52,12 +52,14 @@
#define DIRECT_TRACKING_QUEUE_LENGTH 10
#pragma message("MECHANICAL_SCANNING")
#endif
#ifdef PHASE_SCANNING
/******************************数据处理参数**************************************/
#define DATA_RATE_TAS 0.3
// #define DATA_RATE_TAS 0.3
#define SIGMA_R 10.0 //测量误差
#define SIGMA_A 0.02
@@ -99,6 +101,8 @@
#define DIRECT_TRACKING_QUEUE_LENGTH 10
#pragma message("PHASE_SCANNING")
#endif
#define Round(x) (((x) > 0) \