Skip to content

BehaviorTreeFactory need a function to check the tree_name if exist or not. #629

Closed
@Ovalgee

Description

@Ovalgee

If you try to create a tree by tree_name but that is not exist, the BehaviorTree.CPP will be crash

Activity

facontidavide

facontidavide commented on Aug 10, 2023

@facontidavide
Collaborator

Segfault or throw an exception?

The former is a bug, the latter is the expected and desired behavior.

facontidavide

facontidavide commented on Aug 11, 2023

@facontidavide
Collaborator

just added a unit test. The behavior is the expected one (exception)

added a commit that references this issue on Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      BehaviorTreeFactory need a function to check the tree_name if exist or not. · Issue #629 · BehaviorTree/BehaviorTree.CPP