From bc9b36e9a164c25f7133afe1b822c2a7866cc8af Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 11 七月 2025 18:12:20 +0800 Subject: [PATCH] 解决距离远角度抖动过大问题,因为没有加pa的原因 --- keil/uwb_app.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keil/uwb_app.c b/keil/uwb_app.c index 7f46dc1..800645b 100644 --- a/keil/uwb_app.c +++ b/keil/uwb_app.c @@ -416,8 +416,8 @@ // // filter process - LOG_INFO(TRACE_MODULE_APP, "PDoA 0x%04x Azimuth %d Elevation %d FoM %u\r\n",tag_id_recv, mk_q7_to_s16(azimuth), - mk_q7_to_s16(elevation), fom); + LOG_INFO(TRACE_MODULE_APP, "PDoA 0x%04x Azimuth %d Elevation %d FoM %u area%#x\r\n",tag_id_recv, mk_q7_to_s16(azimuth), + mk_q7_to_s16(elevation), fom,show_location[taglist_pos]); allow_flag=0; } } @@ -666,10 +666,10 @@ } taglist_num=j; sort_tag_lists();//增加距离小的排到前面逻辑 - buffer_message_send();//发送测距报文信息 +// buffer_message_send();//发送测距报文信息 update_show_buffer();//根据角度和距离判断区域位置 - //delay_ms(10); - buffer_485_send(show_location);//发送显示信息 +// //delay_ms(10); +// buffer_485_send(show_location);//发送显示信息 } uint8_t position; -- Gitblit v1.9.3