Camera: control_cmd triggers pic

This commit is contained in:
Randy Mackay 2015-04-18 22:43:23 +09:00
parent 38491c4ff7
commit d456b97fd2
1 changed files with 3 additions and 0 deletions

View File

@ -200,6 +200,9 @@ void AP_Camera::configure_cmd(const AP_Mission::Mission_Command& cmd)
void AP_Camera::control_cmd(const AP_Mission::Mission_Command& cmd)
{
// take picture
trigger_pic(false);
mavlink_message_t msg;
mavlink_command_long_t mav_cmd_long = {};