wato_monorepo icon indicating copy to clipboard operation
wato_monorepo copied to clipboard

Implementation of Behaviour Tree

Open Edwardius opened this issue 1 year ago • 4 comments

Edwardius avatar May 31 '24 03:05 Edwardius

Development Branch: https://github.com/WATonomous/behaviour-tree

hepromark avatar Jun 11 '24 00:06 hepromark

  • Behaviour Tree
    • Integrate behaviour tree into monorepo infrastructure (wrapping it in a ROS2 node)
      • This ROS2 node should be a client of the behaviour tree service
    • Test the interface with CARLA simulator
    • Iterate and improve

VishGit1234 avatar Oct 09 '24 11:10 VishGit1234

Current development branch: https://github.com/WATonomous/wato_monorepo/tree/world-modeling-hd-map-bt-service

VishGit1234 avatar Feb 12 '25 00:02 VishGit1234

Goal: Run behaviour tree using HD Map data.

We currently have a rudimentary skeleton of the Behaviour Tree node implemented using ROS2 and py_trees. While functional as a basic testbed (i think), it is not yet suitable for vehicle deployment. The current purpose of this skeleton is to get the behaviour tree setup to run by using the HD Map data (goal position, current position, route list, maybe more...). When it runs properly and we have a solid way to utilize the HD Map data to run the behaviour tree, we can then start refining it and adding more rigidity to the tree.

Current skeleton:

Image

Todos:

  • The HD Map service provides bunch of lanelets represented as four-point rectangles (route list) and it needs to be converted into a usable route representation for the tree to use. That way the question nodes and action nodes actually knows what is happening (easily determine if a lanelet is adjacent, easily determine if they are in the correct lane, ...)

Image

  • Clean up the behaviour tree before scaling.
  • Blue Hexagon: Fallbacks
  • Orange Rectangles: Sequences

JStephenHuang avatar May 12 '25 02:05 JStephenHuang