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

Refactor reachable set computation into `Agent` #107

Closed evan-palmer closed 2 years ago

evan-palmer commented 2 years ago

Checklist

Changes Made

This PR moves the reachable set computation that was originally performed in the MavSwarm class into the Agent class. This was done to adhere to the separation of concerns principle. Furthermore, to better support the situation in which users are using a local frame for position rather than GPS, the Location class was refactored to be the Position class.

Associated Issues

Fixes # (issue)

Files Changed

Testing

Tests conducted include hardware tests, implementing unit tests in the test_agent.py class, and verifying that all linters passed as expected.

Issues Introduced

N/A