Fix camera trigger via MAVLink when camera capture feedback is enabled

- camera_trigger module always publishes the camera_trigger msg (independent of the camera feedback)
- Use camera_trigger msg and set the feedback flag
- Subscribing modules determine if the message is relevant based on the feedback message
This commit is contained in:
Michael Schaeuble
2021-10-07 11:03:55 +02:00
committed by Beat Küng
parent 3e4031cf0f
commit ebb657bcf4
5 changed files with 37 additions and 36 deletions
+2
View File
@@ -4,4 +4,6 @@ uint64 timestamp_utc # UTC timestamp
uint32 seq # Image sequence number
bool feedback # Trigger feedback from camera
uint32 ORB_QUEUE_LENGTH = 2
# TOPICS camera_trigger