From dd0d5d99bb183eeb6074f9bd4ddbff96104bd95d Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 05 七月 2020 23:46:24 +0800 Subject: [PATCH] V1.11防撞9对5测试完成,发给华星 --- Src/application/dw_app.h | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h index 92be158..42d5bcb 100644 --- a/Src/application/dw_app.h +++ b/Src/application/dw_app.h @@ -15,6 +15,9 @@ //#define TAG_OUTPUT #define HEX_OUTPUT +#define MAX_NEARBASE_NUM 12 +#define KEEP_TIMES 3 + #define REPOET_ANC_NUM 1 #define REPOET_ANC_NUM_MIN 1 #define TAG_ID_START 0// 0x00980000 @@ -24,7 +27,7 @@ #define THRESHOLD_CHANGE_MAINBASE_DIST 50 #define MIN_ANCHOR_NUM 2 #define SYNC_SEQ_IDX 5 - +#define REMOTEPARA_LEN 18 #define POLL 0x01 #define RESPONSE 0x02 @@ -46,6 +49,8 @@ #define ANCTIMEMS 14 #define ANCTIMEUS 16 #define TAGSLOTPOS 7 +#define MOTORSTATE_INDEX 19 +#define REMOTEPARA_INDEX 20 //Final #define FINAL_MSG_POLL_TX_TS_IDX 10 #define FINAL_MSG_RESP_RX_TS_IDX 14 @@ -55,6 +60,7 @@ //SYNC #define SYNC_SEQ_IDX 5 //NEAR MSG +#define NEARMSG_EMPTYSLOTPOS_INDEX 1 //RESPONSE #define NEARBASENUM_INDEX 10 #define NEARBASEID_INDEX 11 //NEAR POLL -- Gitblit v1.9.3