Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new demos, hierarchical problem conversion, and test updates #5

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

igonzf
Copy link

@igonzf igonzf commented Dec 13, 2024

Scope

Addition of new demos, test updates, and hierarchical problem conversion functions for UPF4ROS2.


Description

New demos included in upf4ros2_demo:

  • Demo 1: Creates a problem from the living room to the entrance using a ROS 2 node.
  • Demo 1 (PDDL file): Defines the same problem using a PDDL domain and problem file.
  • Demo 1 (Command Line): Allows the problem to be created via a shell script.
  • Demo 2: Uses a simulated TIAGo robot to create and solve a problem for moving from the living room to the entrance.
  • Demo 3: Uses a simulated TIAGo robot to create and solve a problem for checking a list of waypoints starting in the living room, including replanning when waypoints are unreachable.

New features and fixes:

  • Created functions for hierarchical problem conversion:

    • _convert_decomposition: Processes the decomposition of tasks in hierarchical problems.
    • _convert_schedule: Transforms solutions by extracting all activities, assigning decision variables, and managing parameters, start times, and end times of activities in hierarchical problems.
    • _convert_problem: Adapts hierarchical problems to upf_msgs problem.
    • _convert_hierarchical_plan: Converts hierarchical plans into a upf_msgs plan for execution.
  • Variable name fixes:

    • Updated map_features variable names to align with recent changes in Unified Planning.
  • Tests:

    • Fixed issues in test_upf4ros2 and tests for HierarchicalProblem.

Pipeline


Status

  • All tests passed successfully.

@fmrico
Copy link
Contributor

fmrico commented Dec 16, 2024

@igonzf , échale un ojo al CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants