mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Camera: control_cmd triggers pic
This commit is contained in:
parent
38491c4ff7
commit
d456b97fd2
@ -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)
|
void AP_Camera::control_cmd(const AP_Mission::Mission_Command& cmd)
|
||||||
{
|
{
|
||||||
|
// take picture
|
||||||
|
trigger_pic(false);
|
||||||
|
|
||||||
mavlink_message_t msg;
|
mavlink_message_t msg;
|
||||||
mavlink_command_long_t mav_cmd_long = {};
|
mavlink_command_long_t mav_cmd_long = {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user