unl-nimbus-lab / pymavswarm

Python library used to safely control drone swarms and drone fleets with MAVLink

Home Page:https://pymavswarm.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE]: Add `yaml` configuration for pre-planned `goto` commands

evan-palmer opened this issue · comments

Is your feature request related to a problem? Please describe

The only way for users to specify the location that agents should fly to is by implementing a script that calls the goto command and passing the target location to the method. This makes it difficult to command agents to fly to a target location in a pre-planned manner. For example, in the instance of the examples/goto.py example, users currently need to specify the location of the target location on the fly which can be unsafe.

Describe the solution you'd like

Implement support to load target locations from a yaml file. This will enable users to specify target locations prior to command execution. Furthermore, this could be extended to enable design of pre-planned missions.

Describe alternatives you've considered

Rather than loading from a configuration file a method could be implemented, similar to a mission, to enable constructing a goto command. This would be an interface similar to a yaml configuration file.

Implementation Ideas

A method should be implemented that supports parsing a yaml file and parsing the file. The goto command should be extended to support a configuration file argument.

Additional context

N/A