Skip to content

Commit

Permalink
Developed a simple and fast approach, with 3 consecutive goals
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Lampacrescia <[email protected]>
  • Loading branch information
MarcoLm993 committed Dec 16, 2024
1 parent 60f1fb4 commit afc8035
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 313 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<BehaviorTree ID="simple_robot_blackboard">
<Fallback name="control_loop">
<!-- Store goal and robot pose in 4 blackboard variables -->
<Action ID="UpdateGoalAndCurrentPosition" goal_x="{goal_x}" goal_y="{goal_y}" curr_x="{curr_x}" curr_y="{curr_y}" grid_size="100" />
<Action ID="UpdateGoalAndCurrentPosition" goal_x="{goal_x}" goal_y="{goal_y}" curr_x="{curr_x}" curr_y="{curr_y}" grid_size="10" />
<!--
Movement enum in the world.
0: right,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 deletions test/jani_generator/test_systemtest_scxml_to_jani.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,12 @@ def test_grid_robot_blackboard(self):
success=True,
)

def test_grid_robot_blackboard_simpler(self):
def test_grid_robot_blackboard_simple(self):
"""Test the simpler grid_robot_blackboard model (BT + Blackboard)."""
self._test_with_main(
"grid_robot_blackboard_simpler",
"grid_robot_blackboard_simple",
model_xml="main.xml",
property_name="at_goal",
property_name="tree_success",
success=True,
size_limit=1_000_000,
)
Expand Down

0 comments on commit afc8035

Please sign in to comment.