Skip to content

Reactive Sequence Concept  #242

Closed
Closed
@isuru-madara

Description

@isuru-madara

Hi, This isn't strictly an issue although it has been bugging me for few days so I thought I'd ask it here.

First of all, this is an amazing library to add behaviour trees to ROS, so thank you...
I have been developing a simple patrolling behaviour for my robot. I have taken the example given in tutorials under "Learn the basics->Sequence Node" ( https://www.behaviortree.dev/sequencenode/ ) and extended it with a Fallback node so that the final tree looks something as below.

BT_Patrol (1)

(Note: All GoTo nodes are MoveBaseActions inherited from on AsyncActionNode)

It works just as I hope it would. (Robot moves to destinations A, B and C in order. If a battery low message arrives during navigation, it goes to the charging dock) However, In the class reference documentation it says Reactive sequence should only have a single Asynchronous child to work properly. (http://docs.ros.org/en/kinetic/api/behaviortree_cpp_v3/html/classBT_1_1ReactiveSequence.html)

So my question is, wouldn't the children of Sequence Star node count as children of Reactive sequence ? is it because they're not directly a child of the Reactive sequence node ?

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