新增导航通信测试

This commit is contained in:
宋家齐 2024-03-16 21:19:19 +08:00
parent da855f7e01
commit ced0ef12fe
1 changed files with 11 additions and 11 deletions

View File

@ -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_type = receive_packet->id;
aim_sel->target_state.armor_num = receive_packet->armors_num; aim_sel->target_state.armor_num = receive_packet->armors_num;
aim_sel->target_state.x = receive_packet->x; // aim_sel->target_state.x = receive_packet->x;
aim_sel->target_state.y = receive_packet->y; // aim_sel->target_state.y = receive_packet->y;
aim_sel->target_state.z = receive_packet->z; // aim_sel->target_state.z = receive_packet->z;
aim_sel->target_state.vx = receive_packet->vx; // aim_sel->target_state.vx = receive_packet->vx;
aim_sel->target_state.vy = receive_packet->vy; // aim_sel->target_state.vy = receive_packet->vy;
aim_sel->target_state.vz = receive_packet->vz; // aim_sel->target_state.vz = receive_packet->vz;
aim_sel->target_state.yaw = receive_packet->yaw; // aim_sel->target_state.yaw = receive_packet->yaw;
aim_sel->target_state.v_yaw = receive_packet->v_yaw; // aim_sel->target_state.v_yaw = receive_packet->v_yaw;
aim_sel->target_state.r1 = receive_packet->r1; // aim_sel->target_state.r1 = receive_packet->r1;
aim_sel->target_state.r2 = receive_packet->r2; // aim_sel->target_state.r2 = receive_packet->r2;
aim_sel->target_state.dz = receive_packet->dz; // aim_sel->target_state.dz = receive_packet->dz;
aim_armor_select(aim_sel, trajectory_cal); aim_armor_select(aim_sel, trajectory_cal);