Skip to content

Error Parsing <BehaviorTree> #64

@BahmanFarshbaf

Description

@BahmanFarshbaf

Describe the bug
I'm trying to connect Groot2 to my behaviortree for real-time monitor but an error pops up that "Node 'LoadController' contains port 'request.name' in the XML that doesn't match a any of the ports in the model" .
TreeModel already have that port :

<Action ID="LoadController">
            <input_port name="connection_timeout_ms" type="double"/>
            <input_port name="request.name" type="std::string"/>
            <input_port name="service_name" type="std::string"/>
            <output_port name="response.ok" type="bool"/>
</Action>

XML File:

<BehaviorTree ID="LoadPositionController">
        <Sequence>
            <LoadController
                service_name="/controller_manager/load_controller"
                connection_timeout_ms="500"
                request.name="/workcell/controller/position_trajectory_controller"
                response.ok="{load_controller_ok}"
            />
            <Precondition if="load_controller_ok==1" else="SUCCESS">
                <Delay delay_msec="250">
                  <AlwaysSuccess/> 
                </Delay>
            </Precondition>
        </Sequence>
</BehaviorTree>

Im using BT 4.7 and Groot2 1.6.1

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