can some one help me with those issue pls ?
arducopter 3.3.3 / pixhawk
after
msg11.target_system=1;
msg11.custom_mode=4;
msg11.base_mode=MAV_MODE_FLAG_CUSTOM_MODE_ENABLED;
mavlink_msg_set_mode_encode(1,1,&buff,&msg11);
mavlink_finalize_message(&buff,0,0,MAVLINK_MSG_ID_11_LEN,MAVLINK_MSG_ID_11_CRC);
mavlink_msg_to_send_buffer(b,&buff);
sendArray(b,MAVLINK_MSG_ID_11_LEN+8);
base mode show me 89
custom mode is 4.
When i switch to GUIDED mode , drone normal change mode , take off and land working
When im in hovering hes ignore all comands 84 ! ( SET_POSITION_TARGET_LOCAL_NED)
hes dont even send back ACK with error, just ignore.
cmd 92,4000
MAV_CMD_NAV_GUIDED_ENABLE,MAV_CMD_SET_GUIDED_SUBMODE_STANDARD ) return error 3 ( access denied )
what im doing wrong ?
last 3 days i tryied everything..... with out succes solve this issue, so pls help ;-)
Replies
so bill i made thread there
http://discuss.ardupilot.org/t/wod-gsc-guided-commands-ack-3/10146
pls help or i will go to crazzy from this ..... ;-)
i testing it now on CMD 221 , i think its simple message ( target sysid 1, target comp 1 )
in finalizing message im using sys id 255 ( gcs) and 0 for comp
STILL SAME RESULT ...... error 3 :(
do you want me make thread on http://discuss.ardupilot.org/ ?
bill need guided commands some special sysID or comp ID ? or they supost to work in broadcasting (0,0) ?
bill i was check it before , andd python is realy not my strong skill :D i write my soft in C++.
But stil what i saw there ( first link ) im doing all right :( so was not help me
if you have idea what im DOING WRONG PRECISELY ;-) i will it realy appriciate ;-)
i have still same result, drone normal switch to guide mode, but refuse all GUIDED comands by error 3...... :(
This page Sending messages/commands from dronekit.io will help you. :)
more help is at http://discuss.ardupilot.org for ardupilot related questions.