Skip to content

Commit

Permalink
added modification discussed with charlie
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Bernagozzi <[email protected]>
  • Loading branch information
ste93 committed Aug 1, 2024
1 parent 5b53efb commit 610ec23
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<root BTCPP_format="3" project_name="Project">
<include path="bt_failure_management_charlie.xml"/>
<include path="bt_scheduler.xml"/>
<include path="bt_scheduler_3.xml"/>
<include path="bt_scheduler_charlie.xml"/>
<include path="bt_scheduler_ifthenelse.xml"/>
<!-- Description of Node Models (used by Groot) -->
<TreeNodesModel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@
<ReactiveSequence>
<SubTree ID="NetworkManagement"/>
<SubTree ID="BatteryManagement"/>
<Sequence>
<ReactiveFallback>
<SubTree ID="PoiScheduler_ite"/>
<ReactiveFallback>
<ReactiveSequence>
<SubTree ID="PoiScheduler_Charlie"/>
<SubTree ID="DoStuff"/>
</ReactiveFallback>
</ReactiveSequence>
<ROS2Action name="ResetTour"
interface="ROS2SERVICE"
isMonitored="false"
nodeName=""/>
</Sequence>
</ReactiveFallback>
</ReactiveSequence>
</BehaviorTree>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<root BTCPP_format="3">
<BehaviorTree ID="PoiScheduler_Charlie">
<Fallback>
<Sequence>
<Inverter>
<ROS2Condition name="Poi1Done"
interface="ROS2SERVICE"
isMonitored="false"
nodeName=""/>
</Inverter>
<ROS2Action name="SetPoi1"
interface="ROS2SERVICE"
isMonitored="false"
nodeName=""/>
</Sequence>
<Sequence>
<Inverter>
<ROS2Condition name="Poi2Done"
interface="ROS2SERVICE"
isMonitored="false"
nodeName=""/>
</Inverter>
<ROS2Action name="SetPoi2"
interface="ROS2SERVICE"
isMonitored="false"
nodeName=""/>
</Sequence>
</Fallback>
</BehaviorTree>

<!-- Description of Node Models (used by Groot) -->
<TreeNodesModel>
<Action ID="ROS2Action">
<input_port name="interface"
default="ROS2SERVICE"/>
<input_port name="isMonitored"
default="false"/>
<input_port name="nodeName"/>
</Action>
<Condition ID="ROS2Condition">
<input_port name="interface"
default="ROS2SERVICE"/>
<input_port name="isMonitored"
default="false"/>
<input_port name="nodeName"/>
</Condition>
</TreeNodesModel>

</root>

0 comments on commit 610ec23

Please sign in to comment.