本帖最后由 scaple 于 2013-8-26 10:52 编辑
liangdyc 发表于 2013-8-24 23:27
你好,我想了解下地面站和APM2.5之间的通信过程具体是怎样的。比如地面站需要知道当前飞行器的姿态数据,那 ...
具体字段含义看 mavlink 协议说明
>>> GCS Msg: MAVLINK_MSG_ID_REQUEST_DATA_STREAM ( 66/0x42)
>>> FE 06 2E FF BE 42 00 00 01 01 06 01 6F 60 , W:1
>>> req_message_rate=0; target_system=1; target_component=1; req_stream_id=6; start_stop=1;
>>> GCS Msg: MAVLINK_MSG_ID_REQUEST_DATA_STREAM ( 66/0x42)
>>> FE 06 2F FF BE 42 00 00 01 01 06 01 FE 35 , W:1
>>> req_message_rate=0; target_system=1; target_component=1; req_stream_id=6; start_stop=1;
>>> GCS Msg: MAVLINK_MSG_ID_HEARTBEAT ( 0/0x00), W:1
> Apm Msg : MAVLINK_MSG_ID_SYS_STATUS ( 1/0x01)
> FE 1F C7 01 01 01 0F FC FF FF 0F 00 00 00 0F FC FF FF EE 00 60 27 FF FF 00 00 00 00 00 00 00 00 00 00 00 00 FF C7 70 , W:1
> onboard_control_sensors_present=-1009; onboard_control_sensors_enabled=15; onboard_control_sensors_health=-1009; load=238; voltage_battery=10080; current_battery=-1; drop_rate_comm=0; errors_comm=0; errors_count1=0; errors_count2=0; errors_count3=0; errors_count4=0; battery_remaining=-1;
> Apm Msg : MAVLINK_MSG_ID_MISSION_CURRENT ( 42/0x2A)
> FE 02 C9 01 01 2A 00 00 BE F1 , W:1
> seq=0;
> Apm Msg : MAVLINK_MSG_ID_GPS_RAW_INT ( 24/0x18)
> FE 1E CA 01 01 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 00 00 00 00 00 00 53 24 , W:1
> time_usec=0; lat=0; lon=0; alt=0; eph=0; epv=65535; vel=0; cog=0; fix_type=0; satellites_visible=0;
> Apm Msg : MAVLINK_MSG_ID_ATTITUDE ( 30/0x1E)
> FE 1C CB 01 01 1E 8B D9 03 00 CC 0E 68 BA 2B CE D5 39 77 14 CF BE 0F 51 91 38 21 D0 4A 39 91 D4 1D 3A 5A 81 , W:1
> time_boot_ms=252299; roll=-0.001; pitch=0.000; yaw=-0.404; rollspeed=0.000; pitchspeed=0.000; yawspeed=0.001;
> Apm Msg : MAVLINK_MSG_ID_VFR_HUD ( 74/0x4A)
|