|
本帖最后由 axnzero 于 2013-1-23 10:37 编辑
代码贴出来就乱了,还是算了。
case 45:memcpy(&mi_mission_clear_all ,mi_Buf,sizeof(mi_mission_clear_all ));break;
case 46:memcpy(&mi_mission_item_reached ,mi_Buf,sizeof(mi_mission_item_reached ));break;
case 47:memcpy(&mi_mission_ack ,mi_Buf,sizeof(mi_mission_ack ));break;
case 48:memcpy(&mi_set_gps_global_origin ,mi_Buf,sizeof(mi_set_gps_global_origin ));break;
case 49:memcpy(&mi_gps_global_origin ,mi_Buf,sizeof(mi_gps_global_origin ));break;
case 50:memcpy(&mi_set_local_position_setpoint ,mi_Buf,sizeof(mi_set_local_position_setpoint ));break;
case 51:memcpy(&mi_local_position_setpoint ,mi_Buf,sizeof(mi_local_position_setpoint ));break;
case 52:memcpy(&mi_global_position_setpoint_int ,mi_Buf,sizeof(mi_global_position_setpoint_int ));break;
case 53:memcpy(&mi_set_global_position_setpoint_int ,mi_Buf,sizeof(mi_set_global_position_setpoint_int ));break;
case 54:memcpy(&mi_safety_set_allowed_area ,mi_Buf,sizeof(mi_safety_set_allowed_area ));break;
case 55:memcpy(&mi_safety_allowed_area ,mi_Buf,sizeof(mi_safety_allowed_area ));break;
case 56:memcpy(&mi_set_roll_pitch_yaw_thrust ,mi_Buf,sizeof(mi_set_roll_pitch_yaw_thrust ));break;
case 57:memcpy(&mi_set_roll_pitch_yaw_speed_thrust ,mi_Buf,sizeof(mi_set_roll_pitch_yaw_speed_thrust ));break;
case 58:memcpy(&mi_roll_pitch_yaw_thrust_setpoint ,mi_Buf,sizeof(mi_roll_pitch_yaw_thrust_setpoint ));break;
case 59:memcpy(&mi_roll_pitch_yaw_speed_thrust_setpoint ,mi_Buf,sizeof(mi_roll_pitch_yaw_speed_thrust_setpoint ));break;
case 60:memcpy(&mi_set_quad_motors_setpoint ,mi_Buf,sizeof(mi_set_quad_motors_setpoint ));break;
case 61:memcpy(&mi_set_quad_swarm_roll_pitch_yaw_thrust ,mi_Buf,sizeof(mi_set_quad_swarm_roll_pitch_yaw_thrust ));break;
case 62:memcpy(&mi_nav_controller_output ,mi_Buf,sizeof(mi_nav_controller_output ));break;
case 63:memcpy(&mi_set_quad_swarm_led_roll_pitch_yaw_thrust ,mi_Buf,sizeof(mi_set_quad_swarm_led_roll_pitch_yaw_thrust ));break;
case 64:memcpy(&mi_state_correction ,mi_Buf,sizeof(mi_state_correction ));break;
case 66:memcpy(&mi_request_data_stream ,mi_Buf,sizeof(mi_request_data_stream ));break;
case 67:memcpy(&mi_data_stream ,mi_Buf,sizeof(mi_data_stream ));break;
case 69:memcpy(&mi_manual_control ,mi_Buf,sizeof(mi_manual_control ));break;
case 70:memcpy(&mi_rc_channels_override ,mi_Buf,sizeof(mi_rc_channels_override ));break;
case 74:memcpy(&mi_vfr_hud ,mi_Buf,sizeof(mi_vfr_hud ));break;
case 76:memcpy(&mi_command_long ,mi_Buf,sizeof(mi_command_long ));break;
case 77:memcpy(&mi_command_ack ,mi_Buf,sizeof(mi_command_ack ));break;
case 80:memcpy(&mi_roll_pitch_yaw_rates_thrust_setpoint ,mi_Buf,sizeof(mi_roll_pitch_yaw_rates_thrust_setpoint ));break;
case 81:memcpy(&mi_manual_setpoint ,mi_Buf,sizeof(mi_manual_setpoint ));break;
case 89:memcpy(&mi_local_position_ned_system_global_offset ,mi_Buf,sizeof(mi_local_position_ned_system_global_offset ));break;
case 90:memcpy(&mi_hil_state ,mi_Buf,sizeof(mi_hil_state ));break;
case 91:memcpy(&mi_hil_controls ,mi_Buf,sizeof(mi_hil_controls ));break;
case 92:memcpy(&mi_hil_rc_inputs_raw ,mi_Buf,sizeof(mi_hil_rc_inputs_raw ));break;
怎么试都是乱的,就这样吧。
|
|