Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.
This repository was archived by the owner on May 6, 2022. It is now read-only.

[SOFTWARE] - Instruction Parsing and Actuator Control #9

@narvcharv

Description

@narvcharv

@UofTAgritech/electronics

Completion is tracked in the linked PR.

Design Scope

Design an instruction parsing function that takes in an instruction set and performs actions, including updating actuator targets.

Function

Inputs:

  • Instruction set:
{
    "{instructionlabel}": {value},
    //...
}

Outputs:

  • Actuator target updates
  • Other actions

It interfaces with/depends on the following systems:

  • Valid serial connection
  • Valid instruction set and JSON formatting

Requirements and Validation

What does this design need to accomplish? How do we know it has accomplished this?

  1. Translation of RPi instructions to physical action in the various actuators.
  2. Know it's done when actuators are being controlled automatically

Verification

Each test should be performed and documented, and the testing documentation attached to the PR. The testing suite should address the full scope of the function (i.e. ensure inputs are met and outputs work), method (all steps execute correctly), and features (each feature performs as expected) with respect to the purpose and requirements.

How does this design achieve its method effectively, safely, and reliably? How do we test this?

Specific testing procedure:

  1. Generate output in the appropriate form
  2. Feed into Arduino connected to whichever actuators are available (i.e. lighting board)
  3. Confirm desired actuator output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions