Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.
This repository was 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

@LucasYoung

Description

@LucasYoung

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions