Skip to content

Incompatibility with Nav2 BT nodes #357

@ajtudela

Description

@ajtudela

Hi,
I'm currently integrating PlanSys2 with Nav2 and I've encountered a compatibility issue related to Behavior Tree (BT) nodes.

Specifically, I'm trying to reuse existing BT nodes provided by Nav2 (such as NavigateToPose, IsBatteryLow, etc.) inside PlanSys2 actions. However, these nodes expect certain variables to be present in the blackboard (like bt_loop_duration, etc.). Since PlanSys2 does not automatically populate these keys, the nodes fail at runtime due to missing or uninitialized blackboard entries.

This creates a barrier to reuse, forcing developers to either:

  • Reimplement the BT nodes to fit PlanSys2's structure, or
  • Add workarounds that inject the necessary variables into the blackboard manually.

Would it be possible to consider improving interoperability between PlanSys2 and Nav2?

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