From 23480ab197150979f4505501a1abe8a64796fb18 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 04 七月 2025 18:37:07 +0800 Subject: [PATCH] 初步调好发包,解决因为uwb未open导致txlen不断溢出重启问题,两边sts配置初步调好 --- keil/include/components/app/src/aoa_task.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keil/include/components/app/src/aoa_task.c b/keil/include/components/app/src/aoa_task.c index 05854ca..fb6f0a5 100644 --- a/keil/include/components/app/src/aoa_task.c +++ b/keil/include/components/app/src/aoa_task.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and + * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and * its subsidiaries and affiliates (collectly called MKSEMI). * * All rights reserved. @@ -78,7 +78,7 @@ if (sts_valid_check()) { report.sts_valid = 1; - ranging_first_path_detect(ind->rssi); + ranging_first_path_detect(ind->rssi, ind->snr); #if PDOA_3D_EN uint16_t target_addr = uwbs_peer_short_addr_get(); @@ -102,9 +102,9 @@ uint16_t distance = 0; board_ranging_result_correct(&distance, &report.azimuth, &report.elevation); - report.pdoa[0] = pdoa_select_get(0, 3); - report.pdoa[1] = pdoa_select_get(1, 3); - report.pdoa[2] = pdoa_select_get(2, 3); + report.pdoa[0] = pdoa_result_get(0, 3); + report.pdoa[1] = pdoa_result_get(1, 3); + report.pdoa[2] = pdoa_result_get(2, 3); float *sts_rssi = sts_rssi_output_get(); report.sts_rssi[0] = sts_rssi[0]; -- Gitblit v1.9.3