Autonomous Drone Mission : QR Code Scanning , Payload Drop &Return

Hello everyone,

I am working on an autonomous drone project using ArduPilot and need some guidance on implementing my mission. My goal is to:

  1. Fly the drone autonomously to a predefined waypoint.

  2. Scan a QR code at a specific location.

  3. Drop a payload after successfully scanning the QR code.

  4. Return to the launch point autonomously after completing the drop.

I would like to understand:

How can I configure PX4 to handle this complete mission?

What sensors or additional modules are recommended for QR code scanning?

How can I integrate the QR scanning process into the flight mission to trigger the payload drop?

Are there any existing implementations or examples for similar tasks?

I would appreciate any insights, suggestions, or references to relevant documentation.

Thanks in advance!