Skip to content

PyRPOD configuration data requires streamlining. #58

Description

@andytorrestb

Currently pyrpod constructors are used to read in configuration data.

  1. All config data should be consolidated so that it has to read in once not multiple times.
  2. New method also needs to handle relevant edge cases when reading in configuration data. (ex empty file or incorrect format)

Linked below is the MissionPlanner constructor which demonstrates the basic functionality for reading in configuration data.
https://github.com/moon-mail/PyRPOD/blob/de786034df3fe60fbd76b9ff2209c4d99f71e6e7/pyrpod/MissionPlanner.py#L74-L92

This logic needs to be expanded/reworked to address the points discussed above.
Lastly, test cases should be updated to reflect this new work flow.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions