From ced0ef12fe6ffc6e8eab210f902c11c9290db967 Mon Sep 17 00:00:00 2001 From: HshineO <1491134420@qq.com> Date: Sat, 16 Mar 2024 21:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AF=BC=E8=88=AA=E9=80=9A?= =?UTF-8?q?=E4=BF=A1=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/auto_aim/auto_aim.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/auto_aim/auto_aim.c b/modules/auto_aim/auto_aim.c index 3e62bea..6d6be58 100644 --- a/modules/auto_aim/auto_aim.c +++ b/modules/auto_aim/auto_aim.c @@ -167,17 +167,17 @@ void auto_aim(Aim_Select_Type_t *aim_sel, Trajectory_Type_t *trajectory_cal, Rec aim_sel->target_state.armor_type = receive_packet->id; aim_sel->target_state.armor_num = receive_packet->armors_num; - aim_sel->target_state.x = receive_packet->x; - aim_sel->target_state.y = receive_packet->y; - aim_sel->target_state.z = receive_packet->z; - aim_sel->target_state.vx = receive_packet->vx; - aim_sel->target_state.vy = receive_packet->vy; - aim_sel->target_state.vz = receive_packet->vz; - aim_sel->target_state.yaw = receive_packet->yaw; - aim_sel->target_state.v_yaw = receive_packet->v_yaw; - aim_sel->target_state.r1 = receive_packet->r1; - aim_sel->target_state.r2 = receive_packet->r2; - aim_sel->target_state.dz = receive_packet->dz; +// aim_sel->target_state.x = receive_packet->x; +// aim_sel->target_state.y = receive_packet->y; +// aim_sel->target_state.z = receive_packet->z; +// aim_sel->target_state.vx = receive_packet->vx; +// aim_sel->target_state.vy = receive_packet->vy; +// aim_sel->target_state.vz = receive_packet->vz; +// aim_sel->target_state.yaw = receive_packet->yaw; +// aim_sel->target_state.v_yaw = receive_packet->v_yaw; +// aim_sel->target_state.r1 = receive_packet->r1; +// aim_sel->target_state.r2 = receive_packet->r2; +// aim_sel->target_state.dz = receive_packet->dz; aim_armor_select(aim_sel, trajectory_cal);