QR Scan System Architecture and Requirements

Module Requirements

  • QR Scanner: Module already exists and can scan a QR code, just refactor this.

    • Scan a QR code

    • Extract the location information and the information for the pilot (questions, date, time, device id, sensor id) and differentiate between the two,

    • Send the location information to the flight controller via an output pipeline

    • Send the information for the pilot to the ground station via an output pipeline.

  • FltConnSend: Assume you’ll be given an interface that contains send and read functions for the flight controller. Implement a module with the following requirements. (Note that this module will be used by other teams, but we’ll start by implementing it for this program first).

    • Define a schema for the location, longtitude and latitude, from the QR code by consulting with firmware.

    • Mock a class called USBInterface based on this document.

    • Implement a function that can be called to validate that the input data contains the correct schema for location then send it using the USBInterface.

  • GroundSend: TBD on the comms API for ground being established,but should be similar.

Â