Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How should we implement user input? #174

Closed
@AlexisTM

Description

@AlexisTM

Hi,

We are revamping our robot behavior and we are looking into BehaviorTrees but we don't understand how to implement the user input.

We have multiple exclusive actions triggered by user inputs such as "AutoCalibrate", "GeneratePlan", "DoPlan", "GoToChargingStation" or "Stop". All these actions can be plugged together to get a meaningful behavior but should also be able to do them each separately and able to be stopped by the "Stop" user input.

How do we do that "Subtree selection"? As I come from a state machine, I think "I would need a new Selector ControlNode" to handle state-like transitions.

Are we supposed to create multiple RootBehaviors and tick them with a high-level state machine?

Metadata

Metadata

Assignees

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