Skip to content

Preconditions for task executors #336

@andrewjong

Description

@andrewjong

Is your feature request related to a problem? Please describe.
Currently logic is handled by the Tasks Panel itself. But ideally Task Executors have a set of preconditions.
E.g. exploration tasks needs to be airborne first, and also need to be within the polygon bounds.

Describe the solution you'd like
Task Executors have precondtions that need to be met. If they are not met, it returns failure with the list of preconditions that were met/not-met

Describe alternatives you've considered
Could be done at the behavior tree level, but probably more straightforward to have the preconditions checked in the task executor itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions