Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Generate waypoints for any polygon with n sides bounded by n points #30

Open
LucasYoung opened this issue Feb 24, 2018 · 0 comments
Open
Labels

Comments

@LucasYoung
Copy link

#27 must be solved before attempting this.

Currently QuickScan's zig-zag set of waypoints is generated by accepting a rectangle from the ground control station. We want to be able to generate an appropriate set of waypoints to scan any polygon shape.

First, research how to create a function that accepts an [unknown number of arguments] (https://stackoverflow.com/questions/10071186/function-with-unknown-number-of-parameters-in-c)

Then, modify SetWps in waypoints.cpp by changing the function's parameters to accept a search area bounded by n points. Then generate a set of waypoints that will scan that polygon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant