Skip to content

Enable failing BT nodes from on_tick() #3429

@tonynajjar

Description

@tonynajjar

Feature request

Feature description

In my BT action and service nodes I do some input validation and would like to fail the node directly, without sending any goal, if the validation fails. I tried calling halt() and setStatus(BT::NodeStatus::FAILURE) but the goal was still sent. Is there another way I missed or is this just currently not possible?

Implementation considerations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions