hi all
i think simulate thrust value to apm, //我想模拟一个油门的值发送给apm
code: //代码如下:
mavlink_msg_rc_channels_override_pack(mavlink_system.sysid, //systemid
mavlink_system.compid, //compid
&msg, //msg
1, //target_systemid
1, //target_compid
0, //rc1
0, //rc2
1500, //rc3
0,0,0,0,0);
but,no response of apm,did I do something wrong?(apm state=arm) //但是,apm没有任何反应,我做错了什么?(apm已经解锁了)
Replies
问题解决了,sysid必须设置255,否则不工作!原因是 apm code 中定义了 GSCALAR(sysid_my_gcs, "SYSID_MYGCS", 255),
problem solve;sysid must to 255
reason: apm code :GSCALAR(sysid_my_gcs, "SYSID_MYGCS", 255)