mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:53:33 +08:00
camera_trigger.msg: add feedback field to understand if message camera from trigger or capture driver
This commit is contained in:
committed by
Daniel Agar
parent
38c8a6ff74
commit
3f99204de2
@@ -104,6 +104,7 @@ CameraCapture::capture_callback(uint32_t chan_index,
|
||||
}
|
||||
|
||||
trigger.seq = _capture_seq++;
|
||||
trigger.feedback = true;
|
||||
|
||||
if (_camera_capture_feedback) {
|
||||
orb_publish(ORB_ID(camera_trigger), _trigger_pub, &trigger);
|
||||
|
||||
Reference in New Issue
Block a user