Skip to content

Planning


Set Autonomous Goals

  • Description: Set the goals to achieve.

  • Args:

    • goals (list[str]): Ordered list of autonomous goals prioritized in descending order of importance.
    • identifiers_to_string_values (dict[str, str]): String objects to add to the PDDL problem.
  • Endpoint: /api/v2/commands/skill/

  • HTTP Method: POST

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "set_autonomous_goals",
        "goals": goals,
        "identifiers_to_string_values": identifiers_to_string_values
      }
    }
    

Set Short Lived Goals

  • Description: Set the goals to achieve.

  • Args:

    • goals (list[str]): Ordered list of autonomous goals sorted by decrease importancy.
    • identifiers_to_string_values (dict[str, str]): String objects to add to the PDDL problem.
  • Endpoint: /api/v2/commands/skill/

  • HTTP Method: POST

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "set_short_lived_goals",
        "goals": goals,
        "identifiers_to_string_values": identifiers_to_string_values
      }
    }
    

Extend In Front Of Short Lived Goals

  • Description: Extend the list of short lived goals to achieve.

  • Args:

    • goals (list[str]): Ordered list of short lived goals, sorted by descending importance, to add at the front of the current list.
    • identifiers_to_string_values (dict[str, str]): String objects to add to the PDDL problem.
  • Endpoint: /api/v2/commands/skill/

  • HTTP Method: POST

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "extend_in_front_of_short_lived_goals",
        "goals": goals,
        "identifiers_to_string_values": identifiers_to_string_values
      }
    }
    

Apply Pddl Effect

  • Description: Apply a PDDL effect string to update the robot's internal world state.

  • Args:

    • pddl_effect (str): A valid PDDL effect statement.
  • Endpoint: /api/v2/commands/skill/

  • HTTP Method: POST

  • Type of Argument: Dict

  • JSON Example:

    {
      "command": "skill",
      "value": {
        "name": "apply_pddl_effect",
        "pddl_effect": pddl_effect
      }
    }