unl-nimbus-lab / pymavswarm

Python library used to safely control drone swarms and drone fleets with MAVLink
https://pymavswarm.readthedocs.io
GNU General Public License v3.0
17 stars 5 forks source link

Add Method to Validate Message Types on Message Construction #26

Closed evan-palmer closed 2 years ago

evan-palmer commented 2 years ago

Is your feature request related to a problem? Please describe. There isn't any validation that ensures that a message type provided to construct a message is valid. This reduces the usability of the system and makes Users more prone to accidentally introducing bugs in their code.

Describe the solution you'd like Add a method to validate that the message type provided to a message on construction is valid

Describe alternatives you've considered Rather than using a collection of messages encapsulated by one message type, break all messages up into individual classes.

evan-palmer commented 2 years ago

69 Eliminates the usage of messages